SAP RP_01C_CUT_DEPENDENT Function Module for









RP_01C_CUT_DEPENDENT is a standard rp 01c cut dependent 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 rp 01c cut dependent FM, simply by entering the name RP_01C_CUT_DEPENDENT into the relevant SAP transaction such as SE37 or SE38.

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



Function RP_01C_CUT_DEPENDENT 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 'RP_01C_CUT_DEPENDENT'"
EXPORTING
I19_PERNR = "
* I19_PROTO = ' ' "
* I19_KEYDT = "
* I19_PENSX = ' ' "
I19_ERBLA = "
* I19_CSTIT = "
* CALC_CURRENCY = ' ' "

TABLES
T19_PENS = "
T19_ISTRU = "
T19_W0000 = "
T19_W0001 = "
T19_W0002 = "
T19_H0041 = "
T19_W0041 = "
T19_DEPEN = "
T19_MSG = "
T19_CSTIT = "
.




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_SAPLRPDC_050 Determine Start/End Period for Basic Calculation
EXIT_SAPLRPDC_095 HR-BAV: Determination of Final Age for Proportional Reduction
EXIT_SAPLRPDC_100 HR-CPS: User Exit for Surviving Dependant Reduction
EXIT_SAPLRPDC_200 HR-CPS: Determination of Surviving Dependant for Testator
EXIT_SAPLRPDC_300 Difference Amount of Vested Pension Payment and Calculated Pension
EXIT_SAPLRPDC_400 HR-BAV: User Exit for Determination of Difference Amounts

IMPORTING Parameters details for RP_01C_CUT_DEPENDENT

I19_PERNR -

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

I19_PROTO -

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

I19_KEYDT -

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

I19_PENSX -

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

I19_ERBLA -

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

I19_CSTIT -

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

CALC_CURRENCY -

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

TABLES Parameters details for RP_01C_CUT_DEPENDENT

T19_PENS -

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

T19_ISTRU -

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

T19_W0000 -

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

T19_W0001 -

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

T19_W0002 -

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

T19_H0041 -

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

T19_W0041 -

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

T19_DEPEN -

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

T19_MSG -

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

T19_CSTIT -

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

Copy and paste ABAP code example for RP_01C_CUT_DEPENDENT 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:
lt_t19_pens  TYPE STANDARD TABLE OF P01C_IPENS, "   
lv_i19_pernr  TYPE PERNR-PERNR, "   
lt_t19_istru  TYPE STANDARD TABLE OF P01C_ISTRU, "   
lv_i19_proto  TYPE P01C_ISTRU, "   ' '
lt_t19_w0000  TYPE STANDARD TABLE OF P0000, "   
lv_i19_keydt  TYPE SY-DATUM, "   
lt_t19_w0001  TYPE STANDARD TABLE OF P0001, "   
lv_i19_pensx  TYPE P0001, "   ' '
lt_t19_w0002  TYPE STANDARD TABLE OF P0002, "   
lv_i19_erbla  TYPE P01C_BMADA, "   
lt_t19_h0041  TYPE STANDARD TABLE OF P0041, "   
lv_i19_cstit  TYPE P0041, "   
lt_t19_w0041  TYPE STANDARD TABLE OF P0041, "   
lt_t19_depen  TYPE STANDARD TABLE OF P01C_BFAMI, "   
lv_calc_currency  TYPE T500C-WAERS, "   ' '
lt_t19_msg  TYPE STANDARD TABLE OF HRERROR, "   
lt_t19_cstit  TYPE STANDARD TABLE OF PC2W3. "   

  CALL FUNCTION 'RP_01C_CUT_DEPENDENT'  "
    EXPORTING
         I19_PERNR = lv_i19_pernr
         I19_PROTO = lv_i19_proto
         I19_KEYDT = lv_i19_keydt
         I19_PENSX = lv_i19_pensx
         I19_ERBLA = lv_i19_erbla
         I19_CSTIT = lv_i19_cstit
         CALC_CURRENCY = lv_calc_currency
    TABLES
         T19_PENS = lt_t19_pens
         T19_ISTRU = lt_t19_istru
         T19_W0000 = lt_t19_w0000
         T19_W0001 = lt_t19_w0001
         T19_W0002 = lt_t19_w0002
         T19_H0041 = lt_t19_h0041
         T19_W0041 = lt_t19_w0041
         T19_DEPEN = lt_t19_depen
         T19_MSG = lt_t19_msg
         T19_CSTIT = lt_t19_cstit
. " RP_01C_CUT_DEPENDENT




ABAP code using 7.40 inline data declarations to call FM RP_01C_CUT_DEPENDENT

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 PERNR FROM PERNR INTO @DATA(ld_i19_pernr).
 
 
DATA(ld_i19_proto) = ' '.
 
 
"SELECT single DATUM FROM SY INTO @DATA(ld_i19_keydt).
 
 
DATA(ld_i19_pensx) = ' '.
 
 
 
 
 
 
 
"SELECT single WAERS FROM T500C INTO @DATA(ld_calc_currency).
DATA(ld_calc_currency) = ' '.
 
 
 


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!