CREATE SAP Method Creates an instance with assoc implementation









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

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /BOBF/CL_FRW 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 CREATE can also be found below:

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


Parameters of Method CREATE

.

NameTypeData TypeDescriptionDefault Value
IO_CHANGEImportingTYPE REF TO
/BOBF/IF_FRW_CHANGE
Interface for Change Class
IT_MODImportingTYPE
/BOBF/T_FRW_MODIFICATION
Changes
IV_ASSOC_KEYImportingTYPE
/BOBF/OBM_ASSOC_KEY
Configuration: Association
IV_STATEImportingTYPE
/BOBF/CONF_STATE
State
IV_WITHIN_LOADINGImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IV_WITHIN_RETRIEVEImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IV_EDIT_MODEImportingTYPE
/BOBF/CONF_EDIT_MODE
Change Mode
EO_MESSAGEExportingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface for Message Class



Exceptions of Method CREATE

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO /BOBF/CL_FRW.
DATA: lv_EO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IO_CHANGE TYPE /BOBF/IF_FRW_CHANGE,
lv_IT_MOD TYPE /BOBF/T_FRW_MODIFICATION,
lv_IV_ASSOC_KEY TYPE /BOBF/OBM_ASSOC_KEY,
lv_IV_STATE TYPE /BOBF/CONF_STATE,
lv_IV_WITHIN_LOADING TYPE BOOLE_D,
lv_IV_WITHIN_RETRIEVE TYPE BOOLE_D,
lv_IV_EDIT_MODE TYPE /BOBF/CONF_EDIT_MODE,
lv_other TYPE c.

CALL METHOD lo_class=>CREATE(
EXPORTING
IO_CHANGE = lv_IO_CHANGE
IT_MOD = lv_IT_MOD
IV_ASSOC_KEY = lv_IV_ASSOC_KEY
IV_STATE = lv_IV_STATE
IV_WITHIN_LOADING = lv_IV_WITHIN_LOADING
IV_WITHIN_RETRIEVE = lv_IV_WITHIN_RETRIEVE
IV_EDIT_MODE = lv_IV_EDIT_MODE
IMPORTING
EO_MESSAGE = lv_EO_MESSAGE ).

Links to Related Class(s)

/BOBF/CL...
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!