SAP EXIT_SAPLKEAB_001 Function Module for User Exit for Actual Data Valuation









EXIT_SAPLKEAB_001 is a standard exit saplkeab 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for User Exit for Actual Data Valuation 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 exit saplkeab 001 FM, simply by entering the name EXIT_SAPLKEAB_001 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLKEAB_001 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 'EXIT_SAPLKEAB_001'"User Exit for Actual Data Valuation
EXPORTING
ERKRS = "Operating Concern
EP_SOURCE = "CO-PA Line Items ( Input: Operating Concern Currency )
EP_SOURCE_BUKRS = "CO-PA Line Items ( Input: Company Code Currency )
EXIT_NR = "Exit Name as per Entry in Valuation Strategy

IMPORTING
EP_TARGET = "CO-PA Line Items ( Output: Operating Concern Currency )
EP_TARGET_BUKRS = "CO-PA Line Items ( Output: Company Code Currency )
E_BUKRS_PROCESSED = "EP_TARGET_BUKRS was changed
ET_FIELD = "See Function Module Documentation

TABLES
* GT_MESSAGE_TABLE = "

EXCEPTIONS
VALUATION_ERROR = 1
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
COPA_CALL_CUSTOMER_EXIT_KEAB04
COPA_GET_BASE_UNIT_OF_MEASURE
COPA_GET_BSTRA
COPA_KEAB_TRACE_EXPORT
COPA_KEAB_TRACE_REFRESH
COPA_KEAB_TRACE_WRITE
COPA_UPDATE_STANDARD_MEASURES
RKE_DELETE_PER_VALUATION_ACT
RKE_DELETE_STRUCTURE_PRICING
RKE_GENERATE_PER_VALUATION_ACT
RKE_GENERATE_STRUCTURE_PRICING
RKE_PERIODIC_VALUATION_ACT
RKE_PRICING_INTERFACE
RKE_PRICING_INTERFACE_ACT
RKE_PRICING_INTERFACE_PLAN
RKE_PRICING_REFRESH

IMPORTING Parameters details for EXIT_SAPLKEAB_001

ERKRS - Operating Concern

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

EP_SOURCE - CO-PA Line Items ( Input: Operating Concern Currency )

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

EP_SOURCE_BUKRS - CO-PA Line Items ( Input: Company Code Currency )

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

EXIT_NR - Exit Name as per Entry in Valuation Strategy

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

EXPORTING Parameters details for EXIT_SAPLKEAB_001

EP_TARGET - CO-PA Line Items ( Output: Operating Concern Currency )

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

EP_TARGET_BUKRS - CO-PA Line Items ( Output: Company Code Currency )

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

E_BUKRS_PROCESSED - EP_TARGET_BUKRS was changed

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

ET_FIELD - See Function Module Documentation

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

TABLES Parameters details for EXIT_SAPLKEAB_001

GT_MESSAGE_TABLE -

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

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 EXIT_SAPLKEAB_001 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_erkrs  TYPE TKEB-ERKRS, "   
lv_ep_target  TYPE TKEB, "   
lv_valuation_error  TYPE TKEB, "   
lt_gt_message_table  TYPE STANDARD TABLE OF COPA_MESSAGE_TAB, "   
lv_ep_source  TYPE COPA_MESSAGE_TAB, "   
lv_ep_target_bukrs  TYPE COPA_MESSAGE_TAB, "   
lv_ep_source_bukrs  TYPE COPA_MESSAGE_TAB, "   
lv_e_bukrs_processed  TYPE KEDR_FLAG, "   
lv_exit_nr  TYPE TKEVA02-EXIT_NR, "   
lv_et_field  TYPE RKEI1_YT_FIELD. "   

  CALL FUNCTION 'EXIT_SAPLKEAB_001'  "User Exit for Actual Data Valuation
    EXPORTING
         ERKRS = lv_erkrs
         EP_SOURCE = lv_ep_source
         EP_SOURCE_BUKRS = lv_ep_source_bukrs
         EXIT_NR = lv_exit_nr
    IMPORTING
         EP_TARGET = lv_ep_target
         EP_TARGET_BUKRS = lv_ep_target_bukrs
         E_BUKRS_PROCESSED = lv_e_bukrs_processed
         ET_FIELD = lv_et_field
    TABLES
         GT_MESSAGE_TABLE = lt_gt_message_table
    EXCEPTIONS
        VALUATION_ERROR = 1
. " EXIT_SAPLKEAB_001




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLKEAB_001

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 TKEB INTO @DATA(ld_erkrs).
 
 
 
 
 
 
 
 
"SELECT single EXIT_NR FROM TKEVA02 INTO @DATA(ld_exit_nr).
 
 


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!