INITIALIZE SAP Method of class /BOFU/IF_FBI_VIEW_INSTANCE









Below is documentation, parameters and attributes of ABAP Method INITIALIZE within SAP class /BOFU/IF_FBI_VIEW_INSTANCE. 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 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
/BOFU/IF_FBI_VIEW_INSTANCE
IO_VIEWImportingTYPE REF TO
/BOFU/IF_FBI_VIEW
IR_SELF_VIEWImportingTYPE REF TO
/BOFU/IF_FBI_VIEW=>TS_RELATED_VIEW
IS_SRC_NODEImportingTYPE
/BOFU/S_FBI_SRC_BO_NODE_IDENT
IV_CONTEXTImportingTYPE
/BOFU/IF_FBI_VIEW_INSTANCE=>TV_USAGE_CONTEXT
IV_DEFERRED_CREATEImportingTYPE
/BOFU/FBI_DEFERRED_CREATE
Use deferred create
IV_EDIT_LOCK_MODEImportingTYPE
/BOFU/FBI_EDIT_LOCK_MODE
IV_FIELD_SUFFIXImportingTYPE
CLIKE
IV_KEEP_FIELDSImportingTYPE
/BOFU/FBI_KEEP_FIELDS
Keeps fields if no record
IV_PARENT_FIELD_SUFFIXImportingTYPE
CLIKE
IV_READ_ONLYImportingTYPE
/BOFU/FBI_READ_ONLY
IV_REF_ACTIONImportingTYPE
/BOFU/FBI_REFERENCE_ACTION
Reference Action (Create By Reference UI Scenario)
IV_TOP_LEVELImportingTYPE
/BOFU/FBI_TOP_LEVEL_VIEW



Exceptions of Method INITIALIZE

/BOFU/CX_FBI -

Example ABAP coding


DATA: lo_class TYPE REF TO /BOFU/IF_FBI_VIEW_INSTANCE.
DATA: lv_IO_PARENT_VIEW_INST TYPE /BOFU/IF_FBI_VIEW_INSTANCE,
lv_IO_VIEW TYPE /BOFU/IF_FBI_VIEW,
lv_IR_SELF_VIEW TYPE /BOFU/IF_FBI_VIEW=>TS_RELATED_VIEW,
lv_IS_SRC_NODE TYPE /BOFU/S_FBI_SRC_BO_NODE_IDENT,
lv_IV_CONTEXT TYPE /BOFU/IF_FBI_VIEW_INSTANCE=>TV_USAGE_CONTEXT,
lv_IV_DEFERRED_CREATE TYPE /BOFU/FBI_DEFERRED_CREATE,
lv_IV_EDIT_LOCK_MODE TYPE /BOFU/FBI_EDIT_LOCK_MODE,
lv_IV_FIELD_SUFFIX TYPE CLIKE,
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_IV_REF_ACTION TYPE /BOFU/FBI_REFERENCE_ACTION,
lv_IV_TOP_LEVEL TYPE /BOFU/FBI_TOP_LEVEL_VIEW,
lv_other TYPE c.

CALL METHOD lo_class=>INITIALIZE(
EXPORTING
IO_PARENT_VIEW_INST = lv_IO_PARENT_VIEW_INST
IO_VIEW = lv_IO_VIEW
IR_SELF_VIEW = lv_IR_SELF_VIEW
IS_SRC_NODE = lv_IS_SRC_NODE
IV_CONTEXT = lv_IV_CONTEXT
IV_DEFERRED_CREATE = lv_IV_DEFERRED_CREATE
IV_EDIT_LOCK_MODE = lv_IV_EDIT_LOCK_MODE
IV_FIELD_SUFFIX = lv_IV_FIELD_SUFFIX
IV_KEEP_FIELDS = lv_IV_KEEP_FIELDS
IV_PARENT_FIELD_SUFFIX = lv_IV_PARENT_FIELD_SUFFIX
IV_READ_ONLY = lv_IV_READ_ONLY
IV_REF_ACTION = lv_IV_REF_ACTION
IV_TOP_LEVEL = lv_IV_TOP_LEVEL ).

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!