SAP RFIDPT_SEL_DPR Function Module for Get DPR Coefficient









RFIDPT_SEL_DPR is a standard rfidpt sel dpr SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get DPR Coefficient 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 rfidpt sel dpr FM, simply by entering the name RFIDPT_SEL_DPR into the relevant SAP transaction such as SE37 or SE38.

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



Function RFIDPT_SEL_DPR 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 'RFIDPT_SEL_DPR'"Get DPR Coefficient
EXPORTING
I_LAND1 = "Country Key
I_PRYEAR = "Pro-Rata year
I_PRCLC = "Pro-Rata entity for calculation
* I_DEFCF = 100 "Pro-Rata definitive default coefficient

IMPORTING
E_PRDCF = "Definitive Pro-Rata Percentage
E_SUBRC = "Return Value, Return Value After ABAP Statements
.



IMPORTING Parameters details for RFIDPT_SEL_DPR

I_LAND1 - Country Key

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

I_PRYEAR - Pro-Rata year

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

I_PRCLC - Pro-Rata entity for calculation

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

I_DEFCF - Pro-Rata definitive default coefficient

Data type: DFIDPT_DPR
Default: 100
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RFIDPT_SEL_DPR

E_PRDCF - Definitive Pro-Rata Percentage

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

E_SUBRC - Return Value, Return Value After ABAP Statements

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

Copy and paste ABAP code example for RFIDPT_SEL_DPR 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_prdcf  TYPE DFIDPT_DPR, "   
lv_i_land1  TYPE LAND1, "   
lv_e_subrc  TYPE SYSUBRC, "   
lv_i_pryear  TYPE DFIDPT_PRYEAR, "   
lv_i_prclc  TYPE DFIDPT_PRCLC, "   
lv_i_defcf  TYPE DFIDPT_DPR. "   100

  CALL FUNCTION 'RFIDPT_SEL_DPR'  "Get DPR Coefficient
    EXPORTING
         I_LAND1 = lv_i_land1
         I_PRYEAR = lv_i_pryear
         I_PRCLC = lv_i_prclc
         I_DEFCF = lv_i_defcf
    IMPORTING
         E_PRDCF = lv_e_prdcf
         E_SUBRC = lv_e_subrc
. " RFIDPT_SEL_DPR




ABAP code using 7.40 inline data declarations to call FM RFIDPT_SEL_DPR

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.

 
 
 
 
 
DATA(ld_i_defcf) = 100.
 


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!