SAP KOMKBJF_FILL Function Module for
KOMKBJF_FILL is a standard komkbjf 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 komkbjf fill FM, simply by entering the name KOMKBJF_FILL into the relevant SAP transaction such as SE37 or SE38.
Function Group: JHF3
Program Name: SAPLJHF3
Main Program: SAPLJHF3
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function KOMKBJF_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 'KOMKBJF_FILL'".
EXPORTING
* COM_TRTYP = ' ' "
COM_JHTFK = "
COM_MSG_OLD = "
IMPORTING
COM_KBJF = "
TABLES
COM_PART = "
COM_XJHTFP = "
COM_XJHTFPA = "
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_SAPLJHF3_001 IS-M: User Exit Interface for Output Determination for Bill.Hder (JF App)
EXIT_SAPLJHF3_002 IS-M/AM: Modify Matchcode ID - For Billing Document
EXIT_SAPLJHF3_003 IS-M/AM: Modify Matchcode ID for Collective Processing
IMPORTING Parameters details for KOMKBJF_FILL
COM_TRTYP -
Data type: T180-TRTYPDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
COM_JHTFK -
Data type: JHTFKOptional: No
Call by Reference: No ( called with pass by value option)
COM_MSG_OLD -
Data type: JPAM_XFELD_VAROptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for KOMKBJF_FILL
COM_KBJF -
Data type: KOMKBJFOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for KOMKBJF_FILL
COM_PART -
Data type: MSGPAOptional: No
Call by Reference: No ( called with pass by value option)
COM_XJHTFP -
Data type: RJHFPVBOptional: No
Call by Reference: No ( called with pass by value option)
COM_XJHTFPA -
Data type: RJHFPAVBOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for KOMKBJF_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_kbjf | TYPE KOMKBJF, " | |||
| lt_com_part | TYPE STANDARD TABLE OF MSGPA, " | |||
| lv_com_trtyp | TYPE T180-TRTYP, " ' ' | |||
| lv_com_jhtfk | TYPE JHTFK, " | |||
| lt_com_xjhtfp | TYPE STANDARD TABLE OF RJHFPVB, " | |||
| lv_com_msg_old | TYPE JPAM_XFELD_VAR, " | |||
| lt_com_xjhtfpa | TYPE STANDARD TABLE OF RJHFPAVB. " |
|   CALL FUNCTION 'KOMKBJF_FILL' " |
| EXPORTING | ||
| COM_TRTYP | = lv_com_trtyp | |
| COM_JHTFK | = lv_com_jhtfk | |
| COM_MSG_OLD | = lv_com_msg_old | |
| IMPORTING | ||
| COM_KBJF | = lv_com_kbjf | |
| TABLES | ||
| COM_PART | = lt_com_part | |
| COM_XJHTFP | = lt_com_xjhtfp | |
| COM_XJHTFPA | = lt_com_xjhtfpa | |
| . " KOMKBJF_FILL | ||
ABAP code using 7.40 inline data declarations to call FM KOMKBJF_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 T180 INTO @DATA(ld_com_trtyp). | ||||
| DATA(ld_com_trtyp) | = ' '. | |||
Search for further information about these or an SAP related objects