SAP KOMKBJ1_FILL Function Module for









KOMKBJ1_FILL is a standard komkbj1 fill SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 komkbj1 fill FM, simply by entering the name KOMKBJ1_FILL into the relevant SAP transaction such as SE37 or SE38.

Function Group: JYNA
Program Name: SAPLJYNA
Main Program: SAPLJYNA
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function KOMKBJ1_FILL 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 'KOMKBJ1_FILL'"
EXPORTING
COM_JFRK = "
COM_TRTYP = "
* COM_SPART = "

IMPORTING
COM_KBJ1 = "

TABLES
* COM_PART = "
COM_JFPA = "
COM_JFRP = "
.




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_SAPLJYNA_001 Enhance Communication and Partner Data (Appl.J0, Header)
EXIT_SAPLJYNA_002 Enhance Communication and Partner Data (Appl.J0, Item)
EXIT_SAPLJYNA_010 Enhance Communication and Partner Data (Appl.J1)
EXIT_SAPLJYNA_020 Enhance Communication and Partner Data (Appl.J2)
EXIT_SAPLJYNA_030 Enhance Communication and Partner Data (Appl.J3)
EXIT_SAPLJYNA_031 Add Communication and Partner Data (Application J3, Shipping Order)
EXIT_SAPLJYNA_040 Enhance Communication and Partner Data (Appl.J4)
EXIT_SAPLJYNA_050 Enhance Communication and Partner Data (Appl.J5)
EXIT_SAPLJYNA_060 Enhance Communication and Partner Data (Appl.J6)
EXIT_SAPLJYNA_070 Enhance Communication and Partner Data (Appl.J7)
EXIT_SAPLJYNA_080 Enhance Communication and Partner Data (Appl.J8)
EXIT_SAPLJYNA_090 Enhance Communication and Partner Data (Appl.J9)
EXIT_SAPLJYNA_101 Enter Data in Output Control Sort Fields (Appl.J0, Header)
EXIT_SAPLJYNA_102 Enter Data in Output Control Sort Fields (Appl.J0, Item)
EXIT_SAPLJYNA_110 Enter Data in Output Control Sort Fields (Appl.J1)
EXIT_SAPLJYNA_120 Enter Data in Output Control Sort Fields (Appl.J2)
EXIT_SAPLJYNA_130 Enter Data in Output Control Sort Fields (Appl.J3)
EXIT_SAPLJYNA_140 Enter Data in Output Control Sort Fields (Appl.J4)
EXIT_SAPLJYNA_150 Enter Data in Output Control Sort Fields (Appl.J5)
EXIT_SAPLJYNA_160 Enter Data in Output Control Sort Fields (Appl.J6)
EXIT_SAPLJYNA_170 Enter Data in Output Control Sort Fields (Appl.J7)
EXIT_SAPLJYNA_180 Enter Data in Output Control Sort Fields (Appl.J8)
EXIT_SAPLJYNA_190 Enter Data in Output Control Sort Fields (Appl.J9)

IMPORTING Parameters details for KOMKBJ1_FILL

COM_JFRK -

Data type: JFRK
Optional: No
Call by Reference: No ( called with pass by value option)

COM_TRTYP -

Data type: TJ180-TRTYP
Optional: No
Call by Reference: No ( called with pass by value option)

COM_SPART -

Data type: JFRK-SPART
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for KOMKBJ1_FILL

COM_KBJ1 -

Data type: KOMKBJ1
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for KOMKBJ1_FILL

COM_PART -

Data type: MSGPA
Optional: Yes
Call by Reference: No ( called with pass by value option)

COM_JFPA -

Data type: JFPAVB
Optional: No
Call by Reference: No ( called with pass by value option)

COM_JFRP -

Data type: JFRPVB
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for KOMKBJ1_FILL 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_com_jfrk  TYPE JFRK, "   
lv_com_kbj1  TYPE KOMKBJ1, "   
lt_com_part  TYPE STANDARD TABLE OF MSGPA, "   
lt_com_jfpa  TYPE STANDARD TABLE OF JFPAVB, "   
lv_com_trtyp  TYPE TJ180-TRTYP, "   
lt_com_jfrp  TYPE STANDARD TABLE OF JFRPVB, "   
lv_com_spart  TYPE JFRK-SPART. "   

  CALL FUNCTION 'KOMKBJ1_FILL'  "
    EXPORTING
         COM_JFRK = lv_com_jfrk
         COM_TRTYP = lv_com_trtyp
         COM_SPART = lv_com_spart
    IMPORTING
         COM_KBJ1 = lv_com_kbj1
    TABLES
         COM_PART = lt_com_part
         COM_JFPA = lt_com_jfpa
         COM_JFRP = lt_com_jfrp
. " KOMKBJ1_FILL




ABAP code using 7.40 inline data declarations to call FM KOMKBJ1_FILL

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 TRTYP FROM TJ180 INTO @DATA(ld_com_trtyp).
 
 
"SELECT single SPART FROM JFRK INTO @DATA(ld_com_spart).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!