SAP EXIT_SAPLOIK3_130 Function Module for Customer exit for processing customer segments of IDOC type OILLPD01
EXIT_SAPLOIK3_130 is a standard exit saploik3 130 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Customer exit for processing customer segments of IDOC type OILLPD01 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 saploik3 130 FM, simply by entering the name EXIT_SAPLOIK3_130 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XOIK
Program Name: SAPLXOIK
Main Program: SAPLXOIK
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLOIK3_130 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_SAPLOIK3_130'"Customer exit for processing customer segments of IDOC type OILLPD01.
EXPORTING
I_IDOC_DATA = "
IMPORTING
E_SUBRC = "
E_MSGTY = "
E_MSGID = "
E_MSGNO = "
E_MSGV1 = "
E_MSGV2 = "
E_MSGV3 = "
E_MSGV4 = "
TABLES
T_OIKINVH_TAB = "IS-Oil/TAS Store phys. inventory, header segment
T_OIKWVIH_TAB = "IS-Oil/TAS: Store phys. inventory, header segment
T_OIKINVI_TAB = "IS-Oil/TAS Store phys. inventory, item segment
T_OIKWVII_TAB = "IS-Oil/TAS: Store phys. inventory, item segment
* T_OIKMUOM_TAB = "TAS: Material movement data from depot - additional uom
Related IDocs
Below is a list of IDoc processing function modules and the associated IDocs this Function user exits is relevant for.IDOC_INPUT_OILLDD - SAP IDoc OILLDD01
IDOC_INPUT_OILLPD - SAP IDoc OILLPD01
IDOC_INPUT_OILMDD - SAP IDoc OILMDD01
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.OIK_IDOC_TO_FUNCTION_PASS TAS: RFC - Call IDoc processing (OILLDD)
IMPORTING Parameters details for EXIT_SAPLOIK3_130
I_IDOC_DATA -
Data type: EDIDDOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPLOIK3_130
E_SUBRC -
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
E_MSGTY -
Data type: SY-MSGTYOptional: No
Call by Reference: No ( called with pass by value option)
E_MSGID -
Data type: SY-MSGIDOptional: No
Call by Reference: No ( called with pass by value option)
E_MSGNO -
Data type: SY-MSGNOOptional: No
Call by Reference: No ( called with pass by value option)
E_MSGV1 -
Data type: SY-MSGV1Optional: No
Call by Reference: No ( called with pass by value option)
E_MSGV2 -
Data type: SY-MSGV2Optional: No
Call by Reference: No ( called with pass by value option)
E_MSGV3 -
Data type: SY-MSGV3Optional: No
Call by Reference: No ( called with pass by value option)
E_MSGV4 -
Data type: SY-MSGV4Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLOIK3_130
T_OIKINVH_TAB - IS-Oil/TAS Store phys. inventory, header segment
Data type: ROIKINVHOptional: No
Call by Reference: Yes
T_OIKWVIH_TAB - IS-Oil/TAS: Store phys. inventory, header segment
Data type: ROIKWVIHOptional: No
Call by Reference: Yes
T_OIKINVI_TAB - IS-Oil/TAS Store phys. inventory, item segment
Data type: ROIKINVIOptional: No
Call by Reference: Yes
T_OIKWVII_TAB - IS-Oil/TAS: Store phys. inventory, item segment
Data type: ROIKWVIIOptional: No
Call by Reference: Yes
T_OIKMUOM_TAB - TAS: Material movement data from depot - additional uom
Data type: ROIKMUOMOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLOIK3_130 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_subrc | TYPE SY-SUBRC, " | |||
| lv_i_idoc_data | TYPE EDIDD, " | |||
| lt_t_oikinvh_tab | TYPE STANDARD TABLE OF ROIKINVH, " | |||
| lv_e_msgty | TYPE SY-MSGTY, " | |||
| lt_t_oikwvih_tab | TYPE STANDARD TABLE OF ROIKWVIH, " | |||
| lv_e_msgid | TYPE SY-MSGID, " | |||
| lt_t_oikinvi_tab | TYPE STANDARD TABLE OF ROIKINVI, " | |||
| lv_e_msgno | TYPE SY-MSGNO, " | |||
| lt_t_oikwvii_tab | TYPE STANDARD TABLE OF ROIKWVII, " | |||
| lv_e_msgv1 | TYPE SY-MSGV1, " | |||
| lt_t_oikmuom_tab | TYPE STANDARD TABLE OF ROIKMUOM, " | |||
| lv_e_msgv2 | TYPE SY-MSGV2, " | |||
| lv_e_msgv3 | TYPE SY-MSGV3, " | |||
| lv_e_msgv4 | TYPE SY-MSGV4. " |
|   CALL FUNCTION 'EXIT_SAPLOIK3_130' "Customer exit for processing customer segments of IDOC type OILLPD01 |
| EXPORTING | ||
| I_IDOC_DATA | = lv_i_idoc_data | |
| IMPORTING | ||
| E_SUBRC | = lv_e_subrc | |
| E_MSGTY | = lv_e_msgty | |
| E_MSGID | = lv_e_msgid | |
| E_MSGNO | = lv_e_msgno | |
| E_MSGV1 | = lv_e_msgv1 | |
| E_MSGV2 | = lv_e_msgv2 | |
| E_MSGV3 | = lv_e_msgv3 | |
| E_MSGV4 | = lv_e_msgv4 | |
| TABLES | ||
| T_OIKINVH_TAB | = lt_t_oikinvh_tab | |
| T_OIKWVIH_TAB | = lt_t_oikwvih_tab | |
| T_OIKINVI_TAB | = lt_t_oikinvi_tab | |
| T_OIKWVII_TAB | = lt_t_oikwvii_tab | |
| T_OIKMUOM_TAB | = lt_t_oikmuom_tab | |
| . " EXIT_SAPLOIK3_130 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLOIK3_130
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 SUBRC FROM SY INTO @DATA(ld_e_subrc). | ||||
| "SELECT single MSGTY FROM SY INTO @DATA(ld_e_msgty). | ||||
| "SELECT single MSGID FROM SY INTO @DATA(ld_e_msgid). | ||||
| "SELECT single MSGNO FROM SY INTO @DATA(ld_e_msgno). | ||||
| "SELECT single MSGV1 FROM SY INTO @DATA(ld_e_msgv1). | ||||
| "SELECT single MSGV2 FROM SY INTO @DATA(ld_e_msgv2). | ||||
| "SELECT single MSGV3 FROM SY INTO @DATA(ld_e_msgv3). | ||||
| "SELECT single MSGV4 FROM SY INTO @DATA(ld_e_msgv4). | ||||
See full list of SAP IDocs
See full list of SAP Function Modules
Search for further information about these or an SAP related objects