SAP Reports / Programs | Payroll | India(PY-IN) SAP PY

PCHRAIN0 SAP ABAP INCLUDE - Housing-India







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


Text pool values


Title: Housing-India


INCLUDES used within this REPORT PCHRAIN0

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:

HR_IN_CALC_MONTHS CALL FUNCTION 'HR_IN_CALC_MONTHS' EXPORTING SPLIT_BEGDA = WPBP-BEGDA SPLIT_ENDDA = WPBP-ENDDA IMPORTING SPLIT_MONTHS_FACTOR = NOMON.

HR_IN_GET_ALGRP_WT CALL FUNCTION 'HR_IN_GET_ALGRP_WT' EXPORTING EMPNO = PERNR-PERNR RFDATE = WPBP-BEGDA WTYPE = T7INR7-TAXCD IMPORTING LGART = WAGTY EXCEPTIONS OTHERS = 1.

HR_IN_CALC_MONTHS CALL FUNCTION 'HR_IN_CALC_MONTHS' EXPORTING SPLIT_BEGDA = IHRA-BEGDA SPLIT_ENDDA = IHRA-ENDDA IMPORTING SPLIT_MONTHS_FACTOR = NOMON.

HR_IN_CALC_MONTHS CALL FUNCTION 'HR_IN_CALC_MONTHS' EXPORTING SPLIT_BEGDA = IHRA-BEGDA SPLIT_ENDDA = IHRA-ENDDA IMPORTING SPLIT_MONTHS_FACTOR = NOMON.

HR_IN_CALC_MONTHS CALL FUNCTION 'HR_IN_CALC_MONTHS' EXPORTING SPLIT_BEGDA = PAP_ENDDA SPLIT_ENDDA = IHRA-ENDDA IMPORTING SPLIT_MONTHS_FACTOR = NOMONP.

RP_HIRE_FIRE call function 'RP_HIRE_FIRE' EXPORTING beg = pn-begda end = pn-endda IMPORTING fire_date = HSG_VALID_TO HIRE_DATE = HSG_VALID_FROM TABLES pphifi = phifi pp0000 = p0000 pp0001 = p0001 EXCEPTIONS others = 1.

HR_IN_CALC_MONTHS CALL FUNCTION 'HR_IN_CALC_MONTHS' EXPORTING SPLIT_BEGDA = hsg_valid_from SPLIT_ENDDA = hsg_valid_to IMPORTING SPLIT_MONTHS_FACTOR = NOMON_EMPLOYED.

HR_IN_CALC_MONTHS CALL FUNCTION 'HR_IN_CALC_MONTHS' EXPORTING split_begda = st_date split_endda = ed_date IMPORTING SPLIT_MONTHS_FACTOR = NO_MONTHS.

HR_IN_CALC_MONTHS CALL FUNCTION 'HR_IN_CALC_MONTHS' EXPORTING split_begda = st_date split_endda = ed_date IMPORTING SPLIT_MONTHS_FACTOR = NO_MONTHS.



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