SAP JIT05_SHOW_COMPGROUP Function Module for JIT: Anzeige von Teilegruppen (Aktion: Workflow)
JIT05_SHOW_COMPGROUP is a standard jit05 show compgroup 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: Anzeige von Teilegruppen (Aktion: Workflow) 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 jit05 show compgroup FM, simply by entering the name JIT05_SHOW_COMPGROUP into the relevant SAP transaction such as SE37 or SE38.
Function Group: JIT05
Program Name: SAPLJIT05
Main Program: SAPLJIT05
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function JIT05_SHOW_COMPGROUP 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 'JIT05_SHOW_COMPGROUP'"JIT: Anzeige von Teilegruppen (Aktion: Workflow).
EXPORTING
OBJECT_KEY_IV = "
* TEXT_MAIN_IV = "Information Text
* TEXT_ADD_IV = "Additional Text
TABLES
JITIT_IT = "
IMPORTING Parameters details for JIT05_SHOW_COMPGROUP
OBJECT_KEY_IV -
Data type: JITIT-POSIDOptional: No
Call by Reference: Yes
TEXT_MAIN_IV - Information Text
Data type: CJIT05T-AKTIONTOptional: Yes
Call by Reference: No ( called with pass by value option)
TEXT_ADD_IV - Additional Text
Data type: CJIT05T-AKTIONTOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for JIT05_SHOW_COMPGROUP
JITIT_IT -
Data type: JITITOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for JIT05_SHOW_COMPGROUP 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_jitit_it | TYPE STANDARD TABLE OF JITIT, " | |||
| lv_object_key_iv | TYPE JITIT-POSID, " | |||
| lv_text_main_iv | TYPE CJIT05T-AKTIONT, " | |||
| lv_text_add_iv | TYPE CJIT05T-AKTIONT. " |
|   CALL FUNCTION 'JIT05_SHOW_COMPGROUP' "JIT: Anzeige von Teilegruppen (Aktion: Workflow) |
| EXPORTING | ||
| OBJECT_KEY_IV | = lv_object_key_iv | |
| TEXT_MAIN_IV | = lv_text_main_iv | |
| TEXT_ADD_IV | = lv_text_add_iv | |
| TABLES | ||
| JITIT_IT | = lt_jitit_it | |
| . " JIT05_SHOW_COMPGROUP | ||
ABAP code using 7.40 inline data declarations to call FM JIT05_SHOW_COMPGROUP
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 POSID FROM JITIT INTO @DATA(ld_object_key_iv). | ||||
| "SELECT single AKTIONT FROM CJIT05T INTO @DATA(ld_text_main_iv). | ||||
| "SELECT single AKTIONT FROM CJIT05T INTO @DATA(ld_text_add_iv). | ||||
Search for further information about these or an SAP related objects