SAP FKK_INV_MASS_PRINT Function Module for









FKK_INV_MASS_PRINT is a standard fkk inv mass print 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 fkk inv mass print FM, simply by entering the name FKK_INV_MASS_PRINT into the relevant SAP transaction such as SE37 or SE38.

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



Function FKK_INV_MASS_PRINT 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 'FKK_INV_MASS_PRINT'"
EXPORTING
X_PP = "Print Parameter
* XT_INV_PROCESS = "Ranges Table for Invoicing Process
* XT_WHERE = "Table Type for WHERE Clause
* X_INVOICED = ' ' "
* X_SIMULATED = ' ' "
* X_PRINT_FIRST = SY-DATLO "Earliest Date of Invoicing Printing
* XT_OPBEL = "Ranges Table for Invoicing Doucment Number
* XT_GPART = "Ranges Table for Business Partner
* XT_VKONT = "
* XT_FIKEY = "Ranges Table for Reconciliation Key
* XT_PRINT_RUNID = "Ranges Table for Run ID of Invoicing Printing

IMPORTING
Y_NR_PRTRIG = "
Y_NR_SUCCESS = "
.



IMPORTING Parameters details for FKK_INV_MASS_PRINT

X_PP - Print Parameter

Data type: FKKINV_PP
Optional: No
Call by Reference: Yes

XT_INV_PROCESS - Ranges Table for Invoicing Process

Data type: FKK_RT_INV_PROCESS
Optional: Yes
Call by Reference: Yes

XT_WHERE - Table Type for WHERE Clause

Data type: FKK_MAD_TWHEREL
Optional: Yes
Call by Reference: Yes

X_INVOICED -

Data type: INV_POSTED_KK
Default: SPACE
Optional: Yes
Call by Reference: Yes

X_SIMULATED -

Data type: INV_SIMULATED_KK
Default: SPACE
Optional: Yes
Call by Reference: Yes

X_PRINT_FIRST - Earliest Date of Invoicing Printing

Data type: PRINT_FIRST_KK
Default: SY-DATLO
Optional: Yes
Call by Reference: Yes

XT_OPBEL - Ranges Table for Invoicing Doucment Number

Data type: FKK_RT_INVDOCNO
Optional: Yes
Call by Reference: Yes

XT_GPART - Ranges Table for Business Partner

Data type: FKK_RT_GPART
Optional: Yes
Call by Reference: Yes

XT_VKONT -

Data type: FKK_RT_VKONT
Optional: Yes
Call by Reference: Yes

XT_FIKEY - Ranges Table for Reconciliation Key

Data type: FKK_RT_FIKEY
Optional: Yes
Call by Reference: Yes

XT_PRINT_RUNID - Ranges Table for Run ID of Invoicing Printing

Data type: FKK_RT_PRINT_RUNID
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for FKK_INV_MASS_PRINT

Y_NR_PRTRIG -

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

Y_NR_SUCCESS -

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

Copy and paste ABAP code example for FKK_INV_MASS_PRINT 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_x_pp  TYPE FKKINV_PP, "   
lv_y_nr_prtrig  TYPE I, "   
lv_xt_inv_process  TYPE FKK_RT_INV_PROCESS, "   
lv_xt_where  TYPE FKK_MAD_TWHEREL, "   
lv_x_invoiced  TYPE INV_POSTED_KK, "   SPACE
lv_y_nr_success  TYPE I, "   
lv_x_simulated  TYPE INV_SIMULATED_KK, "   SPACE
lv_x_print_first  TYPE PRINT_FIRST_KK, "   SY-DATLO
lv_xt_opbel  TYPE FKK_RT_INVDOCNO, "   
lv_xt_gpart  TYPE FKK_RT_GPART, "   
lv_xt_vkont  TYPE FKK_RT_VKONT, "   
lv_xt_fikey  TYPE FKK_RT_FIKEY, "   
lv_xt_print_runid  TYPE FKK_RT_PRINT_RUNID. "   

  CALL FUNCTION 'FKK_INV_MASS_PRINT'  "
    EXPORTING
         X_PP = lv_x_pp
         XT_INV_PROCESS = lv_xt_inv_process
         XT_WHERE = lv_xt_where
         X_INVOICED = lv_x_invoiced
         X_SIMULATED = lv_x_simulated
         X_PRINT_FIRST = lv_x_print_first
         XT_OPBEL = lv_xt_opbel
         XT_GPART = lv_xt_gpart
         XT_VKONT = lv_xt_vkont
         XT_FIKEY = lv_xt_fikey
         XT_PRINT_RUNID = lv_xt_print_runid
    IMPORTING
         Y_NR_PRTRIG = lv_y_nr_prtrig
         Y_NR_SUCCESS = lv_y_nr_success
. " FKK_INV_MASS_PRINT




ABAP code using 7.40 inline data declarations to call FM FKK_INV_MASS_PRINT

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.

 
 
 
 
DATA(ld_x_invoiced) = ' '.
 
 
DATA(ld_x_simulated) = ' '.
 
DATA(ld_x_print_first) = SY-DATLO.
 
 
 
 
 
 


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!