GET_POBJ_BY_SCENARIO SAP Method Get POBJ GUID using Scenario GUID
Below is documentation, parameters and attributes of ABAP Method GET_POBJ_BY_SCENARIO within SAP class IF_HRASR00_POBJ_FACTORY. 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 IF_HRASR00_POBJ_FACTORY into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method GET_POBJ_BY_SCENARIO can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_POBJ_BY_SCENARIO
.| Name | Type | Data Type | Description | Default Value |
| MESSAGE_HANDLER | Importing | TYPE REF TO IF_HRBAS_MESSAGE_HANDLER | HR-PD Infotypes: Messages | |
| SCENARIO_GUID | Importing | TYPE SCMG_CASE_GUID | Technical Case Key (Case GUID) | |
| IS_OK | Exporting | TYPE BOOLE_D | Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ') | |
| POBJ_GUID | Exporting | TYPE SCMG_CASE_GUID | Technical Case Key (Case GUID) |
Exceptions of Method GET_POBJ_BY_SCENARIO
This method does not have any exceptionsExample ABAP coding
DATA: lv_IS_OK TYPE BOOLE_D,
lv_MESSAGE_HANDLER TYPE IF_HRBAS_MESSAGE_HANDLER,
lv_POBJ_GUID TYPE SCMG_CASE_GUID,
lv_SCENARIO_GUID TYPE SCMG_CASE_GUID,
lv_other TYPE c.
CALL METHOD IF_HRASR00_POBJ_FACTORY=>GET_POBJ_BY_SCENARIO(
EXPORTING
MESSAGE_HANDLER = lv_MESSAGE_HANDLER
SCENARIO_GUID = lv_SCENARIO_GUID
IMPORTING
IS_OK = lv_IS_OK
POBJ_GUID = lv_POBJ_GUID ).
Links to Related Class(s)
IF_HRASR...Full list of available SAP object classes
Search for further information about these or an SAP related objects