SAP RKE_PLA_CORE_REVALUATION Function Module for Revaluate Planning Data









RKE_PLA_CORE_REVALUATION is a standard rke pla core revaluation SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Revaluate Planning Data 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 rke pla core revaluation FM, simply by entering the name RKE_PLA_CORE_REVALUATION into the relevant SAP transaction such as SE37 or SE38.

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



Function RKE_PLA_CORE_REVALUATION 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 'RKE_PLA_CORE_REVALUATION'"Revaluate Planning Data
EXPORTING
* I_MODE = '1' "
I_PLSZ = "Access
I_NEGATIVE = "
IT_VALUE_FIELDS = "CO-PA Field Names
IT_CRIT = "CO-PA Field Names
IT_SELTAB = "
* I_SEQNR = "
* I_TEST_MODE = '3' "Test/Update Run
* I_DELTA_MODE = '2' "
* I_POST_SYNCHRON = ' ' "
* I_HANDLE_TARGET = "Internal Tables, Current Row Index
* I_HANDLE_SOURCE = "Internal Tables, Current Row Index
I_ERKRS = "Operating Concern
I_PA_TYPE = "Type of Profitability Analysis
I_REVAL = "Revaluation Key

IMPORTING
ET_LOG_DATA = "
ET_LOG_TEXT = "
E_HANDLE_TARGET = "Internal Tables, Current Row Index
E_HANDLE_SOURCE = "Internal Tables, Current Row Index
ET_BELNR = "

EXCEPTIONS
GENERAL_ERROR = 1
.



IMPORTING Parameters details for RKE_PLA_CORE_REVALUATION

I_MODE -

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

I_PLSZ - Access

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

I_NEGATIVE -

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

IT_VALUE_FIELDS - CO-PA Field Names

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

IT_CRIT - CO-PA Field Names

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

IT_SELTAB -

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

I_SEQNR -

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

I_TEST_MODE - Test/Update Run

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

I_DELTA_MODE -

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

I_POST_SYNCHRON -

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

I_HANDLE_TARGET - Internal Tables, Current Row Index

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

I_HANDLE_SOURCE - Internal Tables, Current Row Index

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

I_ERKRS - Operating Concern

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

I_PA_TYPE - Type of Profitability Analysis

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

I_REVAL - Revaluation Key

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

EXPORTING Parameters details for RKE_PLA_CORE_REVALUATION

ET_LOG_DATA -

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

ET_LOG_TEXT -

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

E_HANDLE_TARGET - Internal Tables, Current Row Index

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

E_HANDLE_SOURCE - Internal Tables, Current Row Index

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

ET_BELNR -

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

EXCEPTIONS details

GENERAL_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RKE_PLA_CORE_REVALUATION 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_mode  TYPE C, "   '1'
lv_et_log_data  TYPE KEPLB_YT_LOG_DATA, "   
lv_general_error  TYPE KEPLB_YT_LOG_DATA, "   
lv_i_plsz  TYPE RKE_PLSZ, "   
lv_i_negative  TYPE C, "   
lv_it_value_fields  TYPE RKE_YT_FNAM, "   
lv_it_crit  TYPE RKE_YOT_FNAM, "   
lv_it_seltab  TYPE KEPL_YT_SELTAB, "   
lv_i_seqnr  TYPE KEPLB_SEQNR, "   
lv_et_log_text  TYPE KEPLB_YT_LOG_TEXT, "   
lv_i_test_mode  TYPE C, "   '3'
lv_i_delta_mode  TYPE C, "   '2'
lv_e_handle_target  TYPE SY-TABIX, "   
lv_e_handle_source  TYPE SY-TABIX, "   
lv_i_post_synchron  TYPE C, "   ' '
lv_et_belnr  TYPE KEPL_YT_BELNR, "   
lv_i_handle_target  TYPE SY-TABIX, "   
lv_i_handle_source  TYPE SY-TABIX, "   
lv_i_erkrs  TYPE ERKRS, "   
lv_i_pa_type  TYPE RKE_AUSPR, "   
lv_i_reval  TYPE RKE_REVAL. "   

  CALL FUNCTION 'RKE_PLA_CORE_REVALUATION'  "Revaluate Planning Data
    EXPORTING
         I_MODE = lv_i_mode
         I_PLSZ = lv_i_plsz
         I_NEGATIVE = lv_i_negative
         IT_VALUE_FIELDS = lv_it_value_fields
         IT_CRIT = lv_it_crit
         IT_SELTAB = lv_it_seltab
         I_SEQNR = lv_i_seqnr
         I_TEST_MODE = lv_i_test_mode
         I_DELTA_MODE = lv_i_delta_mode
         I_POST_SYNCHRON = lv_i_post_synchron
         I_HANDLE_TARGET = lv_i_handle_target
         I_HANDLE_SOURCE = lv_i_handle_source
         I_ERKRS = lv_i_erkrs
         I_PA_TYPE = lv_i_pa_type
         I_REVAL = lv_i_reval
    IMPORTING
         ET_LOG_DATA = lv_et_log_data
         ET_LOG_TEXT = lv_et_log_text
         E_HANDLE_TARGET = lv_e_handle_target
         E_HANDLE_SOURCE = lv_e_handle_source
         ET_BELNR = lv_et_belnr
    EXCEPTIONS
        GENERAL_ERROR = 1
. " RKE_PLA_CORE_REVALUATION




ABAP code using 7.40 inline data declarations to call FM RKE_PLA_CORE_REVALUATION

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_mode) = '1'.
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_test_mode) = '3'.
 
DATA(ld_i_delta_mode) = '2'.
 
"SELECT single TABIX FROM SY INTO @DATA(ld_e_handle_target).
 
"SELECT single TABIX FROM SY INTO @DATA(ld_e_handle_source).
 
DATA(ld_i_post_synchron) = ' '.
 
 
"SELECT single TABIX FROM SY INTO @DATA(ld_i_handle_target).
 
"SELECT single TABIX FROM SY INTO @DATA(ld_i_handle_source).
 
 
 
 


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!