SAP JITOUT09_CLEAN_MSEG Function Module for NOTRANSL: Functions for Summarized JIT Call
JITOUT09_CLEAN_MSEG is a standard jitout09 clean mseg SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Functions for Summarized JIT Call 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 jitout09 clean mseg FM, simply by entering the name JITOUT09_CLEAN_MSEG into the relevant SAP transaction such as SE37 or SE38.
Function Group: JITOUT09
Program Name: SAPLJITOUT09
Main Program: SAPLJITOUT04
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function JITOUT09_CLEAN_MSEG 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 'JITOUT09_CLEAN_MSEG'"NOTRANSL: Functions for Summarized JIT Call.
EXPORTING
EMKPF_LS = "MMIM: Output Structure For General FM To Post Goods Movement
TABLES
IMSEG_LT = "MMIM: Input Structure for General FM to Post Goods Movement
EMSEG_LT = "MMIM: Output Structure For General FM To Post Goods Movement
JITODIAIT_CT = "Table Type for JITODIAIT
JITODIACO_CT = "Table Type for JITODIACO
IMPORTING Parameters details for JITOUT09_CLEAN_MSEG
EMKPF_LS - MMIM: Output Structure For General FM To Post Goods Movement
Data type: EMKPFOptional: No
Call by Reference: Yes
TABLES Parameters details for JITOUT09_CLEAN_MSEG
IMSEG_LT - MMIM: Input Structure for General FM to Post Goods Movement
Data type: IMSEGOptional: No
Call by Reference: Yes
EMSEG_LT - MMIM: Output Structure For General FM To Post Goods Movement
Data type: EMSEGOptional: No
Call by Reference: Yes
JITODIAIT_CT - Table Type for JITODIAIT
Data type: JITODIAIT_TTOptional: No
Call by Reference: Yes
JITODIACO_CT - Table Type for JITODIACO
Data type: JITODIACO_TTOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for JITOUT09_CLEAN_MSEG 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_emkpf_ls | TYPE EMKPF, " | |||
| lt_imseg_lt | TYPE STANDARD TABLE OF IMSEG, " | |||
| lt_emseg_lt | TYPE STANDARD TABLE OF EMSEG, " | |||
| lt_jitodiait_ct | TYPE STANDARD TABLE OF JITODIAIT_TT, " | |||
| lt_jitodiaco_ct | TYPE STANDARD TABLE OF JITODIACO_TT. " |
|   CALL FUNCTION 'JITOUT09_CLEAN_MSEG' "NOTRANSL: Functions for Summarized JIT Call |
| EXPORTING | ||
| EMKPF_LS | = lv_emkpf_ls | |
| TABLES | ||
| IMSEG_LT | = lt_imseg_lt | |
| EMSEG_LT | = lt_emseg_lt | |
| JITODIAIT_CT | = lt_jitodiait_ct | |
| JITODIACO_CT | = lt_jitodiaco_ct | |
| . " JITOUT09_CLEAN_MSEG | ||
ABAP code using 7.40 inline data declarations to call FM JITOUT09_CLEAN_MSEG
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