SAP RP_01C_FULL_MONTHS_COMPUTE Function Module for









RP_01C_FULL_MONTHS_COMPUTE is a standard rp 01c full months compute 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 full months compute FM, simply by entering the name RP_01C_FULL_MONTHS_COMPUTE 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_FULL_MONTHS_COMPUTE 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_FULL_MONTHS_COMPUTE'"
CHANGING
C27_FMNTH = "
C27_FMDAY = "
C27_PDAYS = "

TABLES
T27_FULLM = "

EXCEPTIONS
BEGDA_GT_ENDDA = 1
.




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

CHANGING Parameters details for RP_01C_FULL_MONTHS_COMPUTE

C27_FMNTH -

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

C27_FMDAY -

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

C27_PDAYS -

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

TABLES Parameters details for RP_01C_FULL_MONTHS_COMPUTE

T27_FULLM -

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

EXCEPTIONS details

BEGDA_GT_ENDDA -

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

Copy and paste ABAP code example for RP_01C_FULL_MONTHS_COMPUTE 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_c27_fmnth  TYPE P01C_FULLM-FMNTH, "   
lt_t27_fullm  TYPE STANDARD TABLE OF P01C_FULLM, "   
lv_begda_gt_endda  TYPE P01C_FULLM, "   
lv_c27_fmday  TYPE P01C_FULLM-FMDAY, "   
lv_c27_pdays  TYPE P01C_FULLM-PDAYS. "   

  CALL FUNCTION 'RP_01C_FULL_MONTHS_COMPUTE'  "
    CHANGING
         C27_FMNTH = lv_c27_fmnth
         C27_FMDAY = lv_c27_fmday
         C27_PDAYS = lv_c27_pdays
    TABLES
         T27_FULLM = lt_t27_fullm
    EXCEPTIONS
        BEGDA_GT_ENDDA = 1
. " RP_01C_FULL_MONTHS_COMPUTE




ABAP code using 7.40 inline data declarations to call FM RP_01C_FULL_MONTHS_COMPUTE

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 FMNTH FROM P01C_FULLM INTO @DATA(ld_c27_fmnth).
 
 
 
"SELECT single FMDAY FROM P01C_FULLM INTO @DATA(ld_c27_fmday).
 
"SELECT single PDAYS FROM P01C_FULLM INTO @DATA(ld_c27_pdays).
 


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!