SAP FPRL_ITEM_UPDATE_RUNID Function Module for Updates data from the payment









FPRL_ITEM_UPDATE_RUNID is a standard fprl item update runid SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Updates data from the payment processing and below is the pattern details for this FM, 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 fprl item update runid FM, simply by entering the name FPRL_ITEM_UPDATE_RUNID into the relevant SAP transaction such as SE37 or SE38.

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



Function FPRL_ITEM_UPDATE_RUNID 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 'FPRL_ITEM_UPDATE_RUNID'"Updates data from the payment
EXPORTING
I_STATUS = "Item Status ID
I_LAUFD = "Date on Which the Program Is to Be Run
I_LAUFI = "Additional Identification
I_ZALDT = "Posting date of the payment document
IT_ITEM_KEY = "Key: Financial Accounting Document Segment
I_VBLNR_PAY = "Document Number of the Payment Document
I_PYORD_PAY = "Payment Order
* IT_FIELD_VAL = "Field names and their values to be updated in addition
.



IMPORTING Parameters details for FPRL_ITEM_UPDATE_RUNID

I_STATUS - Item Status ID

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

I_LAUFD - Date on Which the Program Is to Be Run

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

I_LAUFI - Additional Identification

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

I_ZALDT - Posting date of the payment document

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

IT_ITEM_KEY - Key: Financial Accounting Document Segment

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

I_VBLNR_PAY - Document Number of the Payment Document

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

I_PYORD_PAY - Payment Order

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

IT_FIELD_VAL - Field names and their values to be updated in addition

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

Copy and paste ABAP code example for FPRL_ITEM_UPDATE_RUNID 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_status  TYPE FPRL_ITEM_STATUS, "   
lv_i_laufd  TYPE LAUFD, "   
lv_i_laufi  TYPE LAUFI, "   
lv_i_zaldt  TYPE DZALDT_ZHL, "   
lv_it_item_key  TYPE FPRLT_BSEG_KEY, "   
lv_i_vblnr_pay  TYPE VBLNR, "   
lv_i_pyord_pay  TYPE PYORD, "   
lv_it_field_val  TYPE TAAN_NVPTAB. "   

  CALL FUNCTION 'FPRL_ITEM_UPDATE_RUNID'  "Updates data from the payment
    EXPORTING
         I_STATUS = lv_i_status
         I_LAUFD = lv_i_laufd
         I_LAUFI = lv_i_laufi
         I_ZALDT = lv_i_zaldt
         IT_ITEM_KEY = lv_it_item_key
         I_VBLNR_PAY = lv_i_vblnr_pay
         I_PYORD_PAY = lv_i_pyord_pay
         IT_FIELD_VAL = lv_it_field_val
. " FPRL_ITEM_UPDATE_RUNID




ABAP code using 7.40 inline data declarations to call FM FPRL_ITEM_UPDATE_RUNID

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.

 
 
 
 
 
 
 
 


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!