SAP KOMKBJ9_FILL Function Module for









KOMKBJ9_FILL is a standard komkbj9 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 komkbj9 fill FM, simply by entering the name KOMKBJ9_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 KOMKBJ9_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 'KOMKBJ9_FILL'"
EXPORTING
COM_JKREMIND = "
COM_POSEX = "
COM_VKORG = "
COM_VTWEG = "
COM_SPART = "
COM_KSREMIND = "
COM_REMSTEPTYP = "

IMPORTING
COM_KBJ9 = "

TABLES
* COM_PART = "
COM_JKPA = "
.




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 KOMKBJ9_FILL

COM_JKREMIND -

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

COM_POSEX -

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

COM_VKORG -

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

COM_VTWEG -

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

COM_SPART -

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

COM_KSREMIND -

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

COM_REMSTEPTYP -

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

EXPORTING Parameters details for KOMKBJ9_FILL

COM_KBJ9 -

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

TABLES Parameters details for KOMKBJ9_FILL

COM_PART -

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

COM_JKPA -

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

Copy and paste ABAP code example for KOMKBJ9_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_kbj9  TYPE KOMKBJ9, "   
lt_com_part  TYPE STANDARD TABLE OF MSGPA, "   
lv_com_jkremind  TYPE JKREMIND, "   
lt_com_jkpa  TYPE STANDARD TABLE OF JKPA, "   
lv_com_posex  TYPE JKAP-POSEX, "   
lv_com_vkorg  TYPE JKAK-VKORG, "   
lv_com_vtweg  TYPE JKAK-VTWEG, "   
lv_com_spart  TYPE JKAK-SPART, "   
lv_com_ksremind  TYPE KNVV-KSREMIND, "   
lv_com_remsteptyp  TYPE TJKRRSL-REMSTEPTYP. "   

  CALL FUNCTION 'KOMKBJ9_FILL'  "
    EXPORTING
         COM_JKREMIND = lv_com_jkremind
         COM_POSEX = lv_com_posex
         COM_VKORG = lv_com_vkorg
         COM_VTWEG = lv_com_vtweg
         COM_SPART = lv_com_spart
         COM_KSREMIND = lv_com_ksremind
         COM_REMSTEPTYP = lv_com_remsteptyp
    IMPORTING
         COM_KBJ9 = lv_com_kbj9
    TABLES
         COM_PART = lt_com_part
         COM_JKPA = lt_com_jkpa
. " KOMKBJ9_FILL




ABAP code using 7.40 inline data declarations to call FM KOMKBJ9_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 POSEX FROM JKAP INTO @DATA(ld_com_posex).
 
"SELECT single VKORG FROM JKAK INTO @DATA(ld_com_vkorg).
 
"SELECT single VTWEG FROM JKAK INTO @DATA(ld_com_vtweg).
 
"SELECT single SPART FROM JKAK INTO @DATA(ld_com_spart).
 
"SELECT single KSREMIND FROM KNVV INTO @DATA(ld_com_ksremind).
 
"SELECT single REMSTEPTYP FROM TJKRRSL INTO @DATA(ld_com_remsteptyp).
 


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!