INIT SAP Method Constructor: Initialize Graphic Proxy









Below is documentation, parameters and attributes of ABAP Method INIT within SAP class IF_GRAPHIC_PROXY. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_GRAPHIC_PROXY into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method INIT can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method INIT

.

NameTypeData TypeDescriptionDefault Value
DCImportingTYPE REF TO
IF_DC_SUBSCRIPTION
Reference to data container
EVTCODE_LISTImportingTYPE
CNTL_SIMPLE_EVENTS
See SET_EVENT_LIST
FILTER_LISTImportingTYPE
GFW_FILTER_LIST
See SET_FILTER_LIST
FORCE_PRODImportingTYPE
GFW_BOOLEAN
Yes: Force specified product
HEIGHTImportingTYPE
I
Height of the graphic (dynpro metric)
LEFTImportingTYPE
I
Gap between graphic and left edge of dynpro (dynpro metric)
PARENTImportingTYPE REF TO
CL_GUI_CONTAINER
Container object where the graphic is placed
PROD_IDImportingTYPE
TGPN-PRODUKT
ID of graphic product used
PROD_PRIOImportingTYPE
TGPN-PRIO
Priority of product used
TOPImportingTYPE
I
Gap between graphic and upper edge of dynpro (dynpro metric)
WIDTHImportingTYPE
I
Width of the graphic (dynpro metric)
RETVALExportingTYPE
SYMSGNO
CL_GFW -> OK: Successful



Exceptions of Method INIT

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_GRAPHIC_PROXY.
DATA: lv_DC TYPE IF_DC_SUBSCRIPTION,
lv_EVTCODE_LIST TYPE CNTL_SIMPLE_EVENTS,
lv_FILTER_LIST TYPE GFW_FILTER_LIST,
lv_FORCE_PROD TYPE GFW_BOOLEAN,
lv_HEIGHT TYPE I,
lv_LEFT TYPE I,
lv_PARENT TYPE CL_GUI_CONTAINER,
lv_PROD_ID TYPE TGPN-PRODUKT,
lv_PROD_PRIO TYPE TGPN-PRIO,
lv_RETVAL TYPE SYMSGNO,
lv_TOP TYPE I,
lv_WIDTH TYPE I,
lv_other TYPE c.

CALL METHOD lo_class=>INIT(
EXPORTING
DC = lv_DC
EVTCODE_LIST = lv_EVTCODE_LIST
FILTER_LIST = lv_FILTER_LIST
FORCE_PROD = lv_FORCE_PROD
HEIGHT = lv_HEIGHT
LEFT = lv_LEFT
PARENT = lv_PARENT
PROD_ID = lv_PROD_ID
PROD_PRIO = lv_PROD_PRIO
TOP = lv_TOP
WIDTH = lv_WIDTH
IMPORTING
RETVAL = lv_RETVAL ).

Links to Related Class(s)

IF_GRAPH...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!