SAP Reports / Programs | Payroll | Hong Kong(PY-HK) SAP PY

PRMCSHK0 SAP ABAP INCLUDE - HR-HK: Payroll common forms for MPF/ORSO Contribution (SI)







PRMCSHK0 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter PRMCSHK0 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 PRMCSHK0. "Basic submit
SUBMIT PRMCSHK0 AND RETURN. "Return to original report after report execution complete
SUBMIT PRMCSHK0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: HR-HK: Payroll common forms for MPF/ORSO Contribution (SI)


INCLUDES used within this REPORT PRMCSHK0

No INCLUDES are used within this REPORT code!


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:

COMPUTE_YEARS_BETWEEN_DATES CALL FUNCTION 'COMPUTE_YEARS_BETWEEN_DATES' EXPORTING FIRST_DATE = P0002-GBDAT * MODIFY_INTERVAL = ' ' SECOND_DATE = PAYROLL_DATES-BEGDA IMPORTING YEARS_BETWEEN_DATES = G_EMPLOYEE_AGE EXCEPTIONS SEQUENCE_OF_DATES_NOT_VALID = 1 OTHERS = 2.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING BEG = '18000101' END = '99991231' IMPORTING * fire_date = HIRE_DATE = G_HIRE_DATE TABLES PPHIFI = PHIFI PP0000 = P0000 PP0001 = P0001 EXCEPTIONS OTHERS = 1.

HR_HK_DIFF_BT_2_DATES CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES' EXPORTING DATE1 = L_ENDDA DATE2 = L_BEGDA OUTPUT_FORMAT = P_OUTPUT_FORMAT IMPORTING YEARS = L_YEARS1 MONTHS = L_MONTHS1 DAYS = L_DAYS1 EXCEPTIONS OTHERS = 1.

HR_HK_TOTAL_YOS CALL FUNCTION 'HR_HK_TOTAL_YOS' EXPORTING YEARS1 = L_YEARS1 MONTHS1 = L_MONTHS1 DAYS1 = L_DAYS1 YEARS2 = L_YEARS2 MONTHS2 = L_MONTHS2 DAYS2 = L_DAYS2 OUTPUT_FORMAT = P_OUTPUT_FORMAT IMPORTING YEARS = G_TOTAL_YEARS * months = g_total_months * days = g_total_days EXCEPTIONS OTHERS = 1.



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