SAP FKK_INV_INVDOC_DISP Function Module for
FKK_INV_INVDOC_DISP is a standard fkk inv invdoc disp 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 invdoc disp FM, simply by entering the name FKK_INV_INVDOC_DISP into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKKINV_INVDOC_DISP
Program Name: SAPLFKKINV_INVDOC_DISP
Main Program: SAPLFKKINV_INVDOC_DISP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_INV_INVDOC_DISP 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_INVDOC_DISP'".
EXPORTING
* X_INVDOCNO = "Number of Invoicing Document
* X_TITLE = "
* X_INVDOCITEM = "
* X_FKKINVDOC = "Invoicing Document
* X_INVDOCNO_TAB = "Table of Invoicing Documents (Document Numbers)
* X_FKKINVDOC_H_TAB = "Standard Table for Type FKKINVDOC_H
* X_FKKINVDOC_TAB = "Table of Invoicing Documents
* X_DB_UPD_ALLOWED = ' ' "'X' Database Changes (Such As Reversal) Allowed
* X_REPID = 'FKKINVDOC_DISP' "ABAP Program Name
* X_HTEXT = "Text for Document Headers
EXCEPTIONS
GENERAL_FAULT = 1
IMPORTING Parameters details for FKK_INV_INVDOC_DISP
X_INVDOCNO - Number of Invoicing Document
Data type: INVDOCNO_KKOptional: Yes
Call by Reference: Yes
X_TITLE -
Data type: COptional: Yes
Call by Reference: Yes
X_INVDOCITEM -
Data type: INVDOCITEM_KKOptional: Yes
Call by Reference: Yes
X_FKKINVDOC - Invoicing Document
Data type: FKKINVDOCOptional: Yes
Call by Reference: Yes
X_INVDOCNO_TAB - Table of Invoicing Documents (Document Numbers)
Data type: FKKINV_INVDOCNO_TABOptional: Yes
Call by Reference: Yes
X_FKKINVDOC_H_TAB - Standard Table for Type FKKINVDOC_H
Data type: FKKINVDOC_H_TABOptional: Yes
Call by Reference: Yes
X_FKKINVDOC_TAB - Table of Invoicing Documents
Data type: FKKINVDOC_TABOptional: Yes
Call by Reference: Yes
X_DB_UPD_ALLOWED - 'X' Database Changes (Such As Reversal) Allowed
Data type: XFELDDefault: SPACE
Optional: No
Call by Reference: Yes
X_REPID - ABAP Program Name
Data type: REPIDDefault: 'FKKINVDOC_DISP'
Optional: Yes
Call by Reference: Yes
X_HTEXT - Text for Document Headers
Data type: LVC_TITLEOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
GENERAL_FAULT -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FKK_INV_INVDOC_DISP 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_invdocno | TYPE INVDOCNO_KK, " | |||
| lv_general_fault | TYPE INVDOCNO_KK, " | |||
| lv_x_title | TYPE C, " | |||
| lv_x_invdocitem | TYPE INVDOCITEM_KK, " | |||
| lv_x_fkkinvdoc | TYPE FKKINVDOC, " | |||
| lv_x_invdocno_tab | TYPE FKKINV_INVDOCNO_TAB, " | |||
| lv_x_fkkinvdoc_h_tab | TYPE FKKINVDOC_H_TAB, " | |||
| lv_x_fkkinvdoc_tab | TYPE FKKINVDOC_TAB, " | |||
| lv_x_db_upd_allowed | TYPE XFELD, " SPACE | |||
| lv_x_repid | TYPE REPID, " 'FKKINVDOC_DISP' | |||
| lv_x_htext | TYPE LVC_TITLE. " |
|   CALL FUNCTION 'FKK_INV_INVDOC_DISP' " |
| EXPORTING | ||
| X_INVDOCNO | = lv_x_invdocno | |
| X_TITLE | = lv_x_title | |
| X_INVDOCITEM | = lv_x_invdocitem | |
| X_FKKINVDOC | = lv_x_fkkinvdoc | |
| X_INVDOCNO_TAB | = lv_x_invdocno_tab | |
| X_FKKINVDOC_H_TAB | = lv_x_fkkinvdoc_h_tab | |
| X_FKKINVDOC_TAB | = lv_x_fkkinvdoc_tab | |
| X_DB_UPD_ALLOWED | = lv_x_db_upd_allowed | |
| X_REPID | = lv_x_repid | |
| X_HTEXT | = lv_x_htext | |
| EXCEPTIONS | ||
| GENERAL_FAULT = 1 | ||
| . " FKK_INV_INVDOC_DISP | ||
ABAP code using 7.40 inline data declarations to call FM FKK_INV_INVDOC_DISP
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_db_upd_allowed) | = ' '. | |||
| DATA(ld_x_repid) | = 'FKKINVDOC_DISP'. | |||
Search for further information about these or an SAP related objects