SAP FM_PAYTR_READ_DOCUMENT_KEYS_FM Function Module for









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

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



Function FM_PAYTR_READ_DOCUMENT_KEYS_FM 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_READ_DOCUMENT_KEYS_FM'"
EXPORTING
I_BUKRS = "
* I_FIKRS = "Financial Management Area
I_GJAHR = "
* I_HHM = "Selection Using FM Area
* I_PAYFLG = ' ' "
* I_DP_DIT = ' ' "
* I_RC_DOCS = ' ' "

TABLES
T_FI_KEYS = "
T_BELNR = "
* T_FI_KEYS_DP = "
.




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_READ_DOCUMENT_KEYS_FM

I_BUKRS -

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

I_FIKRS - Financial Management Area

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

I_GJAHR -

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

I_HHM - Selection Using FM Area

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

I_PAYFLG -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_DP_DIT -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RC_DOCS -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for FM_PAYTR_READ_DOCUMENT_KEYS_FM

T_FI_KEYS -

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

T_BELNR -

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

T_FI_KEYS_DP -

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

Copy and paste ABAP code example for FM_PAYTR_READ_DOCUMENT_KEYS_FM 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_bukrs  TYPE FMIFIIT-BUKRS, "   
lt_t_fi_keys  TYPE STANDARD TABLE OF FMPA_T_FI_HEADER_TYPE, "   
lv_i_fikrs  TYPE FMIFIIT-FIKRS, "   
lt_t_belnr  TYPE STANDARD TABLE OF RANGE_C10, "   
lv_i_gjahr  TYPE FMIFIIT-GJAHR, "   
lt_t_fi_keys_dp  TYPE STANDARD TABLE OF FMPA_T_FI_HEADER_TYPE, "   
lv_i_hhm  TYPE C, "   
lv_i_payflg  TYPE C, "   SPACE
lv_i_dp_dit  TYPE C, "   SPACE
lv_i_rc_docs  TYPE C. "   SPACE

  CALL FUNCTION 'FM_PAYTR_READ_DOCUMENT_KEYS_FM'  "
    EXPORTING
         I_BUKRS = lv_i_bukrs
         I_FIKRS = lv_i_fikrs
         I_GJAHR = lv_i_gjahr
         I_HHM = lv_i_hhm
         I_PAYFLG = lv_i_payflg
         I_DP_DIT = lv_i_dp_dit
         I_RC_DOCS = lv_i_rc_docs
    TABLES
         T_FI_KEYS = lt_t_fi_keys
         T_BELNR = lt_t_belnr
         T_FI_KEYS_DP = lt_t_fi_keys_dp
. " FM_PAYTR_READ_DOCUMENT_KEYS_FM




ABAP code using 7.40 inline data declarations to call FM FM_PAYTR_READ_DOCUMENT_KEYS_FM

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 FIKRS FROM FMIFIIT INTO @DATA(ld_i_fikrs).
 
 
"SELECT single GJAHR FROM FMIFIIT INTO @DATA(ld_i_gjahr).
 
 
 
DATA(ld_i_payflg) = ' '.
 
DATA(ld_i_dp_dit) = ' '.
 
DATA(ld_i_rc_docs) = ' '.
 


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!