SAP META_GET_PAYMENT_STATUS Function Module for Zahlstatus vom FI Backend
META_GET_PAYMENT_STATUS is a standard meta get payment status SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Zahlstatus vom FI Backend 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 meta get payment status FM, simply by entering the name META_GET_PAYMENT_STATUS into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_BD_META_BAPIS
Program Name: SAPLBBP_BD_META_BAPIS
Main Program: SAPLBBP_BD_META_BAPIS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function META_GET_PAYMENT_STATUS 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 'META_GET_PAYMENT_STATUS'"Zahlstatus vom FI Backend.
EXPORTING
I_HEADER = "Schnittstelle Kopf-Daten Rechnung GetDetail-Fall
I_ERS = "Feld zum Ankreuzen
LOGICAL_SYSTEM = "Logical system
TABLES
I_PARTNER = "Geschäftspartner
* ET_PAYMENT_STAT = "Zahlstatzus SUS Rechnung im MM
* ET_MESSAGES = "Fehlermeldungen zu einer PD-Methode
* CONTROL_RECORD = "Steuersatz für META-BAPI-Steuerung
IMPORTING Parameters details for META_GET_PAYMENT_STATUS
I_HEADER - Schnittstelle Kopf-Daten Rechnung GetDetail-Fall
Data type: BBP_PDS_SUSINV_HEADER_DOptional: No
Call by Reference: No ( called with pass by value option)
I_ERS - Feld zum Ankreuzen
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
LOGICAL_SYSTEM - Logical system
Data type: BBP_BACKEND_DEST-LOG_SYSOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for META_GET_PAYMENT_STATUS
I_PARTNER - Geschäftspartner
Data type: BBP_PDS_PARTNEROptional: No
Call by Reference: Yes
ET_PAYMENT_STAT - Zahlstatzus SUS Rechnung im MM
Data type: BBP_SUS_PAYMENT_STATOptional: Yes
Call by Reference: Yes
ET_MESSAGES - Fehlermeldungen zu einer PD-Methode
Data type: BBP_PDS_MESSAGESOptional: Yes
Call by Reference: Yes
CONTROL_RECORD - Steuersatz für META-BAPI-Steuerung
Data type: BBP_CONTROL_RECORDOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for META_GET_PAYMENT_STATUS 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_i_header | TYPE BBP_PDS_SUSINV_HEADER_D, " | |||
| lt_i_partner | TYPE STANDARD TABLE OF BBP_PDS_PARTNER, " | |||
| lv_i_ers | TYPE XFELD, " | |||
| lt_et_payment_stat | TYPE STANDARD TABLE OF BBP_SUS_PAYMENT_STAT, " | |||
| lt_et_messages | TYPE STANDARD TABLE OF BBP_PDS_MESSAGES, " | |||
| lv_logical_system | TYPE BBP_BACKEND_DEST-LOG_SYS, " | |||
| lt_control_record | TYPE STANDARD TABLE OF BBP_CONTROL_RECORD. " |
|   CALL FUNCTION 'META_GET_PAYMENT_STATUS' "Zahlstatus vom FI Backend |
| EXPORTING | ||
| I_HEADER | = lv_i_header | |
| I_ERS | = lv_i_ers | |
| LOGICAL_SYSTEM | = lv_logical_system | |
| TABLES | ||
| I_PARTNER | = lt_i_partner | |
| ET_PAYMENT_STAT | = lt_et_payment_stat | |
| ET_MESSAGES | = lt_et_messages | |
| CONTROL_RECORD | = lt_control_record | |
| . " META_GET_PAYMENT_STATUS | ||
ABAP code using 7.40 inline data declarations to call FM META_GET_PAYMENT_STATUS
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 LOG_SYS FROM BBP_BACKEND_DEST INTO @DATA(ld_logical_system). | ||||
Search for further information about these or an SAP related objects