SAP EXIT_SAPLOIGT_230 Function Module for Customer exit in the beginning of compartment meter idoc
EXIT_SAPLOIGT_230 is a standard exit saploigt 230 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 in the beginning of compartment meter idoc 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 saploigt 230 FM, simply by entering the name EXIT_SAPLOIGT_230 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XOIG
Program Name: SAPLXOIG
Main Program: SAPLXOIG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLOIGT_230 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_SAPLOIGT_230'"Customer exit in the beginning of compartment meter idoc.
CHANGING
PI_IDOC_CONTROL = "
PI_IDOC_CM = "
* DEFAULTFILLER = "
* PI_CHANGE_IND = "
TABLES
PI_COMM_CONTROL = "
PI_IDOC_DATA = "
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.MASTERIDOC_CREATE_DEL_OILSH1 Send a deletion Idoc for TD shipments
OIG_TT_EMPTYIDOC_DRIVER Creates an empty driver IDoc
OIG_TT_EMPTYIDOC_RACKMET Creates an empty IDOC only with rack meter number (necessary for deleting)
OIG_TT_EMPTYIDOC_VEHICLE Creates an empty vehicle IDoc
OIG_TT_IDOCDATA_COMPMET_FILL Fills Data concerning compartment meter into the Idoc table
OIG_TT_IDOCDATA_DRIVER_FILL Fills Data concerning driver into the Idoc table
OIG_TT_IDOCDATA_RACKMET_FILL Fills Data Concerning Rack Meter into Idoc table
OIG_TT_IDOCDATA_SHIPMENT_FILL Fills Data concerning shipment into Idoc Table
OIG_TT_IDOCDATA_TR_UNIT_FILL Fills Data concerning transport units into the Idoc table
OIG_TT_IDOCDATA_VEHICLE_FILL Fills Data concerning vehicles into the Idoc table
OIG_TT_TD_IDOC_CREATE Creates IDOCs from TD needed for TAS and TPI
CHANGING Parameters details for EXIT_SAPLOIGT_230
PI_IDOC_CONTROL -
Data type: EDIDCOptional: No
Call by Reference: No ( called with pass by value option)
PI_IDOC_CM -
Data type: OIGCMOptional: No
Call by Reference: No ( called with pass by value option)
DEFAULTFILLER -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
PI_CHANGE_IND -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLOIGT_230
PI_COMM_CONTROL -
Data type: EDIDCOptional: No
Call by Reference: No ( called with pass by value option)
PI_IDOC_DATA -
Data type: EDIDDOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLOIGT_230 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: | ||||
| lt_pi_comm_control | TYPE STANDARD TABLE OF EDIDC, " | |||
| lv_pi_idoc_control | TYPE EDIDC, " | |||
| lv_pi_idoc_cm | TYPE OIGCM, " | |||
| lt_pi_idoc_data | TYPE STANDARD TABLE OF EDIDD, " | |||
| lv_defaultfiller | TYPE EDIDD, " | |||
| lv_pi_change_ind | TYPE EDIDD. " |
|   CALL FUNCTION 'EXIT_SAPLOIGT_230' "Customer exit in the beginning of compartment meter idoc |
| CHANGING | ||
| PI_IDOC_CONTROL | = lv_pi_idoc_control | |
| PI_IDOC_CM | = lv_pi_idoc_cm | |
| DEFAULTFILLER | = lv_defaultfiller | |
| PI_CHANGE_IND | = lv_pi_change_ind | |
| TABLES | ||
| PI_COMM_CONTROL | = lt_pi_comm_control | |
| PI_IDOC_DATA | = lt_pi_idoc_data | |
| . " EXIT_SAPLOIGT_230 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLOIGT_230
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.Search for further information about these or an SAP related objects