SAP EXIT_SAPLJIT04_004 Function Module for JIT: Customer-Exit Action PIN - Schedule Grouping Information
EXIT_SAPLJIT04_004 is a standard exit sapljit04 004 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for JIT: Customer-Exit Action PIN - Schedule Grouping Information 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 sapljit04 004 FM, simply by entering the name EXIT_SAPLJIT04_004 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XJIT0
Program Name: SAPLXJIT0
Main Program: SAPLXJIT0
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLJIT04_004 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_SAPLJIT04_004'"JIT: Customer-Exit Action PIN - Schedule Grouping Information.
TABLES
JC_HD_IT = "Import/Export-List: Call Header
* JC_POS_IT = "Import/Export-List: Components Groups/Components
* JC_IT_IT = "Import/Export List: Components Groups (Lean)
EXCEPTIONS
ACTION_STOPPED = 1
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.JIT04_ACTION_APPEND_COMPGROUP Aktion: Hinzufügen eine TG zu Abruf (Dialog/EDI)
JIT04_ACTION_ARCHIVE_JITCALL Archivieren des Abrufs / der Teilegruppen
JIT04_ACTION_BACKFLUSH Aktion: Backflush (Rückmeldung Serienfertigung) mit ausgewählten TG
JIT04_ACTION_BACKFL_DELIVERY Aktion: Backflush und Anlegen Lieferung
JIT04_ACTION_BACKFL_PARALLEL Aktion: Rückmeldung (Warenbewegungen,Backflush, ...) - parallele Ausf.
JIT04_ACTION_CANCEL_GI Cancel goods issue
JIT04_ACTION_CHANGE_COMPGRPS Aktion: Umhängen zweier Teilegruppen ('Lager-PAB')
JIT04_ACTION_CHANGE_JC_JIT2 Aktion: Modifizieren von Abrufen -alles- (Dialog/EDI)
JIT04_ACTION_CREATE_GROUPINFO Aktion: Generierung und Zuweisung Gruppierungsinfo
JIT04_ACTION_CREATE_HU Aktion: Generierung einer Handling Unit aus einer Menge von Teilegruppen
JIT04_ACTION_CREATE_JC_DIA Aktion: Anlegen eines Abrufs (Dialog/EDI)
JIT04_ACTION_DELETE_COMPONENT Aktion: Komponente an JIT-Abruf anfügen
JIT04_ACTION_DELETE_DELIVERY Aktion: Entfernen ausgewählter Teilegruppen aus bestehender Lieferung
JIT04_ACTION_DELETE_HU Aktion: Auspacken und Löschen von Handling Units
JIT04_ACTION_DELETE_PG Aktion: Modifizieren eines Abrufs (Dialog/EDI)
JIT04_ACTION_DELIVERY Aktion: Anlegen Lieferung mit ausgewählten Teilegruppen
JIT04_ACTION_DELIVERY_SERVPROV Aktion: Anlegen Lieferung mit ausgewählten Teilegruppen
JIT04_ACTION_DELIVERY_VL10 Aktion: Anlegen Lieferung mit ausg. Teilegruppen (ohne Sperren, über VL10)
JIT04_ACTION_DO_MATCHING Aktion: Logistischer Mengenabgleichs (Lieferquittierung)
JIT04_ACTION_DO_WORKFLOW Aktion: Ansteuerung des Workflow
JIT04_ACTION_GOODS_ISSUE Aktion: Warenausgang zur Lieferung buchen
JIT04_ACTION_INSERT_COMPONENT Aktion: Komponente an JIT-Abruf anfügen
JIT04_ACTION_INT_BUFFER_IN Anpassung des Berbeitungsstandes nicht möglich
JIT04_ACTION_INT_BUFFER_OUT Aktion: Auslagern eines internen Abrufes aus Produktpuffer
JIT04_ACTION_JITCALL_CANCEL Aktion: Stornieren eines Abrufs
JIT04_ACTION_JITCALL_REORG Aktion: Reorganisation der PAB-Daten (Löschen DB-Tabellen) f. spez. Abrufe
JIT04_ACTION_MODIFY_COMPGRP Aktion: Modifizieren von Abrufen -nur Teilegruppen-
JIT04_ACTION_MODIFY_COMPONENT Aktion: Komponente aus JIT-Abruf verändern
JIT04_ACTION_MODIFY_JC_DIA Aktion: Modifizieren von Abrufen -alles- (Dialog/EDI)
JIT04_ACTION_MODIFY_JC_HEADER Aktion: Modifizieren von Abrufen -Kopf und TG-(Dialog/EDI)
JIT04_ACTION_MODIFY_MDSC Aktion:Komponenten einzeln löschen/einfügen/ändern
JIT04_ACTION_PICKING_LIST Aktion: Ausgabe einer Kommissionierliste
JIT04_ACTION_PRINT_COM Aktion: Ausgabe einer erweiterten Komponentenliste
JIT04_ACTION_PRINT_COM_REPEAT Aktion: Ausgabe erweiterte Komponentenliste, Wiederholung
JIT04_ACTION_PRINT_COM_SCRAP Aktion: Ausgabe erweiterte Komponentenliste, Ausschußprio.
JIT04_ACTION_PRINT_SWAP_LIST Aktion: Ausgabe einer Liste für Teilegruppentausch (Puffer-Abruf)
JIT04_ACTION_PROD_IN Aktion: Übergabe an die Produktion (mit Änderung)
JIT04_ACTION_PROD_IN_NOCHANGE Aktion: Übergabe an die Produktion (ohne Änderung)
JIT04_ACTION_PROD_OUT Aktion: Fertigmeldung aus der Produktion
JIT04_ACTION_REMOVE_DELIVERY Aktion: Entfernen ausgewählter Teilegruppen aus bestehender Lieferung
JIT04_ACTION_UNDO_MATCHING Aktion: Rückgängigmachen des logist. Mengenabgleichs (Lieferquittierung)
JIT04_ACTION_UPDATE_BW Aktion: Aktualisieren des BW-Fortschreibungsstatus
JIT04_ACTION_UPDATE_DELIVERY Aktion: Hinzufügen ausgewählter Teilegruppen zu bestehender Lieferung
JIT04_CHECK_GOCC_FLAG Überprüfung, ob Aktion GOIS durchgeführt wird
JIT04_CHECK_GOIS_FLAG Überprüfung, ob Aktion GOIS durchgeführt wird
JIT04_GET_COMPLETE_DATA Aktionssteuerung: Vervollständigen der Übergabedaten
JIT04_SET_ACTION Ausführen einer Aktion: PAB - Abrufumfang und/oder Teilegruppen
JIT04_SET_ACTION_EXTERN JIT: External Action Control (Without DB-Commit! --> BAPI)
JIT04_SET_ACTION_INTERN Ausführen einer Aktion: PAB - Abrufumfang und/oder Teilegruppen
JIT04_SET_GOCC_FLAG Setzen des Flags zur Aktion GOCC
TABLES Parameters details for EXIT_SAPLJIT04_004
JC_HD_IT - Import/Export-List: Call Header
Data type: JITDIAHDOptional: No
Call by Reference: No ( called with pass by value option)
JC_POS_IT - Import/Export-List: Components Groups/Components
Data type: JITDIAPOOptional: Yes
Call by Reference: No ( called with pass by value option)
JC_IT_IT - Import/Export List: Components Groups (Lean)
Data type: JITITOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ACTION_STOPPED - Activity Canceled
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLJIT04_004 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_jc_hd_it | TYPE STANDARD TABLE OF JITDIAHD, " | |||
| lv_action_stopped | TYPE JITDIAHD, " | |||
| lt_jc_pos_it | TYPE STANDARD TABLE OF JITDIAPO, " | |||
| lt_jc_it_it | TYPE STANDARD TABLE OF JITIT. " |
|   CALL FUNCTION 'EXIT_SAPLJIT04_004' "JIT: Customer-Exit Action PIN - Schedule Grouping Information |
| TABLES | ||
| JC_HD_IT | = lt_jc_hd_it | |
| JC_POS_IT | = lt_jc_pos_it | |
| JC_IT_IT | = lt_jc_it_it | |
| EXCEPTIONS | ||
| ACTION_STOPPED = 1 | ||
| . " EXIT_SAPLJIT04_004 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLJIT04_004
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