CONVERT_KEY_TO_OBJECT_ID SAP Method Convert key to object id
Below is documentation, parameters and attributes of ABAP Method CONVERT_KEY_TO_OBJECT_ID within SAP class /BOFU/CL_ARCH_GENER. 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/CL_ARCH_GENER 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 CONVERT_KEY_TO_OBJECT_ID can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CONVERT_KEY_TO_OBJECT_ID
.| Name | Type | Data Type | Description | Default Value |
| IS_ORIGIN_LOCATION | Importing | TYPE /BOBF/S_FRW_LOCATION | Location | |
| IS_ROOT_DATA | Importing | TYPE REF TO DATA | Root instance data | |
| IV_KEY | Importing | TYPE /BOBF/CONF_KEY | Root instance key | |
| EV_OBJECT_ID | Exporting | TYPE STRING | Root instance ID |
Exceptions of Method CONVERT_KEY_TO_OBJECT_ID
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BOFU/CL_ARCH_GENER.
DATA: lv_EV_OBJECT_ID TYPE STRING,
lv_IS_ORIGIN_LOCATION TYPE /BOBF/S_FRW_LOCATION,
lv_IS_ROOT_DATA TYPE DATA,
lv_IV_KEY TYPE /BOBF/CONF_KEY,
lv_other TYPE c.
CALL METHOD lo_class=>CONVERT_KEY_TO_OBJECT_ID(
EXPORTING
IS_ORIGIN_LOCATION = lv_IS_ORIGIN_LOCATION
IS_ROOT_DATA = lv_IS_ROOT_DATA
IV_KEY = lv_IV_KEY
IMPORTING
EV_OBJECT_ID = lv_EV_OBJECT_ID ).
Links to Related Class(s)
/BOFU/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects