SAP Reports / Programs | Personnel Management | Compensation Management(PA-CM) SAP PA

RHCMPCHANGE_STATUS SAP ABAP Report - Status Changes for Compensation Adjustments







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RHCMPCHANGE_STATUS. "Basic submit
SUBMIT RHCMPCHANGE_STATUS AND RETURN. "Return to original report after report execution complete
SUBMIT RHCMPCHANGE_STATUS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RHCMPCHANGE_STATUS

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


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RHCMPCHANGE_STATUS or its description.