SAP Function Modules

HR_ECM_UPD_ALL_BDGS_NEW_EFFDT SAP Function module - Update of internal budgeting data for all records with changed eff. date







HR_ECM_UPD_ALL_BDGS_NEW_EFFDT 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_UPD_ALL_BDGS_NEW_EFFDT into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: HRECM00ADMBUDGET
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM HR_ECM_UPD_ALL_BDGS_NEW_EFFDT - HR ECM UPD ALL BDGS NEW EFFDT





CALL FUNCTION 'HR_ECM_UPD_ALL_BDGS_NEW_EFFDT' "Update of internal budgeting data for all records with changed eff. date
  EXPORTING
*   crevi =                     " ecm_crevi     Compensation Review
    comp_update_tab =           " hrecm00comp_update_tab  Table of HRECM00COMP_UPDATE (sorted by PERNR)
    proc_planned_tab =          " hrecm00proc_info_tab  Table of compensation processes planned in current review
    desired_curre =             " waers         Currency Key
    message_handler =           " if_hrpa_message_handler  HR Master Data: Messages
  IMPORTING
    is_ok =                     " boole_d       Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
  CHANGING
    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_data_tab =           " hrecm00budget_admin_tab  Table of budget data for Compensation Administration
    .  "  HR_ECM_UPD_ALL_BDGS_NEW_EFFDT

ABAP code example for Function Module HR_ECM_UPD_ALL_BDGS_NEW_EFFDT





The ABAP code below is a full code listing to execute function module HR_ECM_UPD_ALL_BDGS_NEW_EFFDT 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).

DATA:
ld_is_ok  TYPE BOOLE_D .

DATA(ld_proc_admin_tab) = 'Check type of data required'.
DATA(ld_budget_link_tab) = 'Check type of data required'.
DATA(ld_budget_data_tab) = 'Check type of data required'.
DATA(ld_crevi) = 'Check type of data required'.
DATA(ld_comp_update_tab) = 'Check type of data required'.
DATA(ld_proc_planned_tab) = 'Check type of data required'.
DATA(ld_desired_curre) = 'Check type of data required'.
DATA(ld_message_handler) = 'Check type of data required'. . CALL FUNCTION 'HR_ECM_UPD_ALL_BDGS_NEW_EFFDT' EXPORTING * crevi = ld_crevi comp_update_tab = ld_comp_update_tab proc_planned_tab = ld_proc_planned_tab desired_curre = ld_desired_curre message_handler = ld_message_handler IMPORTING is_ok = ld_is_ok CHANGING proc_admin_tab = ld_proc_admin_tab budget_link_tab = ld_budget_link_tab budget_data_tab = ld_budget_data_tab . " HR_ECM_UPD_ALL_BDGS_NEW_EFFDT
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_admin_tab  TYPE HRECM00PROC_ADMIN_TAB ,
ld_is_ok  TYPE BOOLE_D ,
ld_crevi  TYPE ECM_CREVI ,
ld_budget_link_tab  TYPE HRECM00BUDGET_LINK_TAB ,
ld_comp_update_tab  TYPE HRECM00COMP_UPDATE_TAB ,
ld_budget_data_tab  TYPE HRECM00BUDGET_ADMIN_TAB ,
ld_proc_planned_tab  TYPE HRECM00PROC_INFO_TAB ,
ld_desired_curre  TYPE WAERS ,
ld_message_handler  TYPE IF_HRPA_MESSAGE_HANDLER .

ld_proc_admin_tab = 'Check type of data required'.
ld_crevi = 'Check type of data required'.
ld_budget_link_tab = 'Check type of data required'.
ld_comp_update_tab = 'Check type of data required'.
ld_budget_data_tab = 'Check type of data required'.
ld_proc_planned_tab = 'Check type of data required'.
ld_desired_curre = 'Check type of data required'.
ld_message_handler = 'Check type of data required'.

Contribute (Add Comments)

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_UPD_ALL_BDGS_NEW_EFFDT or its description.