SAP EXIT_SAPMOIFA_115 Function Module for SSR data sections: data transfer FROM customer work area
EXIT_SAPMOIFA_115 is a standard exit sapmoifa 115 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for SSR data sections: data transfer FROM customer work area processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for exit sapmoifa 115 FM, simply by entering the name EXIT_SAPMOIFA_115 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XOIF
Program Name: SAPLXOIF
Main Program: SAPLXOIF
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_SAPMOIFA_115 pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'EXIT_SAPMOIFA_115'"SSR data sections: data transfer FROM customer work area.
IMPORTING
E_OIFSPBL = "
E_OIRBPBLB = "
E_DATALOSS = "
E_FCODE = "Screens, function code triggered by PAI
E_ROIFBBP1 = "Business p/func. assignments update structure (IS-Oil MRN)
CHANGING
E_OIREPBL = "SSR/ZK: Arten pro Standort
EXPORTING Parameters details for EXIT_SAPMOIFA_115
E_OIFSPBL -
Data type: OIFSPBLOptional: No
Call by Reference: No ( called with pass by value option)
E_OIRBPBLB -
Data type: OIRBPBLBOptional: No
Call by Reference: No ( called with pass by value option)
E_DATALOSS -
Data type: R185D-DATALOSSOptional: No
Call by Reference: No ( called with pass by value option)
E_FCODE - Screens, function code triggered by PAI
Data type: SY-UCOMMOptional: No
Call by Reference: No ( called with pass by value option)
E_ROIFBBP1 - Business p/func. assignments update structure (IS-Oil MRN)
Data type: ROIFBBP1Optional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for EXIT_SAPMOIFA_115
E_OIREPBL - SSR/ZK: Arten pro Standort
Data type: OIREPBLOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPMOIFA_115 Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.DATA: | ||||
lv_e_oifspbl | TYPE OIFSPBL, " | |||
lv_e_oirepbl | TYPE OIREPBL, " | |||
lv_e_oirbpblb | TYPE OIRBPBLB, " | |||
lv_e_dataloss | TYPE R185D-DATALOSS, " | |||
lv_e_fcode | TYPE SY-UCOMM, " | |||
lv_e_roifbbp1 | TYPE ROIFBBP1. " |
  CALL FUNCTION 'EXIT_SAPMOIFA_115' "SSR data sections: data transfer FROM customer work area |
IMPORTING | ||
E_OIFSPBL | = lv_e_oifspbl | |
E_OIRBPBLB | = lv_e_oirbpblb | |
E_DATALOSS | = lv_e_dataloss | |
E_FCODE | = lv_e_fcode | |
E_ROIFBBP1 | = lv_e_roifbbp1 | |
CHANGING | ||
E_OIREPBL | = lv_e_oirepbl | |
. " EXIT_SAPMOIFA_115 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPMOIFA_115
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8."SELECT single DATALOSS FROM R185D INTO @DATA(ld_e_dataloss). | ||||
"SELECT single UCOMM FROM SY INTO @DATA(ld_e_fcode). | ||||
Search for further information about these or an SAP related objects