SAP JITOUT08_GET_COMPONENT_GROUPS Function Module for NOTRANSL: Abrufe für BAPI lesen (Vorbereitung für Aktion)
JITOUT08_GET_COMPONENT_GROUPS is a standard jitout08 get component groups 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: Abrufe für BAPI lesen (Vorbereitung für Aktion) 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 jitout08 get component groups FM, simply by entering the name JITOUT08_GET_COMPONENT_GROUPS into the relevant SAP transaction such as SE37 or SE38.
Function Group: JITOUT08
Program Name: SAPLJITOUT08
Main Program: SAPLJITOUT08
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function JITOUT08_GET_COMPONENT_GROUPS 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 'JITOUT08_GET_COMPONENT_GROUPS'"NOTRANSL: Abrufe für BAPI lesen (Vorbereitung für Aktion).
EXPORTING
* ACTION_IV = "Action
* STATUS_RANGE_IT = "Range Table for Internal Processing Status
IMPORTING
JITODIAHD_ET = "Table Type for JITODIAHD
JITODIAIT_ET = "Table Type for JITODIAIT
JITODIACO_ET = "Table Type for JITODIACO
JITOAD_ET = "Additional Data for JIT Outbound
EXCEPTIONS
ERROR = 1 NOTHING_FOUND = 2 PARAMETER_ERROR = 3
IMPORTING Parameters details for JITOUT08_GET_COMPONENT_GROUPS
ACTION_IV - Action
Data type: JIT_AKTIONOptional: Yes
Call by Reference: Yes
STATUS_RANGE_IT - Range Table for Internal Processing Status
Data type: JIT_INTST_RANGE_TTOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for JITOUT08_GET_COMPONENT_GROUPS
JITODIAHD_ET - Table Type for JITODIAHD
Data type: JITODIAHD_TTOptional: No
Call by Reference: Yes
JITODIAIT_ET - Table Type for JITODIAIT
Data type: JITODIAIT_TTOptional: No
Call by Reference: Yes
JITODIACO_ET - Table Type for JITODIACO
Data type: JITODIACO_TTOptional: No
Call by Reference: Yes
JITOAD_ET - Additional Data for JIT Outbound
Data type: JITOAD_TTOptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOTHING_FOUND -
Data type:Optional: No
Call by Reference: Yes
PARAMETER_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for JITOUT08_GET_COMPONENT_GROUPS 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_error | TYPE STRING, " | |||
| lv_action_iv | TYPE JIT_AKTION, " | |||
| lv_jitodiahd_et | TYPE JITODIAHD_TT, " | |||
| lv_jitodiait_et | TYPE JITODIAIT_TT, " | |||
| lv_nothing_found | TYPE JITODIAIT_TT, " | |||
| lv_status_range_it | TYPE JIT_INTST_RANGE_TT, " | |||
| lv_jitodiaco_et | TYPE JITODIACO_TT, " | |||
| lv_parameter_error | TYPE JITODIACO_TT, " | |||
| lv_jitoad_et | TYPE JITOAD_TT. " |
|   CALL FUNCTION 'JITOUT08_GET_COMPONENT_GROUPS' "NOTRANSL: Abrufe für BAPI lesen (Vorbereitung für Aktion) |
| EXPORTING | ||
| ACTION_IV | = lv_action_iv | |
| STATUS_RANGE_IT | = lv_status_range_it | |
| IMPORTING | ||
| JITODIAHD_ET | = lv_jitodiahd_et | |
| JITODIAIT_ET | = lv_jitodiait_et | |
| JITODIACO_ET | = lv_jitodiaco_et | |
| JITOAD_ET | = lv_jitoad_et | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| NOTHING_FOUND = 2 | ||
| PARAMETER_ERROR = 3 | ||
| . " JITOUT08_GET_COMPONENT_GROUPS | ||
ABAP code using 7.40 inline data declarations to call FM JITOUT08_GET_COMPONENT_GROUPS
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