SAP HR_ECM_UI_HANDLE_PROCESS_DATA Function Module for 'PAI' for Compensation Administration MSS









HR_ECM_UI_HANDLE_PROCESS_DATA is a standard hr ecm ui handle process data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for 'PAI' for Compensation Administration MSS 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 hr ecm ui handle process data FM, simply by entering the name HR_ECM_UI_HANDLE_PROCESS_DATA into the relevant SAP transaction such as SE37 or SE38.

Function Group: HRECM00UI
Program Name: SAPLHRECM00UI
Main Program: SAPLHRECM00UI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function HR_ECM_UI_HANDLE_PROCESS_DATA 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 'HR_ECM_UI_HANDLE_PROCESS_DATA'"'PAI' for Compensation Administration MSS
EXPORTING
PERNR_SELECTED_TAB = "Table of Selected Persons in Compensation Scenario
COMP_DATA_CHANGED = "Table of HRECM00COMP_UPDATE (sorted by PERNR)
FUNCTION = "Screens, function code triggered by PAI
DESIRED_CURRENCY = "Currency Key

IMPORTING
BUDGET_TAB = "Table of Budget Data Passed to User Interface
COMP_DATA_TAB = "Table of Compensation Data Passed to User Interface
XEXIT_WITHOUT_CONFIRM = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
MESSAGE_TAB = "Table of Messages with Comp. Administration Context
IS_OK = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
.



IMPORTING Parameters details for HR_ECM_UI_HANDLE_PROCESS_DATA

PERNR_SELECTED_TAB - Table of Selected Persons in Compensation Scenario

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

COMP_DATA_CHANGED - Table of HRECM00COMP_UPDATE (sorted by PERNR)

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

FUNCTION - Screens, function code triggered by PAI

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

DESIRED_CURRENCY - Currency Key

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

EXPORTING Parameters details for HR_ECM_UI_HANDLE_PROCESS_DATA

BUDGET_TAB - Table of Budget Data Passed to User Interface

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

COMP_DATA_TAB - Table of Compensation Data Passed to User Interface

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

XEXIT_WITHOUT_CONFIRM - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

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

MESSAGE_TAB - Table of Messages with Comp. Administration Context

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

IS_OK - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

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

Copy and paste ABAP code example for HR_ECM_UI_HANDLE_PROCESS_DATA 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_budget_tab  TYPE HRECM00BUDGET_TAB, "   
lv_pernr_selected_tab  TYPE HRECM00PERNR_SELECTED_TAB, "   
lv_comp_data_tab  TYPE HRECM00COMP_DATA_TAB, "   
lv_comp_data_changed  TYPE HRECM00COMP_UPDATE_TAB, "   
lv_function  TYPE SYUCOMM, "   
lv_xexit_without_confirm  TYPE BOOLE_D, "   
lv_message_tab  TYPE HRECM00ADM_MESSAGE_TAB, "   
lv_desired_currency  TYPE WAERS, "   
lv_is_ok  TYPE BOOLE_D. "   

  CALL FUNCTION 'HR_ECM_UI_HANDLE_PROCESS_DATA'  "'PAI' for Compensation Administration MSS
    EXPORTING
         PERNR_SELECTED_TAB = lv_pernr_selected_tab
         COMP_DATA_CHANGED = lv_comp_data_changed
         FUNCTION = lv_function
         DESIRED_CURRENCY = lv_desired_currency
    IMPORTING
         BUDGET_TAB = lv_budget_tab
         COMP_DATA_TAB = lv_comp_data_tab
         XEXIT_WITHOUT_CONFIRM = lv_xexit_without_confirm
         MESSAGE_TAB = lv_message_tab
         IS_OK = lv_is_ok
. " HR_ECM_UI_HANDLE_PROCESS_DATA




ABAP code using 7.40 inline data declarations to call FM HR_ECM_UI_HANDLE_PROCESS_DATA

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.

 
 
 
 
 
 
 
 
 


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!