SAP FM_PAYTR_DISPLAY_DOCUMENTS_ALV Function Module for









FM_PAYTR_DISPLAY_DOCUMENTS_ALV is a standard fm paytr display documents alv 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 display documents alv FM, simply by entering the name FM_PAYTR_DISPLAY_DOCUMENTS_ALV 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_DISPLAY_DOCUMENTS_ALV 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_DISPLAY_DOCUMENTS_ALV'"
EXPORTING
I_LISTE = "
I_LOPEN = "
I_TEST = "
I_HHM_SEL = "
I_FIKRS = "Financial Management Area
I_BUKRS = "Company Code
I_GJAHR = "Fiscal Year
* I_FIAR = "

IMPORTING
E_CNT_TRANSFER = "Natural Number

TABLES
T_TRANSFER_DOCS = "Documents to Be Transferred
T_INVOICES_PRINT = "Key Table FI
T_BELNR = "Structure of a Range Table for a (10) Character Field
T_BUKRS_DATA = "Table Type for Control Data for Parallel Processing RFFMS20
T_DOCS_NEW = "FI Line Item Table in Funds Management
T_DOCS_REV = "FI Line Item Table in Funds Management
T_MESG = "Message Collector
.




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_DISPLAY_DOCUMENTS_ALV

I_LISTE -

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

I_LOPEN -

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

I_TEST -

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

I_HHM_SEL -

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

I_FIKRS - Financial Management Area

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

I_BUKRS - Company Code

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

I_GJAHR - Fiscal Year

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

I_FIAR -

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

EXPORTING Parameters details for FM_PAYTR_DISPLAY_DOCUMENTS_ALV

E_CNT_TRANSFER - Natural Number

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

TABLES Parameters details for FM_PAYTR_DISPLAY_DOCUMENTS_ALV

T_TRANSFER_DOCS - Documents to Be Transferred

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

T_INVOICES_PRINT - Key Table FI

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

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

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

T_BUKRS_DATA - Table Type for Control Data for Parallel Processing RFFMS20

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

T_DOCS_NEW - FI Line Item Table in Funds Management

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

T_DOCS_REV - FI Line Item Table in Funds Management

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

T_MESG - Message Collector

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

Copy and paste ABAP code example for FM_PAYTR_DISPLAY_DOCUMENTS_ALV 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_liste  TYPE C, "   
lv_e_cnt_transfer  TYPE INT4, "   
lt_t_transfer_docs  TYPE STANDARD TABLE OF FMPA_T_TRANSFER_DOCS, "   
lv_i_lopen  TYPE C, "   
lt_t_invoices_print  TYPE STANDARD TABLE OF FMPA_T_FI_HEADER_TYPE, "   
lv_i_test  TYPE C, "   
lt_t_belnr  TYPE STANDARD TABLE OF RANGE_C10, "   
lv_i_hhm_sel  TYPE C, "   
lt_t_bukrs_data  TYPE STANDARD TABLE OF FMPA_T_CONTROL_DATA, "   
lv_i_fikrs  TYPE FMIFIIT-FIKRS, "   
lt_t_docs_new  TYPE STANDARD TABLE OF FMIFIIT, "   
lv_i_bukrs  TYPE FMIFIIT-BUKRS, "   
lt_t_docs_rev  TYPE STANDARD TABLE OF FMIFIIT, "   
lt_t_mesg  TYPE STANDARD TABLE OF MESG, "   
lv_i_gjahr  TYPE FMIFIIT-GJAHR, "   
lv_i_fiar  TYPE C. "   

  CALL FUNCTION 'FM_PAYTR_DISPLAY_DOCUMENTS_ALV'  "
    EXPORTING
         I_LISTE = lv_i_liste
         I_LOPEN = lv_i_lopen
         I_TEST = lv_i_test
         I_HHM_SEL = lv_i_hhm_sel
         I_FIKRS = lv_i_fikrs
         I_BUKRS = lv_i_bukrs
         I_GJAHR = lv_i_gjahr
         I_FIAR = lv_i_fiar
    IMPORTING
         E_CNT_TRANSFER = lv_e_cnt_transfer
    TABLES
         T_TRANSFER_DOCS = lt_t_transfer_docs
         T_INVOICES_PRINT = lt_t_invoices_print
         T_BELNR = lt_t_belnr
         T_BUKRS_DATA = lt_t_bukrs_data
         T_DOCS_NEW = lt_t_docs_new
         T_DOCS_REV = lt_t_docs_rev
         T_MESG = lt_t_mesg
. " FM_PAYTR_DISPLAY_DOCUMENTS_ALV




ABAP code using 7.40 inline data declarations to call FM FM_PAYTR_DISPLAY_DOCUMENTS_ALV

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 FIKRS FROM FMIFIIT INTO @DATA(ld_i_fikrs).
 
 
"SELECT single BUKRS FROM FMIFIIT INTO @DATA(ld_i_bukrs).
 
 
 
"SELECT single GJAHR FROM FMIFIIT INTO @DATA(ld_i_gjahr).
 
 


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!