SAP RKE_PRICING_INTERFACE_ACT Function Module for
RKE_PRICING_INTERFACE_ACT is a standard rke pricing interface act 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 rke pricing interface act FM, simply by entering the name RKE_PRICING_INTERFACE_ACT into the relevant SAP transaction such as SE37 or SE38.
Function Group: KEAB
Program Name: SAPLKEAB
Main Program: SAPLKEAB
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function RKE_PRICING_INTERFACE_ACT 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_PRICING_INTERFACE_ACT'".
EXPORTING
I_ERKRS = "Operating Concern
* I_TRACE_MODE_COPC = ' ' "Access Analysis
* I_CLEAR_ALL_BUFFERS = ' ' "
* I_KE27_ALL_FIELDS = ' ' "
* I_OVERWRITE = ' ' "
IS_COPA_ITEM_INPUT = "
* I_BWFKT = '01' "Point of Valuation
* I_BSTRA = "Valuation strategy (CO-PA)
* I_STORNO = ' ' "
* I_DIALOG = ' ' "
* I_KURST = 'M' "
* I_CONVERT_VIA_FOREIGN_CURRENCY = ' ' "
* I_CONDITION_ANALYSIS = ' ' "Condition Analysis
* I_TRACE_MODE_BEAN = ' ' "
IMPORTING
ES_COPA_ITEM_OUTPUT = "
E_TRACE_HANDLE_BEAN = "
E_TRACE_HANDLE_COPC = "
TABLES
IT_FIELDTAB = "
* XT_WERTKOMP = "
* XT_ITEM_BUKRS = "
EXCEPTIONS
VALUATION_ERROR = 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_SAPLKEAB_001 User Exit for Actual Data Valuation
EXIT_SAPLKEAB_002 User Exit for Planning Data Valuation
EXIT_SAPLKEAB_003 Valuation Using Conditions: Access to the Structures KOMK / KOMP
EXIT_SAPLKEAB_004 CO-PA Valuation: Flexible Assignment Costing Key
IMPORTING Parameters details for RKE_PRICING_INTERFACE_ACT
I_ERKRS - Operating Concern
Data type: TERKR-ERKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_TRACE_MODE_COPC - Access Analysis
Data type: KEDR_TRACE_MODEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CLEAR_ALL_BUFFERS -
Data type: KEDR_FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KE27_ALL_FIELDS -
Data type: KEDR_FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_OVERWRITE -
Data type: KEDR_FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IS_COPA_ITEM_INPUT -
Data type:Optional: No
Call by Reference: Yes
I_BWFKT - Point of Valuation
Data type: TKEVA01-BWFKTDefault: '01'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BSTRA - Valuation strategy (CO-PA)
Data type: TKEVAS-BSTRAOptional: Yes
Call by Reference: No ( called with pass by value option)
I_STORNO -
Data type: S007-SHKZGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DIALOG -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KURST -
Data type: TKEVS-KURSTDefault: 'M'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CONVERT_VIA_FOREIGN_CURRENCY -
Data type: KEDR_FLAGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_CONDITION_ANALYSIS - Condition Analysis
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TRACE_MODE_BEAN -
Data type: KEDR_TRACE_MODEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RKE_PRICING_INTERFACE_ACT
ES_COPA_ITEM_OUTPUT -
Data type:Optional: No
Call by Reference: Yes
E_TRACE_HANDLE_BEAN -
Data type: KEDR_TRACE_HANDLEOptional: No
Call by Reference: Yes
E_TRACE_HANDLE_COPC -
Data type: KEDR_TRACE_HANDLEOptional: No
Call by Reference: Yes
TABLES Parameters details for RKE_PRICING_INTERFACE_ACT
IT_FIELDTAB -
Data type:Optional: No
Call by Reference: Yes
XT_WERTKOMP -
Data type: RKEPROptional: Yes
Call by Reference: Yes
XT_ITEM_BUKRS -
Data type:Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
VALUATION_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RKE_PRICING_INTERFACE_ACT 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_erkrs | TYPE TERKR-ERKRS, " | |||
lt_it_fieldtab | TYPE STANDARD TABLE OF TERKR, " | |||
lv_valuation_error | TYPE TERKR, " | |||
lv_es_copa_item_output | TYPE TERKR, " | |||
lv_i_trace_mode_copc | TYPE KEDR_TRACE_MODE, " SPACE | |||
lv_i_clear_all_buffers | TYPE KEDR_FLAG, " SPACE | |||
lv_i_ke27_all_fields | TYPE KEDR_FLAG, " SPACE | |||
lv_i_overwrite | TYPE KEDR_FLAG, " SPACE | |||
lv_is_copa_item_input | TYPE KEDR_FLAG, " | |||
lv_i_bwfkt | TYPE TKEVA01-BWFKT, " '01' | |||
lt_xt_wertkomp | TYPE STANDARD TABLE OF RKEPR, " | |||
lv_e_trace_handle_bean | TYPE KEDR_TRACE_HANDLE, " | |||
lv_i_bstra | TYPE TKEVAS-BSTRA, " | |||
lt_xt_item_bukrs | TYPE STANDARD TABLE OF TKEVAS, " | |||
lv_e_trace_handle_copc | TYPE KEDR_TRACE_HANDLE, " | |||
lv_i_storno | TYPE S007-SHKZG, " SPACE | |||
lv_i_dialog | TYPE S007, " SPACE | |||
lv_i_kurst | TYPE TKEVS-KURST, " 'M' | |||
lv_i_convert_via_foreign_currency | TYPE KEDR_FLAG, " SPACE | |||
lv_i_condition_analysis | TYPE KEDR_FLAG, " SPACE | |||
lv_i_trace_mode_bean | TYPE KEDR_TRACE_MODE. " SPACE |
  CALL FUNCTION 'RKE_PRICING_INTERFACE_ACT' " |
