GET_SINGLE_VALUE SAP Method Call BAdI for One Trigger
Below is documentation, parameters and attributes of ABAP Method GET_SINGLE_VALUE within SAP class /SCMB/IF_EX_TG_LOCATION. 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 /SCMB/IF_EX_TG_LOCATION 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 GET_SINGLE_VALUE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_SINGLE_VALUE
.| Name | Type | Data Type | Description | Default Value |
| IS_TG_ATR | Importing | TYPE /SCMB/TG_BADI_TG_ATR_STR | Trigger Attributes | |
| IV_ENTITY | Importing | TYPE /SCMB/TG_ENTITY | Service | |
| IV_LOCID | Importing | TYPE /SCMB/MDL_LOCID | Location | |
| IV_TG_ID | Importing | TYPE /SCMB/TG_ID | Trigger | |
| IV_VRSIOID | Importing | TYPE /SCMB/MDL_VRSIOID | Planning Version | |
| ES_ADMIN | Exporting | TYPE /SCMB/TG_ADMIN_STR | Administrative Data | |
| EV_TG_VALUE | Exporting | TYPE /SCMB/TG_VALUE | Trigger Value |
Exceptions of Method GET_SINGLE_VALUE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/IF_EX_TG_LOCATION.
DATA: lv_ES_ADMIN TYPE /SCMB/TG_ADMIN_STR,
lv_EV_TG_VALUE TYPE /SCMB/TG_VALUE,
lv_IS_TG_ATR TYPE /SCMB/TG_BADI_TG_ATR_STR,
lv_IV_ENTITY TYPE /SCMB/TG_ENTITY,
lv_IV_LOCID TYPE /SCMB/MDL_LOCID,
lv_IV_TG_ID TYPE /SCMB/TG_ID,
lv_IV_VRSIOID TYPE /SCMB/MDL_VRSIOID,
lv_other TYPE c.
CALL METHOD lo_class=>GET_SINGLE_VALUE(
EXPORTING
IS_TG_ATR = lv_IS_TG_ATR
IV_ENTITY = lv_IV_ENTITY
IV_LOCID = lv_IV_LOCID
IV_TG_ID = lv_IV_TG_ID
IV_VRSIOID = lv_IV_VRSIOID
IMPORTING
ES_ADMIN = lv_ES_ADMIN
EV_TG_VALUE = lv_EV_TG_VALUE ).
Links to Related Class(s)
/SCMB/IF...Full list of available SAP object classes
Search for further information about these or an SAP related objects