INITIALIZE SAP Method of class /BOFU/IF_FBI_VIEW_INSTANCE_NEW









Below is documentation, parameters and attributes of ABAP Method INITIALIZE within SAP class /BOFU/IF_FBI_VIEW_INSTANCE_NEW. 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 /BOFU/IF_FBI_VIEW_INSTANCE_NEW 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 INITIALIZE can also be found below:

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


Parameters of Method INITIALIZE

.

NameTypeData TypeDescriptionDefault Value
IO_PARENT_VIEW_INSTImportingTYPE REF TO
/BOFU/IF_FBI_VIEW_INSTANCE_NEW
/BOFU/IF_FBI_VIEW_INSTANCE
IO_UI_HELPERImportingTYPE REF TO
/BOFU/IF_FBI_UI_HELPER
FBI Version 2: UI Helper Class
IO_VIEWImportingTYPE REF TO
/BOFU/IF_FBI_VIEW
FBI View
IR_SELF_VIEWImportingTYPE REF TO
/BOFU/IF_FBI_VIEW=>TS_RELATED_VIEW
IV_CONTEXTImportingTYPE
/BOFU/IF_FBI_VIEW_INSTANCE_NEW=>TV_USAGE_CONTEXT
IV_FIELD_SUFFIXImportingTYPE
CLIKE
IV_INHERIT_SRC_PROPERTYImportingTYPE
/BOFU/FBI_INHERIT_SRC_PROPERTY
Inherit the editability of (nearest) non-transient parent
IV_KEEP_FIELDSImportingTYPE
/BOFU/FBI_KEEP_FIELDS
Keeps fields if no record
IV_PARENT_FIELD_SUFFIXImportingTYPE
CLIKE
IV_READ_ONLYImportingTYPE
/BOFU/FBI_READ_ONLY
Read-only
IS_UIBB_KEYImportingTYPE
CL_FPM_EVENT=>TY_S_UIBB_KEY



Exceptions of Method INITIALIZE

/BOFU/CX_FBI - FBI Exception

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/IF_FBI_VIEW_INSTANCE_NEW.
DATA: lv_IO_PARENT_VIEW_INST TYPE /BOFU/IF_FBI_VIEW_INSTANCE_NEW,
lv_IO_UI_HELPER TYPE /BOFU/IF_FBI_UI_HELPER,
lv_IO_VIEW TYPE /BOFU/IF_FBI_VIEW,
lv_IR_SELF_VIEW TYPE /BOFU/IF_FBI_VIEW=>TS_RELATED_VIEW,
lv_IV_CONTEXT TYPE /BOFU/IF_FBI_VIEW_INSTANCE_NEW=>TV_USAGE_CONTEXT,
lv_IV_FIELD_SUFFIX TYPE CLIKE,
lv_IV_INHERIT_SRC_PROPERTY TYPE /BOFU/FBI_INHERIT_SRC_PROPERTY,
lv_IV_KEEP_FIELDS TYPE /BOFU/FBI_KEEP_FIELDS,
lv_IV_PARENT_FIELD_SUFFIX TYPE CLIKE,
lv_IV_READ_ONLY TYPE /BOFU/FBI_READ_ONLY,
lv_IS_UIBB_KEY TYPE CL_FPM_EVENT=>TY_S_UIBB_KEY,
lv_other TYPE c.

CALL METHOD lo_class=>INITIALIZE(
EXPORTING
IO_PARENT_VIEW_INST = lv_IO_PARENT_VIEW_INST
IO_UI_HELPER = lv_IO_UI_HELPER
IO_VIEW = lv_IO_VIEW
IR_SELF_VIEW = lv_IR_SELF_VIEW
IV_CONTEXT = lv_IV_CONTEXT
IV_FIELD_SUFFIX = lv_IV_FIELD_SUFFIX
IV_INHERIT_SRC_PROPERTY = lv_IV_INHERIT_SRC_PROPERTY
IV_KEEP_FIELDS = lv_IV_KEEP_FIELDS
IV_PARENT_FIELD_SUFFIX = lv_IV_PARENT_FIELD_SUFFIX
IV_READ_ONLY = lv_IV_READ_ONLY
IS_UIBB_KEY = lv_IS_UIBB_KEY ).

Links to Related Class(s)

/BOFU/IF...
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!