EXPORTING | ||
I_ERKRS | = lv_i_erkrs | |
I_TRACE_MODE_COPC | = lv_i_trace_mode_copc | |
I_CLEAR_ALL_BUFFERS | = lv_i_clear_all_buffers | |
I_KE27_ALL_FIELDS | = lv_i_ke27_all_fields | |
I_OVERWRITE | = lv_i_overwrite | |
IS_COPA_ITEM_INPUT | = lv_is_copa_item_input | |
I_BWFKT | = lv_i_bwfkt | |
I_BSTRA | = lv_i_bstra | |
I_STORNO | = lv_i_storno | |
I_DIALOG | = lv_i_dialog | |
I_KURST | = lv_i_kurst | |
I_CONVERT_VIA_FOREIGN_CURRENCY | = lv_i_convert_via_foreign_currency | |
I_CONDITION_ANALYSIS | = lv_i_condition_analysis | |
I_TRACE_MODE_BEAN | = lv_i_trace_mode_bean | |
IMPORTING | ||
ES_COPA_ITEM_OUTPUT | = lv_es_copa_item_output | |
E_TRACE_HANDLE_BEAN | = lv_e_trace_handle_bean | |
E_TRACE_HANDLE_COPC | = lv_e_trace_handle_copc | |
TABLES | ||
IT_FIELDTAB | = lt_it_fieldtab | |
XT_WERTKOMP | = lt_xt_wertkomp | |
XT_ITEM_BUKRS | = lt_xt_item_bukrs | |
EXCEPTIONS | ||
VALUATION_ERROR = 1 | ||
. " RKE_PRICING_INTERFACE_ACT |
ABAP code using 7.40 inline data declarations to call FM RKE_PRICING_INTERFACE_ACT
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 ERKRS FROM TERKR INTO @DATA(ld_i_erkrs). | ||||
DATA(ld_i_trace_mode_copc) | = ' '. | |||
DATA(ld_i_clear_all_buffers) | = ' '. | |||
DATA(ld_i_ke27_all_fields) | = ' '. | |||
DATA(ld_i_overwrite) | = ' '. | |||
"SELECT single BWFKT FROM TKEVA01 INTO @DATA(ld_i_bwfkt). | ||||
DATA(ld_i_bwfkt) | = '01'. | |||
"SELECT single BSTRA FROM TKEVAS INTO @DATA(ld_i_bstra). | ||||
"SELECT single SHKZG FROM S007 INTO @DATA(ld_i_storno). | ||||
DATA(ld_i_storno) | = ' '. | |||
DATA(ld_i_dialog) | = ' '. | |||
"SELECT single KURST FROM TKEVS INTO @DATA(ld_i_kurst). | ||||
DATA(ld_i_kurst) | = 'M'. | |||
DATA(ld_i_convert_via_foreign_currency) | = ' '. | |||
DATA(ld_i_condition_analysis) | = ' '. | |||
DATA(ld_i_trace_mode_bean) | = ' '. | |||
Search for further information about these or an SAP related objects