SAP FMPAY_PAYMENT_PROCESS Function Module for









FMPAY_PAYMENT_PROCESS is a standard fmpay payment process 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 fmpay payment process FM, simply by entering the name FMPAY_PAYMENT_PROCESS into the relevant SAP transaction such as SE37 or SE38.

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



Function FMPAY_PAYMENT_PROCESS 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 'FMPAY_PAYMENT_PROCESS'"
EXPORTING
I_F_CONTROL_DATA = "RFFMS200_OLD Structure for Update Control
I_PSTDAT = "Exception Posting Date for Payments
I_TEST = "Execute Test Run
I_TRCHCK = "Checkbox
I_SPLIT = "Checkbox
I_SKNTO = "Checkbox
I_RDIFF = "Checkbox

TABLES
I_T_S200_LEDGER = "Internal Data Structure RFFMS200_OLD
I_T_S200_FIKEY = "Internal Data Structure RFFMS200_OLD
.



IMPORTING Parameters details for FMPAY_PAYMENT_PROCESS

I_F_CONTROL_DATA - RFFMS200_OLD Structure for Update Control

Data type: FMS200_OLD_CONTROL_DATA
Optional: No
Call by Reference: No ( called with pass by value option)

I_PSTDAT - Exception Posting Date for Payments

Data type: FM_PAYTR_PSTDAT
Optional: No
Call by Reference: No ( called with pass by value option)

I_TEST - Execute Test Run

Data type: LKO74-TESTLAUF
Optional: No
Call by Reference: No ( called with pass by value option)

I_TRCHCK - Checkbox

Data type: FMDY-XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

I_SPLIT - Checkbox

Data type: FMDY-XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

I_SKNTO - Checkbox

Data type: FMDY-XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

I_RDIFF - Checkbox

Data type: FMDY-XFELD
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FMPAY_PAYMENT_PROCESS

I_T_S200_LEDGER - Internal Data Structure RFFMS200_OLD

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

I_T_S200_FIKEY - Internal Data Structure RFFMS200_OLD

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

Copy and paste ABAP code example for FMPAY_PAYMENT_PROCESS 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_i_t_s200_ledger  TYPE STANDARD TABLE OF FMS200_OLD_LEDGER, "   
lv_i_f_control_data  TYPE FMS200_OLD_CONTROL_DATA, "   
lv_i_pstdat  TYPE FM_PAYTR_PSTDAT, "   
lt_i_t_s200_fikey  TYPE STANDARD TABLE OF FMS200_OLD_FIKEY, "   
lv_i_test  TYPE LKO74-TESTLAUF, "   
lv_i_trchck  TYPE FMDY-XFELD, "   
lv_i_split  TYPE FMDY-XFELD, "   
lv_i_sknto  TYPE FMDY-XFELD, "   
lv_i_rdiff  TYPE FMDY-XFELD. "   

  CALL FUNCTION 'FMPAY_PAYMENT_PROCESS'  "
    EXPORTING
         I_F_CONTROL_DATA = lv_i_f_control_data
         I_PSTDAT = lv_i_pstdat
         I_TEST = lv_i_test
         I_TRCHCK = lv_i_trchck
         I_SPLIT = lv_i_split
         I_SKNTO = lv_i_sknto
         I_RDIFF = lv_i_rdiff
    TABLES
         I_T_S200_LEDGER = lt_i_t_s200_ledger
         I_T_S200_FIKEY = lt_i_t_s200_fikey
. " FMPAY_PAYMENT_PROCESS




ABAP code using 7.40 inline data declarations to call FM FMPAY_PAYMENT_PROCESS

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 TESTLAUF FROM LKO74 INTO @DATA(ld_i_test).
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_trchck).
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_split).
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_sknto).
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_rdiff).
 


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!