SAP JIT03_FIND_PARTGROUP Function Module for NOTRANSL: JIT : Bestimmen der Teilegruppe (Teilegruppentyp)
JIT03_FIND_PARTGROUP is a standard jit03 find partgroup 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: JIT : Bestimmen der Teilegruppe (Teilegruppentyp) 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 jit03 find partgroup FM, simply by entering the name JIT03_FIND_PARTGROUP into the relevant SAP transaction such as SE37 or SE38.
Function Group: JIT03
Program Name: SAPLJIT03
Main Program: SAPLJIT03
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function JIT03_FIND_PARTGROUP 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 'JIT03_FIND_PARTGROUP'"NOTRANSL: JIT : Bestimmen der Teilegruppe (Teilegruppentyp).
EXPORTING
* CUSTO_IV = "JIT Customer
* VERID_IV = ' ' "
* ABTYP_IV = "Proposal call type
KUNNR_IV = "
KNREF_IV = "
* ABRVW_IV = "Usage Indicator
* ABLAD_IV = ' ' "
* FLDPO_IV = ' ' "
* MATNR_IV = ' ' "
* LIUMF_IV = ' ' "
* SATNR_IV = ' ' "
IMPORTING
JITPG_SB_ES = "
EXCEPTIONS
NO_PART_GROUP_FOUND = 1
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLJIT03_001 JIT: Sorting Header and Item Data
EXIT_SAPLJIT03_002 JIT: Defining Handling Units (Delivery)
EXIT_SAPLJIT03_003 JIT: Printing the Component List using Action Call
EXIT_SAPLJIT03_004 JIT: Print Picking List using Action Call
EXIT_SAPLJIT03_005 JIT: Delivery Scheduling
EXIT_SAPLJIT03_006 JIT: Check-Digit Determination
EXIT_SAPLJIT03_007 JIT: Components Group Material Determination
EXIT_SAPLJIT03_008 JIT: Carry Out Material Movements
EXIT_SAPLJIT03_009 JIT: Modification of Backflush Data
EXIT_SAPLJIT03_011 Exit for Inbound Processing Summarized JIT Call
EXIT_SAPLJIT03_012 JIT: Customer Exit for Replacement Logic Summarized JIT Call Inbound
EXIT_SAPLJIT03_013 SumJC: Set Control Parameters for EXIDV2 in HU
EXIT_SAPLJIT03_014 JIT: Modify Print Data for Transfer to Spool
EXIT_SAPLJIT03_015 JIT: Adjusting Data when Creating Delivery
IMPORTING Parameters details for JIT03_FIND_PARTGROUP
CUSTO_IV - JIT Customer
Data type: JITPG_SB-CUSTOOptional: Yes
Call by Reference: No ( called with pass by value option)
VERID_IV -
Data type: JITPG_SB-VERIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ABTYP_IV - Proposal call type
Data type: JITPG_SB-VATYPOptional: Yes
Call by Reference: No ( called with pass by value option)
KUNNR_IV -
Data type: JITPG_SB-KUNNROptional: No
Call by Reference: No ( called with pass by value option)
KNREF_IV -
Data type: JITPG_SB-KNREFOptional: No
Call by Reference: No ( called with pass by value option)
ABRVW_IV - Usage Indicator
Data type: JITPG_SB-ABRVWOptional: Yes
Call by Reference: No ( called with pass by value option)
ABLAD_IV -
Data type: JITPG_SB-ABLADDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLDPO_IV -
Data type: JITPG_SB-FLDPODefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MATNR_IV -
Data type: JITMA_SB-MATNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
LIUMF_IV -
Data type: JITPG_SB-LIUMFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SATNR_IV -
Data type: JITMA_SB-SATNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for JIT03_FIND_PARTGROUP
JITPG_SB_ES -
Data type: JITPG_SBOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_PART_GROUP_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for JIT03_FIND_PARTGROUP 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_custo_iv | TYPE JITPG_SB-CUSTO, " | |||
| lv_jitpg_sb_es | TYPE JITPG_SB, " | |||
| lv_no_part_group_found | TYPE JITPG_SB, " | |||
| lv_verid_iv | TYPE JITPG_SB-VERID, " SPACE | |||
| lv_abtyp_iv | TYPE JITPG_SB-VATYP, " | |||
| lv_kunnr_iv | TYPE JITPG_SB-KUNNR, " | |||
| lv_knref_iv | TYPE JITPG_SB-KNREF, " | |||
| lv_abrvw_iv | TYPE JITPG_SB-ABRVW, " | |||
| lv_ablad_iv | TYPE JITPG_SB-ABLAD, " SPACE | |||
| lv_fldpo_iv | TYPE JITPG_SB-FLDPO, " SPACE | |||
| lv_matnr_iv | TYPE JITMA_SB-MATNR, " SPACE | |||
| lv_liumf_iv | TYPE JITPG_SB-LIUMF, " SPACE | |||
| lv_satnr_iv | TYPE JITMA_SB-SATNR. " SPACE |
|   CALL FUNCTION 'JIT03_FIND_PARTGROUP' "NOTRANSL: JIT : Bestimmen der Teilegruppe (Teilegruppentyp) |
| EXPORTING | ||
| CUSTO_IV | = lv_custo_iv | |
| VERID_IV | = lv_verid_iv | |
| ABTYP_IV | = lv_abtyp_iv | |
| KUNNR_IV | = lv_kunnr_iv | |
| KNREF_IV | = lv_knref_iv | |
| ABRVW_IV | = lv_abrvw_iv | |
| ABLAD_IV | = lv_ablad_iv | |
| FLDPO_IV | = lv_fldpo_iv | |
| MATNR_IV | = lv_matnr_iv | |
| LIUMF_IV | = lv_liumf_iv | |
| SATNR_IV | = lv_satnr_iv | |
| IMPORTING | ||
| JITPG_SB_ES | = lv_jitpg_sb_es | |
| EXCEPTIONS | ||
| NO_PART_GROUP_FOUND = 1 | ||
| . " JIT03_FIND_PARTGROUP | ||
ABAP code using 7.40 inline data declarations to call FM JIT03_FIND_PARTGROUP
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 CUSTO FROM JITPG_SB INTO @DATA(ld_custo_iv). | ||||
| "SELECT single VERID FROM JITPG_SB INTO @DATA(ld_verid_iv). | ||||
| DATA(ld_verid_iv) | = ' '. | |||
| "SELECT single VATYP FROM JITPG_SB INTO @DATA(ld_abtyp_iv). | ||||
| "SELECT single KUNNR FROM JITPG_SB INTO @DATA(ld_kunnr_iv). | ||||
| "SELECT single KNREF FROM JITPG_SB INTO @DATA(ld_knref_iv). | ||||
| "SELECT single ABRVW FROM JITPG_SB INTO @DATA(ld_abrvw_iv). | ||||
| "SELECT single ABLAD FROM JITPG_SB INTO @DATA(ld_ablad_iv). | ||||
| DATA(ld_ablad_iv) | = ' '. | |||
| "SELECT single FLDPO FROM JITPG_SB INTO @DATA(ld_fldpo_iv). | ||||
| DATA(ld_fldpo_iv) | = ' '. | |||
| "SELECT single MATNR FROM JITMA_SB INTO @DATA(ld_matnr_iv). | ||||
| DATA(ld_matnr_iv) | = ' '. | |||
| "SELECT single LIUMF FROM JITPG_SB INTO @DATA(ld_liumf_iv). | ||||
| DATA(ld_liumf_iv) | = ' '. | |||
| "SELECT single SATNR FROM JITMA_SB INTO @DATA(ld_satnr_iv). | ||||
| DATA(ld_satnr_iv) | = ' '. | |||
Search for further information about these or an SAP related objects