SAP KOMPBJ0_FILL Function Module for









KOMPBJ0_FILL is a standard kompbj0 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 kompbj0 fill FM, simply by entering the name KOMPBJ0_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 KOMPBJ0_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 'KOMPBJ0_FILL'"
EXPORTING
COM_JKAP = "
COM_RJKVM = "
COM_JKPROM = "
COM_JKKD = "
COM_JKEP = "
COM_JKKUEND = "
COM_RJKAG = "
COM_RJKRG = "
COM_RJKRE = "
COM_RJKWE = "

IMPORTING
COM_PBJ0 = "

TABLES
* COM_PART = "
* COM_JKSADR = "
.




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 KOMPBJ0_FILL

COM_JKAP -

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

COM_RJKVM -

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

COM_JKPROM -

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

COM_JKKD -

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

COM_JKEP -

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

COM_JKKUEND -

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

COM_RJKAG -

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

COM_RJKRG -

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

COM_RJKRE -

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

COM_RJKWE -

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

EXPORTING Parameters details for KOMPBJ0_FILL

COM_PBJ0 -

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

TABLES Parameters details for KOMPBJ0_FILL

COM_PART -

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

COM_JKSADR -

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

Copy and paste ABAP code example for KOMPBJ0_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_jkap  TYPE JKAP, "   
lt_com_part  TYPE STANDARD TABLE OF MSGPA, "   
lv_com_pbj0  TYPE KOMPBJ0, "   
lv_com_rjkvm  TYPE RJKVM, "   
lv_com_jkprom  TYPE JKPROM, "   
lt_com_jksadr  TYPE STANDARD TABLE OF RJK0204, "   
lv_com_jkkd  TYPE JKKD, "   
lv_com_jkep  TYPE JKEP, "   
lv_com_jkkuend  TYPE JKKUEND, "   
lv_com_rjkag  TYPE RJKAG, "   
lv_com_rjkrg  TYPE RJKRG, "   
lv_com_rjkre  TYPE RJKRE, "   
lv_com_rjkwe  TYPE RJKWE. "   

  CALL FUNCTION 'KOMPBJ0_FILL'  "
    EXPORTING
         COM_JKAP = lv_com_jkap
         COM_RJKVM = lv_com_rjkvm
         COM_JKPROM = lv_com_jkprom
         COM_JKKD = lv_com_jkkd
         COM_JKEP = lv_com_jkep
         COM_JKKUEND = lv_com_jkkuend
         COM_RJKAG = lv_com_rjkag
         COM_RJKRG = lv_com_rjkrg
         COM_RJKRE = lv_com_rjkre
         COM_RJKWE = lv_com_rjkwe
    IMPORTING
         COM_PBJ0 = lv_com_pbj0
    TABLES
         COM_PART = lt_com_part
         COM_JKSADR = lt_com_jksadr
. " KOMPBJ0_FILL




ABAP code using 7.40 inline data declarations to call FM KOMPBJ0_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.

 
 
 
 
 
 
 
 
 
 
 
 
 


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!