SAP CHECK_INCOMING_PAYMENT_FLOW Function Module for TR-TM-SE: Check if Flow Is a Payment Receipt Flow
CHECK_INCOMING_PAYMENT_FLOW is a standard check incoming payment flow SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for TR-TM-SE: Check if Flow Is a Payment Receipt Flow 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 check incoming payment flow FM, simply by entering the name CHECK_INCOMING_PAYMENT_FLOW into the relevant SAP transaction such as SE37 or SE38.
Function Group: FWZE
Program Name: SAPLFWZE
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CHECK_INCOMING_PAYMENT_FLOW 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 'CHECK_INCOMING_PAYMENT_FLOW'"TR-TM-SE: Check if Flow Is a Payment Receipt Flow.
EXPORTING
I_FLOW_TYPE = "Transaction Type
I_FLOW_CATEGORY = "Flow Category
* I_INCLUDE_OUTGOING = "ausgehende Bewegungen berücksichtigen?
IMPORTING
E_INCOMING_PAYMENT_TYPE = "Einstufiges/Zweistufiges ZE-Verfahren
E_INCOMING_PAYMENT_STEP = "Zweistufig: Stufe 1 oder 2
E_PAYMENT = "TRPM_CON_TRUE: zahlungswirksam
E_IS_OUTGOING = "ausgehende Bewegung
EXCEPTIONS
ERROR_READING_FLOW_TYPE = 1 I_FLOW_TYPE_INITIAL = 2 I_FLOW_CATEGORY_INITIAL = 3
IMPORTING Parameters details for CHECK_INCOMING_PAYMENT_FLOW
I_FLOW_TYPE - Transaction Type
Data type: TZB0A-SBEWARTOptional: No
Call by Reference: No ( called with pass by value option)
I_FLOW_CATEGORY - Flow Category
Data type: TZB0A-SBEWZITIOptional: No
Call by Reference: No ( called with pass by value option)
I_INCLUDE_OUTGOING - ausgehende Bewegungen berücksichtigen?
Data type: COptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CHECK_INCOMING_PAYMENT_FLOW
E_INCOMING_PAYMENT_TYPE - Einstufiges/Zweistufiges ZE-Verfahren
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
E_INCOMING_PAYMENT_STEP - Zweistufig: Stufe 1 oder 2
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
E_PAYMENT - TRPM_CON_TRUE: zahlungswirksam
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
E_IS_OUTGOING - ausgehende Bewegung
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_READING_FLOW_TYPE - Fehler beim Lesen der Bewegungsart
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_FLOW_TYPE_INITIAL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_FLOW_CATEGORY_INITIAL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CHECK_INCOMING_PAYMENT_FLOW 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_flow_type | TYPE TZB0A-SBEWART, " | |||
| lv_error_reading_flow_type | TYPE TZB0A, " | |||
| lv_e_incoming_payment_type | TYPE I, " | |||
| lv_i_flow_category | TYPE TZB0A-SBEWZITI, " | |||
| lv_i_flow_type_initial | TYPE TZB0A, " | |||
| lv_e_incoming_payment_step | TYPE I, " | |||
| lv_e_payment | TYPE I, " | |||
| lv_i_include_outgoing | TYPE C, " | |||
| lv_i_flow_category_initial | TYPE C, " | |||
| lv_e_is_outgoing | TYPE C. " |
|   CALL FUNCTION 'CHECK_INCOMING_PAYMENT_FLOW' "TR-TM-SE: Check if Flow Is a Payment Receipt Flow |
| EXPORTING | ||
| I_FLOW_TYPE | = lv_i_flow_type | |
| I_FLOW_CATEGORY | = lv_i_flow_category | |
| I_INCLUDE_OUTGOING | = lv_i_include_outgoing | |
| IMPORTING | ||
| E_INCOMING_PAYMENT_TYPE | = lv_e_incoming_payment_type | |
| E_INCOMING_PAYMENT_STEP | = lv_e_incoming_payment_step | |
| E_PAYMENT | = lv_e_payment | |
| E_IS_OUTGOING | = lv_e_is_outgoing | |
| EXCEPTIONS | ||
| ERROR_READING_FLOW_TYPE = 1 | ||
| I_FLOW_TYPE_INITIAL = 2 | ||
| I_FLOW_CATEGORY_INITIAL = 3 | ||
| . " CHECK_INCOMING_PAYMENT_FLOW | ||
ABAP code using 7.40 inline data declarations to call FM CHECK_INCOMING_PAYMENT_FLOW
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 SBEWART FROM TZB0A INTO @DATA(ld_i_flow_type). | ||||
| "SELECT single SBEWZITI FROM TZB0A INTO @DATA(ld_i_flow_category). | ||||
Search for further information about these or an SAP related objects