HR_ECM_HANDLE_PROCESS_DATA is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name HR_ECM_HANDLE_PROCESS_DATA into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRECM00HANDLER
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'HR_ECM_HANDLE_PROCESS_DATA' ""PAI" for Compensation administration (MSS)
EXPORTING
pernr_selected_tab = " hrecm00pernr_selected_tab Table of Selected Persons in Compensation Scenario
comp_update_tab = " hrecm00comp_update_tab Table of HRECM00COMP_UPDATE (sorted by PERNR)
function = " syucomm Screens, function code triggered by PAI
* desired_curre = " waers Currency Key
message_handler = " if_hrpa_message_handler HR Master Data: Messages
IMPORTING
proc_planned_tab = " hrecm00proc_info_tab Table of compensation processes planned in current review
proc_admin_tab = " hrecm00proc_admin_tab Table of administration data for compensation processes
budget_link_tab = " hrecm00budget_link_tab Table of links between employee and budget unit (sorted)
budget_admin_tab = " hrecm00budget_admin_tab Table of budget data for Compensation Administration
plan_tab = " hrecm00comp_plan_tab Table of compensation plan data
xexit_without_confirm = " boole_d Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
is_ok = " boole_d Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
. " HR_ECM_HANDLE_PROCESS_DATA
The ABAP code below is a full code listing to execute function module HR_ECM_HANDLE_PROCESS_DATA including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_proc_planned_tab | TYPE HRECM00PROC_INFO_TAB , |
| ld_proc_admin_tab | TYPE HRECM00PROC_ADMIN_TAB , |
| ld_budget_link_tab | TYPE HRECM00BUDGET_LINK_TAB , |
| ld_budget_admin_tab | TYPE HRECM00BUDGET_ADMIN_TAB , |
| ld_plan_tab | TYPE HRECM00COMP_PLAN_TAB , |
| ld_xexit_without_confirm | TYPE BOOLE_D , |
| ld_is_ok | TYPE BOOLE_D . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_proc_planned_tab | TYPE HRECM00PROC_INFO_TAB , |
| ld_pernr_selected_tab | TYPE HRECM00PERNR_SELECTED_TAB , |
| ld_proc_admin_tab | TYPE HRECM00PROC_ADMIN_TAB , |
| ld_comp_update_tab | TYPE HRECM00COMP_UPDATE_TAB , |
| ld_budget_link_tab | TYPE HRECM00BUDGET_LINK_TAB , |
| ld_function | TYPE SYUCOMM , |
| ld_budget_admin_tab | TYPE HRECM00BUDGET_ADMIN_TAB , |
| ld_desired_curre | TYPE WAERS , |
| ld_plan_tab | TYPE HRECM00COMP_PLAN_TAB , |
| ld_message_handler | TYPE IF_HRPA_MESSAGE_HANDLER , |
| ld_xexit_without_confirm | TYPE BOOLE_D , |
| ld_is_ok | TYPE BOOLE_D . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name HR_ECM_HANDLE_PROCESS_DATA or its description.
HR_ECM_HANDLE_PROCESS_DATA - "PAI" for Compensation administration (MSS) HR_ECM_HANDLE_NEW_EFFDT - Handle change of effective date HR_ECM_HANDLE_NEW_CURRE - Convert currency of compensation data HR_ECM_HANDLE_GDL_APPLICATION - Update process by defaults from guideline HR_ECM_GET_VESTING_SCHEDULE - Get Vesting Schedule HR_ECM_GET_VESTING_RULE - Get Vesting Rule