BEFORE_CREATE SAP Method Before Create









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

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


Parameters of Method BEFORE_CREATE

.

NameTypeData TypeDescriptionDefault Value
IO_CONFImportingTYPE REF TO
/BOBF/IF_FRW_CONFIGURATION
Interface for Configuration
IO_MODIFYImportingTYPE REF TO
/BOBF/IF_FRW_MODIFY
Interface to Change Data
IO_READImportingTYPE REF TO
/BOBF/IF_FRW_READ
Interface to Reading Data
IS_ASSOCImportingTYPE
/BOBF/S_CONFRO_ASSOC
Configuration: Association
IS_CTXImportingTYPE
/BOBF/S_FRW_CTX_ASSOC
Context Information for Associations
CO_MESSAGEChangingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface for Message Class
CS_MODIFICATIONChangingTYPE
/BOBF/S_FRW_MODIFICATION
Change



Exceptions of Method BEFORE_CREATE

/BOBF/CX_FRW - BOPF Exception Class

Example ABAP coding


DATA: lo_class TYPE REF TO /BOBF/CL_C_BOPF_2_BOPF_SIMPLE.
DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_CS_MODIFICATION TYPE /BOBF/S_FRW_MODIFICATION,
lv_IO_CONF TYPE /BOBF/IF_FRW_CONFIGURATION,
lv_IO_MODIFY TYPE /BOBF/IF_FRW_MODIFY,
lv_IO_READ TYPE /BOBF/IF_FRW_READ,
lv_IS_ASSOC TYPE /BOBF/S_CONFRO_ASSOC,
lv_IS_CTX TYPE /BOBF/S_FRW_CTX_ASSOC,
lv_other TYPE c.

CALL METHOD lo_class=>BEFORE_CREATE(
EXPORTING
IO_CONF = lv_IO_CONF
IO_MODIFY = lv_IO_MODIFY
IO_READ = lv_IO_READ
IS_ASSOC = lv_IS_ASSOC
IS_CTX = lv_IS_CTX
CHANGING
CO_MESSAGE = lv_CO_MESSAGE
CS_MODIFICATION = lv_CS_MODIFICATION ).

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!