SAP TB_DEAL_PAYMENT_DATA_CHECK Function Module for Check Payment Details









TB_DEAL_PAYMENT_DATA_CHECK is a standard tb deal payment data check SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check Payment Details 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 tb deal payment data check FM, simply by entering the name TB_DEAL_PAYMENT_DATA_CHECK into the relevant SAP transaction such as SE37 or SE38.

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



Function TB_DEAL_PAYMENT_DATA_CHECK 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 'TB_DEAL_PAYMENT_DATA_CHECK'"Check Payment Details
EXPORTING
PI_OREF_APPL_CTRL = "TR Transaction Management: Application Control
* PI_OREF_BUS_FLOWS = "TR Transaction Management: Business Container (Obsolete)
* PI_NDF_CURR = "Payment Currency

TABLES
* PI_TAB_FHAPO = "Financial Transaction Flow
* PI_TAB_ZV = "Payment Details for Transaction

EXCEPTIONS
NO_PAYMENT_DATA = 1 UNCOMPLETED_PAYMENT_DATA = 2
.



IMPORTING Parameters details for TB_DEAL_PAYMENT_DATA_CHECK

PI_OREF_APPL_CTRL - TR Transaction Management: Application Control

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

PI_OREF_BUS_FLOWS - TR Transaction Management: Business Container (Obsolete)

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

PI_NDF_CURR - Payment Currency

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

TABLES Parameters details for TB_DEAL_PAYMENT_DATA_CHECK

PI_TAB_FHAPO - Financial Transaction Flow

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

PI_TAB_ZV - Payment Details for Transaction

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

EXCEPTIONS details

NO_PAYMENT_DATA - Keine Zahlungsverbindungen vorhanden

Data type:
Optional: No
Call by Reference: Yes

UNCOMPLETED_PAYMENT_DATA - Unvollständige Zahlungsverbindungen

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for TB_DEAL_PAYMENT_DATA_CHECK 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:
lt_pi_tab_fhapo  TYPE STANDARD TABLE OF VTBFHAPO, "   
lv_no_payment_data  TYPE VTBFHAPO, "   
lv_pi_oref_appl_ctrl  TYPE CL_FTR_APPL_CTRL, "   
lt_pi_tab_zv  TYPE STANDARD TABLE OF VTBZV, "   
lv_pi_oref_bus_flows  TYPE CL_FTR_BUS_FLOWS, "   
lv_uncompleted_payment_data  TYPE CL_FTR_BUS_FLOWS, "   
lv_pi_ndf_curr  TYPE TB_WZBETR. "   

  CALL FUNCTION 'TB_DEAL_PAYMENT_DATA_CHECK'  "Check Payment Details
    EXPORTING
         PI_OREF_APPL_CTRL = lv_pi_oref_appl_ctrl
         PI_OREF_BUS_FLOWS = lv_pi_oref_bus_flows
         PI_NDF_CURR = lv_pi_ndf_curr
    TABLES
         PI_TAB_FHAPO = lt_pi_tab_fhapo
         PI_TAB_ZV = lt_pi_tab_zv
    EXCEPTIONS
        NO_PAYMENT_DATA = 1
        UNCOMPLETED_PAYMENT_DATA = 2
. " TB_DEAL_PAYMENT_DATA_CHECK




ABAP code using 7.40 inline data declarations to call FM TB_DEAL_PAYMENT_DATA_CHECK

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



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!