GET_INSTANCE SAP Method Get/Create Instance
Below is documentation, parameters and attributes of ABAP Method GET_INSTANCE within SAP class /BOFU/CL_PPF_SERV_FOR_BO. 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_PPF_SERV_FOR_BO 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_INSTANCE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_INSTANCE
.| Name | Type | Data Type | Description | Default Value |
| IO_MESSAGE | Importing | TYPE REF TO /BOBF/IF_FRW_MESSAGE | Interface of Message Object | |
| IS_PPF_CONF | Importing | TYPE /BOFU/S_PPF_CONF | BO Node specific settings for PPF usage | |
| IS_PPF_ACT | Importing | TYPE /BOFU/S_PPF_ACT | Action Settings: Supplementary data 4 PPF Action def | |
| RO_INSTANCE | Returning | TYPE REF TO /BOFU/IF_PPF_SERV_FOR_BO | PPF Agent Services for BO Nodes (Refer Documentation) |
Exceptions of Method GET_INSTANCE
This method does not have any exceptionsExample ABAP coding
DATA: lv_IO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_IS_PPF_CONF TYPE /BOFU/S_PPF_CONF,
lv_RO_INSTANCE TYPE /BOFU/IF_PPF_SERV_FOR_BO,
lv_IS_PPF_ACT TYPE /BOFU/S_PPF_ACT,
lv_other TYPE c.
CALL METHOD /BOFU/CL_PPF_SERV_FOR_BO=>GET_INSTANCE(
EXPORTING
IO_MESSAGE = lv_IO_MESSAGE
IS_PPF_CONF = lv_IS_PPF_CONF
IS_PPF_ACT = lv_IS_PPF_ACT
RECEIVING
RO_INSTANCE = lv_RO_INSTANCE )
"Alternate coding for Method Call with returning parameter
lv_RO_INSTANCE = /BOFU/CL_PPF_SERV_FOR_BO=>GET_INSTANCE(
EXPORTING
IO_MESSAGE = lv_IO_MESSAGE
IS_PPF_CONF = lv_IS_PPF_CONF
IS_PPF_ACT = lv_IS_PPF_ACT ).
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