SAP RP_EVALUATE_INDIRECTLY_P0015 Function Module for









RP_EVALUATE_INDIRECTLY_P0015 is a standard rp evaluate indirectly p0015 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 evaluate indirectly p0015 FM, simply by entering the name RP_EVALUATE_INDIRECTLY_P0015 into the relevant SAP transaction such as SE37 or SE38.

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



Function RP_EVALUATE_INDIRECTLY_P0015 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_EVALUATE_INDIRECTLY_P0015'"
EXPORTING
* APPLI = 'M' "
PBEGDA = "Starting date
PMOLGA = "Country modifier
* PTCLAS = 'A' "
PPERNR = "Personnel number
* PP0001 = "Record of Info type 0001
* PP0015 = "
* MSGFLG = '' "
* NORDCT = '' "

IMPORTING
PENDDA = "Final date

TABLES
PTBINDBW = "Wage type table

EXCEPTIONS
BAD_PARAMETERS = 1 ERROR_AT_INDIRECT_EVALUATION = 2
.



IMPORTING Parameters details for RP_EVALUATE_INDIRECTLY_P0015

APPLI -

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

PBEGDA - Starting date

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

PMOLGA - Country modifier

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

PTCLAS -

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

PPERNR - Personnel number

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

PP0001 - Record of Info type 0001

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

PP0015 -

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

MSGFLG -

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

NORDCT -

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

EXPORTING Parameters details for RP_EVALUATE_INDIRECTLY_P0015

PENDDA - Final date

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

TABLES Parameters details for RP_EVALUATE_INDIRECTLY_P0015

PTBINDBW - Wage type table

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

EXCEPTIONS details

BAD_PARAMETERS - Unreasonable parameterization

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

ERROR_AT_INDIRECT_EVALUATION - indirect valuation not possible

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

Copy and paste ABAP code example for RP_EVALUATE_INDIRECTLY_P0015 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_appli  TYPE PINDB-ANWDG, "   'M'
lv_pendda  TYPE P0008-ENDDA, "   
lt_ptbindbw  TYPE STANDARD TABLE OF P0008, "   
lv_bad_parameters  TYPE P0008, "   
lv_pbegda  TYPE P0008-BEGDA, "   
lv_error_at_indirect_evaluation  TYPE P0008, "   
lv_pmolga  TYPE T001P-MOLGA, "   
lv_ptclas  TYPE TCLAS, "   'A'
lv_ppernr  TYPE PREL-PERNR, "   
lv_pp0001  TYPE P0001, "   
lv_pp0015  TYPE P0015, "   
lv_msgflg  TYPE P0015, "   ''
lv_nordct  TYPE P0015. "   ''

  CALL FUNCTION 'RP_EVALUATE_INDIRECTLY_P0015'  "
    EXPORTING
         APPLI = lv_appli
         PBEGDA = lv_pbegda
         PMOLGA = lv_pmolga
         PTCLAS = lv_ptclas
         PPERNR = lv_ppernr
         PP0001 = lv_pp0001
         PP0015 = lv_pp0015
         MSGFLG = lv_msgflg
         NORDCT = lv_nordct
    IMPORTING
         PENDDA = lv_pendda
    TABLES
         PTBINDBW = lt_ptbindbw
    EXCEPTIONS
        BAD_PARAMETERS = 1
        ERROR_AT_INDIRECT_EVALUATION = 2
. " RP_EVALUATE_INDIRECTLY_P0015




ABAP code using 7.40 inline data declarations to call FM RP_EVALUATE_INDIRECTLY_P0015

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 ANWDG FROM PINDB INTO @DATA(ld_appli).
DATA(ld_appli) = 'M'.
 
"SELECT single ENDDA FROM P0008 INTO @DATA(ld_pendda).
 
 
 
"SELECT single BEGDA FROM P0008 INTO @DATA(ld_pbegda).
 
 
"SELECT single MOLGA FROM T001P INTO @DATA(ld_pmolga).
 
DATA(ld_ptclas) = 'A'.
 
"SELECT single PERNR FROM PREL INTO @DATA(ld_ppernr).
 
 
 
DATA(ld_msgflg) = ''.
 
DATA(ld_nordct) = ''.
 


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!