SAP FI_PAYMENT_REQUEST_GET Function Module for









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

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



Function FI_PAYMENT_REQUEST_GET 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 'FI_PAYMENT_REQUEST_GET'"
EXPORTING
* I_BELNR = "
* I_X_MESSAGE = 'X' "
* I_X_ARCHIVE = ' ' "
* I_BUKRS = "
* I_BUZEI = "
* I_GJAHR = "
* I_KEYNO = "
* I_RNUM = "
* I_AWSYS = "
* I_AWTYP = "
* I_AWKEY = "

IMPORTING
E_PAYRQ = "
E_RC = "
E_RETURN = "Return Parameter(s)

EXCEPTIONS
PARAMETER = 1
.



IMPORTING Parameters details for FI_PAYMENT_REQUEST_GET

I_BELNR -

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

I_X_MESSAGE -

Data type: BOOLE-BOOLE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_X_ARCHIVE -

Data type: BOOLE-BOOLE
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BUKRS -

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

I_BUZEI -

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

I_GJAHR -

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

I_KEYNO -

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

I_RNUM -

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

I_AWSYS -

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

I_AWTYP -

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

I_AWKEY -

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

EXPORTING Parameters details for FI_PAYMENT_REQUEST_GET

E_PAYRQ -

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

E_RC -

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

E_RETURN - Return Parameter(s)

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

EXCEPTIONS details

PARAMETER -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FI_PAYMENT_REQUEST_GET 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_e_payrq  TYPE PAYRQ, "   
lv_i_belnr  TYPE PAYRQ-BELNR, "   
lv_parameter  TYPE PAYRQ, "   
lv_i_x_message  TYPE BOOLE-BOOLE, "   'X'
lv_i_x_archive  TYPE BOOLE-BOOLE, "   ' '
lv_e_rc  TYPE SY-SUBRC, "   
lv_i_bukrs  TYPE PAYRQ-BUKRS, "   
lv_i_buzei  TYPE PAYRQ-BUZEI, "   
lv_e_return  TYPE BAPIRET2, "   
lv_i_gjahr  TYPE PAYRQ-GJAHR, "   
lv_i_keyno  TYPE PAYRQ-KEYNO, "   
lv_i_rnum  TYPE PAYRQ_ORIGIN-PRQNUM, "   
lv_i_awsys  TYPE PAYRQ-AWSYS, "   
lv_i_awtyp  TYPE PAYRQ-AWTYP, "   
lv_i_awkey  TYPE PAYRQ-AWKEY. "   

  CALL FUNCTION 'FI_PAYMENT_REQUEST_GET'  "
    EXPORTING
         I_BELNR = lv_i_belnr
         I_X_MESSAGE = lv_i_x_message
         I_X_ARCHIVE = lv_i_x_archive
         I_BUKRS = lv_i_bukrs
         I_BUZEI = lv_i_buzei
         I_GJAHR = lv_i_gjahr
         I_KEYNO = lv_i_keyno
         I_RNUM = lv_i_rnum
         I_AWSYS = lv_i_awsys
         I_AWTYP = lv_i_awtyp
         I_AWKEY = lv_i_awkey
    IMPORTING
         E_PAYRQ = lv_e_payrq
         E_RC = lv_e_rc
         E_RETURN = lv_e_return
    EXCEPTIONS
        PARAMETER = 1
. " FI_PAYMENT_REQUEST_GET




ABAP code using 7.40 inline data declarations to call FM FI_PAYMENT_REQUEST_GET

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 BELNR FROM PAYRQ INTO @DATA(ld_i_belnr).
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_x_message).
DATA(ld_i_x_message) = 'X'.
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_x_archive).
DATA(ld_i_x_archive) = ' '.
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_e_rc).
 
"SELECT single BUKRS FROM PAYRQ INTO @DATA(ld_i_bukrs).
 
"SELECT single BUZEI FROM PAYRQ INTO @DATA(ld_i_buzei).
 
 
"SELECT single GJAHR FROM PAYRQ INTO @DATA(ld_i_gjahr).
 
"SELECT single KEYNO FROM PAYRQ INTO @DATA(ld_i_keyno).
 
"SELECT single PRQNUM FROM PAYRQ_ORIGIN INTO @DATA(ld_i_rnum).
 
"SELECT single AWSYS FROM PAYRQ INTO @DATA(ld_i_awsys).
 
"SELECT single AWTYP FROM PAYRQ INTO @DATA(ld_i_awtyp).
 
"SELECT single AWKEY FROM PAYRQ INTO @DATA(ld_i_awkey).
 


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!