CREATE SAP Method Create
Below is documentation, parameters and attributes of ABAP Method CREATE within SAP class /BOBF/IF_FRW_MODIFY. 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/IF_FRW_MODIFY 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
.| Name | Type | Data Type | Description | Default Value |
| IS_DATA | Importing | TYPE REF TO DATA | Data | |
| IT_CHANGED_FIELDS | Importing | TYPE /BOBF/T_FRW_NAME | List of Names (e.g. Fieldnames) | |
| IV_ASSOC_KEY | Importing | TYPE /BOBF/OBM_ASSOC_KEY | Association | |
| IV_KEY | Importing | TYPE /BOBF/CONF_KEY | NodeID | |
| IV_NODE | Importing | TYPE /BOBF/OBM_NODE_KEY | Node to Create | |
| IV_NODE_CAT | Importing | TYPE /BOBF/OBM_NODE_CAT_KEY | Node Type Key | |
| IV_ROOT_KEY | Importing | TYPE /BOBF/CONF_KEY | Root NodeID | |
| IV_SOURCE_KEY | Importing | TYPE /BOBF/CONF_KEY | NodeID of Parent Instance | |
| IV_SOURCE_NODE_KEY | Importing | TYPE /BOBF/OBM_NODE_KEY | Parent Node | |
| EV_KEY | Exporting | TYPE /BOBF/CONF_KEY |
Exceptions of Method CREATE
/BOBF/CONF_KEY
Example ABAP coding
DATA: lo_class TYPE REF TO /BOBF/IF_FRW_MODIFY.
DATA: lv_EV_KEY TYPE /BOBF/CONF_KEY,
lv_IS_DATA TYPE DATA,
lv_IT_CHANGED_FIELDS TYPE /BOBF/T_FRW_NAME,
lv_IV_ASSOC_KEY TYPE /BOBF/OBM_ASSOC_KEY,
lv_IV_KEY TYPE /BOBF/CONF_KEY,
lv_IV_NODE TYPE /BOBF/OBM_NODE_KEY,
lv_IV_NODE_CAT TYPE /BOBF/OBM_NODE_CAT_KEY,
lv_IV_ROOT_KEY TYPE /BOBF/CONF_KEY,
lv_IV_SOURCE_KEY TYPE /BOBF/CONF_KEY,
lv_IV_SOURCE_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_other TYPE c.
CALL METHOD lo_class=>CREATE(
EXPORTING
IS_DATA = lv_IS_DATA
IT_CHANGED_FIELDS = lv_IT_CHANGED_FIELDS
IV_ASSOC_KEY = lv_IV_ASSOC_KEY
IV_KEY = lv_IV_KEY
IV_NODE = lv_IV_NODE
IV_NODE_CAT = lv_IV_NODE_CAT
IV_ROOT_KEY = lv_IV_ROOT_KEY
IV_SOURCE_KEY = lv_IV_SOURCE_KEY
IV_SOURCE_NODE_KEY = lv_IV_SOURCE_NODE_KEY
IMPORTING
EV_KEY = lv_EV_KEY ).
Links to Related Class(s)
/BOBF/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects