SAP Reports / Programs | Payroll | Philippines(PY-PH) SAP PY

HPHREDIF SAP ABAP INCLUDE - Include HPHREDIF







HPHREDIF 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 HPHREDIF 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 HPHREDIF. "Basic submit
SUBMIT HPHREDIF AND RETURN. "Return to original report after report execution complete
SUBMIT HPHREDIF 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: P_RPON = Ref.Pmnt Doc.num.
Selection Text: P_FNAME2 = File Path
Selection Text: P_FNAME1 =
Selection Text: P_DOC = Doc.num.
Selection Text: CUMYR_PR = Calendar Year
Selection Text: CUMNO_PR = Calendar Month
Title: Include HPHREDIF
Text Symbol: 037 = May
Text Symbol: 038 = June
Text Symbol: 039 = July
Text Symbol: 040 = August
Text Symbol: 041 = September
Text Symbol: 042 = October
Text Symbol: 043 = November
Text Symbol: 044 = December
Text Symbol: 045 = Payroll area &1 has not been exited for period &2
Text Symbol: 046 = Payroll area &1 has a status of exit for period &2
Text Symbol: 058 = Filename
Text Symbol: 059 = App.file
Text Symbol: 060 = Pres. file
Text Symbol: 061 = File Details
Text Symbol: 062 = MCL
Text Symbol: 063 = EPF
Text Symbol: 064 = Transfer Details
Text Symbol: 065 = Logical
Text Symbol: 066 = Physical
Text Symbol: 067 = Path/Directory
Text Symbol: 001 = Contribution Reports
Text Symbol: 004 = ER's SHARE:
Text Symbol: 005 = EE's SHARE:
Text Symbol: 006 = GRAND TOTALS:
Text Symbol: 008 = SSS MONTHLY CONTRIBUTION (R-5)
Text Symbol: 009 = EMPLOYER SHARE
Text Symbol: 010 = EMPLOYEE SHARE
Text Symbol: 011 = Cost Ctr SSS Med EC Total
Text Symbol: 012 = Cost Ctr SSS Med Total G.Total
Text Symbol: 014 = Employer:
Text Symbol: 015 = SSS number:





Text Symbol: 016 = Report Issued On:
Text Symbol: 017 = Applicable Month/Year:
Text Symbol: 018 = TOTAL NUMBER OF EMPLOYEES:
Text Symbol: 019 = Address:
Text Symbol: 024 = Page:
Text Symbol: 025 = Calender Month
Text Symbol: 026 = Calender Year
Text Symbol: 028 = Unable to retrieve complete details for company &1
Text Symbol: 029 = MESSAGES
Text Symbol: 030 = The results are up to payroll period &1 &2 only
Text Symbol: 031 = Could not read table &1
Text Symbol: 032 = Could not retrieve payroll results
Text Symbol: 033 = January
Text Symbol: 034 = February
Text Symbol: 035 = March
Text Symbol: 036 = April


INCLUDES used within this REPORT HPHREDIF

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:

HRCA_COMPANYCODE_GETDETAIL * CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' * EXPORTING * COMPANYCODE = COMPANY-BUKRS * LANGUAGE = SY-LANGU * IMPORTING * COMP_NAME = COMPANY-BUTXT * ADDRESS = HRCA_COMPANY-ADDRESS * EXCEPTIONS * NOT_FOUND = 1 * OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = ADDR1_SEL IMPORTING ADDRESS_VALUE = ADDR1_VAL EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.

WS_DOWNLOAD

GUI_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "Unicode CALL FUNCTION 'GUI_DOWNLOAD' "Unicode EXPORTING FILENAME = L_FILENAME "Unicode FILETYPE = FILETYPE APPEND = FILEMODE TABLES DATA_TAB = TRANSFER_OUT EXCEPTIONS DP_ERROR_CREATE = 1 "Unicode FILE_WRITE_ERROR = 2 NO_BATCH = 3 OTHERS = 10.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING BEG = first_day END = last_day IMPORTING FIRE_DATE = firedate HIRE_DATE = hiredate TABLES PPHIFI = phifi PP0000 = p0000 PP0001 = p0001.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING DAY_IN = first_day IMPORTING LAST_DAY_OF_MONTH = last_day EXCEPTIONS OTHERS = 2.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING CLIENT = SY-MANDT LOGICAL_FILENAME = l_filename OPERATING_SYSTEM = SY-OPSYS PARAMETER_1 = P_FNAME2 PARAMETER_2 = ' ' USE_PRESENTATION_SERVER = P_PRES WITH_FILE_EXTENSION = ' ' IMPORTING FILE_NAME = COMPLETE_FILENAME EXCEPTIONS FILE_NOT_FOUND = 1.

FILE_GET_NAME_USING_PATH CALL FUNCTION 'FILE_GET_NAME_USING_PATH' EXPORTING CLIENT = SY-MANDT LOGICAL_PATH = L_FILENAME OPERATING_SYSTEM = SY-OPSYS FILE_NAME = FILE USE_PRESENTATION_SERVER = P_PRES IMPORTING FILE_NAME_WITH_PATH = COMPLETE_FILENAME EXCEPTIONS PATH_NOT_FOUND = 1 MISSING_PARAMETER = 2 OPERATING_SYSTEM_NOT_FOUND = 3 FILE_SYSTEM_NOT_FOUND = 4 OTHERS = 5 .

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING FILENAME = p_fname2 QUERY = 'DE' EXCEPTIONS OTHERS = 4.

RP_CHECK_TAX_GROUPING CALL FUNCTION 'RP_CHECK_TAX_GROUPING' EXPORTING FIRST_DAY = c_first_day LAST_DAY = c_last_day SELECTION_GROUP = repo_grp CODE_GROUP = type_grp PERNR_NO = pernr IMPORTING CHANGED_FIRSTDAY = R_first_day CHANGED_LASTDAY = R_last_day EXCEPTIONS NO_CHANGE = 1 NOT_FOUND = 2 REP_GRP_CHANGED = 3 TAX_GRP_CHANGED = 4 OTHERS = 5 .



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