SAP FSCD_EBPP_INVOICE_GET Function Module for FS-CD: Get Invoice for Item
FSCD_EBPP_INVOICE_GET is a standard fscd ebpp invoice get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for FS-CD: Get Invoice for Item processing and below is the pattern details for this FM, 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 fscd ebpp invoice get FM, simply by entering the name FSCD_EBPP_INVOICE_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: FSCD_EBPP
Program Name: SAPLFSCD_EBPP
Main Program: SAPLFSCD_EBPP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FSCD_EBPP_INVOICE_GET 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 'FSCD_EBPP_INVOICE_GET'"FS-CD: Get Invoice for Item.
EXPORTING
IV_OPBEL = "Number of a Contract Accounts Receivable and Payable Document
IV_OPUPW = "Repetition Item in Contract Account Document
IV_OPUPK = "Item Number in Contract Account Document
IV_OPUPZ = "Sub-Item for Partial Clearing in a Contract Account Doc.
IMPORTING
ES_LAST_VVKKFAPOS = "
ET_VVKKFAPOS = "Invoicing Items
IMPORTING Parameters details for FSCD_EBPP_INVOICE_GET
IV_OPBEL - Number of a Contract Accounts Receivable and Payable Document
Data type: OPBEL_KKOptional: No
Call by Reference: Yes
IV_OPUPW - Repetition Item in Contract Account Document
Data type: OPUPW_KKOptional: No
Call by Reference: Yes
IV_OPUPK - Item Number in Contract Account Document
Data type: OPUPK_KKOptional: No
Call by Reference: Yes
IV_OPUPZ - Sub-Item for Partial Clearing in a Contract Account Doc.
Data type: OPUPZ_KKOptional: No
Call by Reference: Yes
EXPORTING Parameters details for FSCD_EBPP_INVOICE_GET
ES_LAST_VVKKFAPOS -
Data type: VVKKFAPOSOptional: No
Call by Reference: Yes
ET_VVKKFAPOS - Invoicing Items
Data type: VVKKFAPOS_TOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FSCD_EBPP_INVOICE_GET 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_iv_opbel | TYPE OPBEL_KK, " | |||
| lv_es_last_vvkkfapos | TYPE VVKKFAPOS, " | |||
| lv_iv_opupw | TYPE OPUPW_KK, " | |||
| lv_et_vvkkfapos | TYPE VVKKFAPOS_T, " | |||
| lv_iv_opupk | TYPE OPUPK_KK, " | |||
| lv_iv_opupz | TYPE OPUPZ_KK. " |
|   CALL FUNCTION 'FSCD_EBPP_INVOICE_GET' "FS-CD: Get Invoice for Item |
| EXPORTING | ||
| IV_OPBEL | = lv_iv_opbel | |
| IV_OPUPW | = lv_iv_opupw | |
| IV_OPUPK | = lv_iv_opupk | |
| IV_OPUPZ | = lv_iv_opupz | |
| IMPORTING | ||
| ES_LAST_VVKKFAPOS | = lv_es_last_vvkkfapos | |
| ET_VVKKFAPOS | = lv_et_vvkkfapos | |
| . " FSCD_EBPP_INVOICE_GET | ||
ABAP code using 7.40 inline data declarations to call FM FSCD_EBPP_INVOICE_GET
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