SAP Reports / Programs | Payroll | Thailand(PY-TH) SAP PY

PCSSCTH0 SAP ABAP INCLUDE - Social Security Calculation for Payroll Accounting (Thailand)







PCSSCTH0 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 PCSSCTH0 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 PCSSCTH0. "Basic submit
SUBMIT PCSSCTH0 AND RETURN. "Return to original report after report execution complete
SUBMIT PCSSCTH0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Social Security Calculation for Payroll Accounting (Thailand)


INCLUDES used within this REPORT PCSSCTH0

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:

RP_GET_SS_RATES_TH CALL FUNCTION 'RP_GET_SS_RATES_TH' EXPORTING PERNO = PERNR-PERNR CATGE = P_CATGE BEGDA = P_BEGDA ENDDA = P_ENDDA IMPORTING EMP_STAT_RATE = P_EMP_STAT_RATE EMPR_STAT_RATE = P_EMPR_STAT_RATE EMP_COMP_RATE = P_EMP_COMP_RATE EMPR_COMP_RATE = P_EMPR_COMP_RATE EXCEPTIONS TABLE_ENTRY_NOT_FOUND = 1 OTHERS = 2.

RP_READ_T100 CALL FUNCTION 'RP_READ_T100' EXPORTING ARBGB = SY-MSGID MSGNR = SY-MSGNO MSGV1 = SY-MSGV1 MSGV2 = SY-MSGV2 MSGV3 = SY-MSGV3 MSGV4 = SY-MSGV4 SPRSL = SY-LANGU IMPORTING TEXT = MESSAGE_TEXT EXCEPTIONS NO_ENTRY_FOUND = 1 OTHERS = 2.

RP_CHECK_PAYROLL_PERIOD_TH CALL FUNCTION 'RP_CHECK_PAYROLL_PERIOD_TH' EXPORTING ABKRS = APER-ABKRS PABRJ = PAYYEAR PABRP = PAYPER CUMTY = 'M' IMPORTING RESULT = RESULT *EDEAHRK057015 15091999 Don't need exceptions since we don't check them * PAYROLL_MONTH = MONTH * EXCEPTIONS * TABLE_ENTRY_NOT_FOUND = 1 * OTHERS = 2.



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