ON_CREATE_LOC_EXECUTE SAP Method Callback when Creating a Location
Below is documentation, parameters and attributes of ABAP Method ON_CREATE_LOC_EXECUTE within SAP class /LIME/CL_SRV_MASTER_DATA. 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 /LIME/CL_SRV_MASTER_DATA 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 ON_CREATE_LOC_EXECUTE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ON_CREATE_LOC_EXECUTE
.| Name | Type | Data Type | Description | Default Value |
| I_REFO_LOC | Importing | TYPE REF TO /LIME/IF_LOC | Interface for Location Instances | |
| I_REFO_LOC_PARENT | Importing | TYPE REF TO /LIME/IF_LOC | Interface for Location Instances | |
| I_TOP_LEVEL | Importing | TYPE /LIME/TOP_LEVEL | Location at Highest Hierarchy Level | |
| E_GUID_LOC | Exporting | TYPE /LIME/GUID_LOC | Location GUID |
Exceptions of Method ON_CREATE_LOC_EXECUTE
/LIME/CX_BADI - Exceptions from LIME - BAdI ImplementationExample ABAP coding
DATA: lo_class TYPE REF TO /LIME/CL_SRV_MASTER_DATA.
DATA: lv_E_GUID_LOC TYPE /LIME/GUID_LOC,
lv_I_REFO_LOC TYPE /LIME/IF_LOC,
lv_I_REFO_LOC_PARENT TYPE /LIME/IF_LOC,
lv_I_TOP_LEVEL TYPE /LIME/TOP_LEVEL,
lv_other TYPE c.
CALL METHOD lo_class=>ON_CREATE_LOC_EXECUTE(
EXPORTING
I_REFO_LOC = lv_I_REFO_LOC
I_REFO_LOC_PARENT = lv_I_REFO_LOC_PARENT
I_TOP_LEVEL = lv_I_TOP_LEVEL
IMPORTING
E_GUID_LOC = lv_E_GUID_LOC ).
Links to Related Class(s)
/LIME/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects