RHCMPCHANGE_STATUS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Status Change for Compensation Adjustments With this report you can centrally change the status of existing compensation adjustments for many employees at once...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RHCMPCHANGE_STATUS into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: OUTP_FL = D Display Log
Title: Status Changes for Compensation Adjustments
Text Symbol: ZEH = Time Unit
Text Symbol: VPL = Planning Period
Text Symbol: VAG = Adjustment Reason
Text Symbol: VAA = Adjustment Type
Text Symbol: STA = Status Change
Text Symbol: PVW = Further Person Selection
Text Symbol: CHK = Other Data
Text Symbol: BIS = to
Text Symbol: ADJ = Comp. Adjustment
Text Symbol: 005 = Status Changes for Compensation Adjustments
Text Symbol: 004 = Error Messages
Text Symbol: 001 = There were no errors
INCLUDE RHCMPCHANGE_STATUS_F02. "SELECTION SCREEN
INCLUDE RHCMPCHANGE_STATUS_F01. "FORM ROUTINES
INCLUDE RHCMPCHANGE_STATUS_O01. "PBO MODULES
INCLUDE RHCMPCREATE_ADJUSTMENTS_F03. "SHARED FORM ROUTINES
No SAP DATABASE tables are accessed within this REPORT code!
HR_COUNTRYGROUPING_GET CALL FUNCTION 'HR_COUNTRYGROUPING_GET' EXPORTING pernr = pernr-pernr begda = p0001-begda endda = p0001-endda werks = p0001-werks IMPORTING molga = molga EXCEPTIONS not_found = 1 OTHERS = 2.
HRCM_ADJ_READ_AND_SET_STATUS CALL FUNCTION 'HRCM_ADJ_READ_AND_SET_STATUS' EXPORTING cproc = hrcm_entry-procs cplan = hrcm_entry-cplan cstat = fr_stat new_cstat = to_stat cyear = hrcm_entry-pyear reaction = reaction IMPORTING subrc = subrc TABLES pernr_table = pernr_table[] pernr_error_table = err_pernr_tab[] error_table = error_table CHANGED_ADJUSTMENTS = tmp_p0380[] EXCEPTIONS no_employees_found = 1 no_adjustment_types_found = 2 unknown_plan_period = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RHCMPCHANGE_STATUS - Status Changes for Compensation Adjustments RHCMPCHANGE_STATUS - Status Changes for Compensation Adjustments RHCMPBUDGETINITF02 - documentation and ABAP source code RHCMPBUDGETINITF01 - documentation and ABAP source code RHCMPBUDGETINIT - Data transfer to budgeting from other applications RHCMPBUDGETINIT - Data transfer to budgeting from other applications