SAP Reports / Programs

HKRCCMSC SAP ABAP Report - List for changes of monthly standard compensation







HKRCCMSC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This is a program used for reporting changes for monthly standard compensation in current month...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 HKRCCMSC 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 HKRCCMSC. "Basic submit
SUBMIT HKRCCMSC AND RETURN. "Return to original report after report execution complete
SUBMIT HKRCCMSC 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: AVE =
Selection Text: GEN =
Selection Text: S_BUPLA = Business place
Selection Text: S_MIMF = Social Insurance Modifier
Title: List for changes of monthly standard compensation
Text Symbol: 001 = Additional data
Text Symbol: 002 = Selection of list type
Text Symbol: 003 = Error in open_form
Text Symbol: 004 = Error in write_form printing data of main
Text Symbol: E00 = Personnel no. :
Text Symbol: E01 = The imported version of the cluster
Text Symbol: E02 = is not up to date
Text Symbol: E03 = Imported version :
Text Symbol: E04 = Current version of cluster :
Text Symbol: E07 = Inconsistencies between cluster directory and directory for payroll results
Text Symbol: E08 = No payroll results found for data in cluster directory
Text Symbol: E09 = Please contact hotline to solve the current problem
Text Symbol: E10 = Key to cluster RD
Text Symbol: TY1 = General
Text Symbol: TY2 = Average


INCLUDES used within this REPORT HKRCCMSC

INCLUDE: PCTYPKR0, "TYPE GROUP
PCCLSKR1, "PAYROLL CLUSTER DECLARATION
HKRMIDAT.


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_KR_F4_BUSINESS_PLACE CALL FUNCTION 'HR_KR_F4_BUSINESS_PLACE' * EXPORTING * COMPANY_CODE = IMPORTING BUS_PLACE = S_BUPLA-LOW .

HR_KR_F4_BUSINESS_PLACE CALL FUNCTION 'HR_KR_F4_BUSINESS_PLACE' * EXPORTING * COMPANY_CODE = IMPORTING BUS_PLACE = S_BUPLA-HIGH.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING FORMAT = P0002-KNZNM MOLGA = '41' PP0002 = P0002 LANGU = SY-LANGU IMPORTING EDIT_NAME = CNAME.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING PERSNR = P_PERNR TABLES IN_RGDIR = RGDIR EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.

HR_KR_BUSINESSPLACE_GET_DATA CALL FUNCTION 'HR_KR_BUSINESSPLACE_GET_DATA' EXPORTING PERS_AREA = PERS_AREA PERS_SUBAREA = PERS_SUBA IMPORTING BUS_PLACE_DETAIL = BIZ_PLACE.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING FORM = FORMNAME DEVICE = 'PRINTER' LANGUAGE = SY-LANGU DIALOG = 'X' EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 OTHERS = 6.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING WINDOW = 'TEXT1' ELEMENT = 'DATA' FUNCTION = 'SET' TYPE = 'BODY'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING WINDOW = 'MAIN' ELEMENT = 'DATA' FUNCTION = 'SET' TYPE = 'BODY' IMPORTING PENDING_LINES = PENDING.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM'.

CURRENCY_AMOUNT_SAP_TO_IDOC * CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_IDOC' * EXPORTING * CURRENCY = 'KRW' * SAP_AMOUNT = P_BETRG * IMPORTING * IDOC_AMOUNT = P_AMOUNT.

CURRENCY_AMOUNT_SAP_TO_IDOC CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_IDOC' EXPORTING CURRENCY = 'KRW' SAP_AMOUNT = P_BETRG IMPORTING IDOC_AMOUNT = S_AMOUNT.



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