SAP FMPAY_PART_PAYMENT_REFRESH Function Module for









FMPAY_PART_PAYMENT_REFRESH is a standard fmpay part payment refresh 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 part payment refresh FM, simply by entering the name FMPAY_PART_PAYMENT_REFRESH 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_PART_PAYMENT_REFRESH 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_PART_PAYMENT_REFRESH'"
EXPORTING
I_F_CONTROL_DATA = "RFFMS200_OLD Structure for Update Control
I_BUKRS = "Company Code
I_GJAHR = "Fiscal year for FI document number
I_PSTDAT = "Exception Posting Date for Payments
I_TEST = "Execute Test Run
I_HHM = "
I_TRCHCK = "

TABLES
I_T_S200_LEDGER = "Internal Data Structure RFFMS200_OLD
S_BELNR = "Structure of a Range Table for a (10) Character Field
.



IMPORTING Parameters details for FMPAY_PART_PAYMENT_REFRESH

I_F_CONTROL_DATA - RFFMS200_OLD Structure for Update Control

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

I_BUKRS - Company Code

Data type: FMIFIIT-BUKRS
Optional: No
Call by Reference: Yes

I_GJAHR - Fiscal year for FI document number

Data type: FMIFIIT-KNGJAHR
Optional: No
Call by Reference: Yes

I_PSTDAT - Exception Posting Date for Payments

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

I_TEST - Execute Test Run

Data type: LKO74-TESTLAUF
Optional: No
Call by Reference: Yes

I_HHM -

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

I_TRCHCK -

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

TABLES Parameters details for FMPAY_PART_PAYMENT_REFRESH

I_T_S200_LEDGER - Internal Data Structure RFFMS200_OLD

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

S_BELNR - Structure of a Range Table for a (10) Character Field

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

Copy and paste ABAP code example for FMPAY_PART_PAYMENT_REFRESH 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_bukrs  TYPE FMIFIIT-BUKRS, "   
lt_s_belnr  TYPE STANDARD TABLE OF RANGE_C10, "   
lv_i_gjahr  TYPE FMIFIIT-KNGJAHR, "   
lv_i_pstdat  TYPE FM_PAYTR_PSTDAT, "   
lv_i_test  TYPE LKO74-TESTLAUF, "   
lv_i_hhm  TYPE C, "   
lv_i_trchck  TYPE C. "   

  CALL FUNCTION 'FMPAY_PART_PAYMENT_REFRESH'  "
    EXPORTING
         I_F_CONTROL_DATA = lv_i_f_control_data
         I_BUKRS = lv_i_bukrs
         I_GJAHR = lv_i_gjahr
         I_PSTDAT = lv_i_pstdat
         I_TEST = lv_i_test
         I_HHM = lv_i_hhm
         I_TRCHCK = lv_i_trchck
    TABLES
         I_T_S200_LEDGER = lt_i_t_s200_ledger
         S_BELNR = lt_s_belnr
. " FMPAY_PART_PAYMENT_REFRESH




ABAP code using 7.40 inline data declarations to call FM FMPAY_PART_PAYMENT_REFRESH

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 BUKRS FROM FMIFIIT INTO @DATA(ld_i_bukrs).
 
 
"SELECT single KNGJAHR FROM FMIFIIT INTO @DATA(ld_i_gjahr).
 
 
"SELECT single TESTLAUF FROM LKO74 INTO @DATA(ld_i_test).
 
 
 


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!