SAP FM_PAYTR_DP_DISBURSEMENT Function Module for









FM_PAYTR_DP_DISBURSEMENT is a standard fm paytr dp disbursement 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 fm paytr dp disbursement FM, simply by entering the name FM_PAYTR_DP_DISBURSEMENT into the relevant SAP transaction such as SE37 or SE38.

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



Function FM_PAYTR_DP_DISBURSEMENT 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 'FM_PAYTR_DP_DISBURSEMENT'"
EXPORTING
* I_PSTDAT = "Date and Time, Current (Application Server) Date
FLG_ACTIVE = "

CHANGING
* C_FLG_R2 = "

TABLES
T_PAYMENTS_DP_NEW = "FI Line Item Table in Funds Management
T_PAYMENTS_DP_REV = "FI Line Item Table in Funds Management
T_DP_KEYS_FM = "Key Table FI
* T_DP_ITEMS = "

EXCEPTIONS
FM_DP_DISBURSEMENT = 1
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLFMPA_001 RFFMS200: Fill User Dimension
EXIT_SAPLFMPA_002 RFFMS200: Deactivate Conversion of Credit Memos
EXIT_SAPLFMPA_003 RFFMS200: Activating the V2 update
EXIT_SAPLFMPA_004 RFFMS200: Payment Records for Credit Memos not Statistical
EXIT_SAPLFMPA_005 RFFMS200: Activate Conversion of 60-50 Invoices
EXIT_SAPLFMPA_006 RFFMS200: Deactivate Conversion of Overpayments

IMPORTING Parameters details for FM_PAYTR_DP_DISBURSEMENT

I_PSTDAT - Date and Time, Current (Application Server) Date

Data type: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLG_ACTIVE -

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

CHANGING Parameters details for FM_PAYTR_DP_DISBURSEMENT

C_FLG_R2 -

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

TABLES Parameters details for FM_PAYTR_DP_DISBURSEMENT

T_PAYMENTS_DP_NEW - FI Line Item Table in Funds Management

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

T_PAYMENTS_DP_REV - FI Line Item Table in Funds Management

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

T_DP_KEYS_FM - Key Table FI

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

T_DP_ITEMS -

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

EXCEPTIONS details

FM_DP_DISBURSEMENT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FM_PAYTR_DP_DISBURSEMENT 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_c_flg_r2  TYPE C, "   
lv_i_pstdat  TYPE SY-DATUM, "   
lt_t_payments_dp_new  TYPE STANDARD TABLE OF FMIFIIT, "   
lv_fm_dp_disbursement  TYPE FMIFIIT, "   
lv_flg_active  TYPE FM01D-FM_DP_DIT, "   
lt_t_payments_dp_rev  TYPE STANDARD TABLE OF FMIFIIT, "   
lt_t_dp_keys_fm  TYPE STANDARD TABLE OF FMPA_FI_HEADER_TYPE, "   
lt_t_dp_items  TYPE STANDARD TABLE OF FMPA_T_FI_ITEM_TYPE. "   

  CALL FUNCTION 'FM_PAYTR_DP_DISBURSEMENT'  "
    EXPORTING
         I_PSTDAT = lv_i_pstdat
         FLG_ACTIVE = lv_flg_active
    CHANGING
         C_FLG_R2 = lv_c_flg_r2
    TABLES
         T_PAYMENTS_DP_NEW = lt_t_payments_dp_new
         T_PAYMENTS_DP_REV = lt_t_payments_dp_rev
         T_DP_KEYS_FM = lt_t_dp_keys_fm
         T_DP_ITEMS = lt_t_dp_items
    EXCEPTIONS
        FM_DP_DISBURSEMENT = 1
. " FM_PAYTR_DP_DISBURSEMENT




ABAP code using 7.40 inline data declarations to call FM FM_PAYTR_DP_DISBURSEMENT

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 DATUM FROM SY INTO @DATA(ld_i_pstdat).
 
 
 
"SELECT single FM_DP_DIT FROM FM01D INTO @DATA(ld_flg_active).
 
 
 
 


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!