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

HPHRHDMF SAP ABAP INCLUDE - Include HPHLHDMF








HPHRHDMF is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Check out the submitted Comments related to this SAP report or see any standard documentation available. Also check out 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 HPHRHDMF into the relevant SAP transactions such as SE38 or SE80

ABAP code to call this SAP report using the submit statement

SUBMIT HPHRHDMF. "Basic submit

SUBMIT HPHRHDMF AND RETURN. "Return to original report after report execution complete

SUBMIT HPHRHDMF VIA SELECTION-SCREEN. "Display selection screen of submitted report to user

See more syntax options for the ABAP SUBMIT statement

Contribute (Add Comments)
Below is the basic information available for SAP report HPHRHDMF and is provided for your convenience to access as and when required. Although the 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 HPHRHDMF or its description.

INCLUDES used within this REPORT:

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 = COMP_DET-BUKRS * LANGUAGE = SY-LANGU * IMPORTING * COMP_NAME = COMP_DET-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.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING DAY_IN = REP_BEGDA IMPORTING LAST_DAY_OF_MONTH = REP_ENDDA EXCEPTIONS DAY_IN_NO_DATE = 1 OTHERS = 2.

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 = file_tab1 exceptions DP_ERROR_CREATE = 1 "Unicode file_write_error = 2 no_batch = 3 others = 10.

RP_CHECK_TAX_GROUPING CALL FUNCTION 'RP_CHECK_TAX_GROUPING' EXPORTING FIRST_DAY = P_REP_BEGDA LAST_DAY = P_REP_ENDDA SELECTION_GROUP = p_hdmfgrp CODE_GROUP = type_grp PERNR_NO = p_pernr IMPORTING CHANGED_FIRSTDAY = R_REP_BEGDA CHANGED_LASTDAY = R_REP_ENDDA EXCEPTIONS NO_CHANGE = 1 NOT_FOUND = 2 REP_GRP_CHANGED = 3 TAX_GRP_CHANGED = 4 OTHERS = 5 .

HR_FEATURE_BACKFIELD "CALL FUNCTION 'HR_FEATURE_BACKFIELD' " EXPORTING " FEATURE = '48STA' " STRUC_CONTENT = ls_status "* KIND_OF_ERROR = " IMPORTING " BACK = lv_status " EXCEPTIONS " DUMMY = 1 " ERROR_OPERATION = 2 " NO_BACKVALUE = 3 " FEATURE_NOT_GENERATED = 4 " INVALID_SIGN_IN_FUNID = 5 " FIELD_IN_REPORT_TAB_IN_PE03 = 6 " OTHERS = 7.

HR_ENTRY_DATE " CALL FUNCTION 'HR_ENTRY_DATE' " EXPORTING " persnr = pernr-pernr " BEGDA = REP_BEGDA " ENDDA = REP_ENDDA " IMPORTING " ENTRYDATE = HIREDATE " EXCEPTIONS " ENTRY_DATE_NOT_FOUND = 1 " PERNR_NOT_ASSIGNED = 2 " OTHERS = 3.

HR_LEAVING_DATE " CALL FUNCTION 'HR_LEAVING_DATE' " EXPORTING " persnr = pernr-pernr " BEGDA = REP_BEGDA " ENDDA = REP_ENDDA " IMPORTING " LEAVINGDATE = FIREDATE " EXCEPTIONS " LEAVING_DATE_NOT_FOUND = 1 " PERNR_NOT_ASSIGNED = 2 " OTHERS = 3.




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.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = pv_filename filetype = 'ASC' append = pv_append write_field_separator = 'X' TABLES data_tab = pt_datatab EXCEPTIONS dp_error_create = 1 file_write_error = 2 no_batch = 3.


Text pool values


Title: Include HPHLHDMF
Text Symbol: 043 = Comp. Code
Text Symbol: 042 = Personal Nr
Text Symbol: 041 = Messages Report
Text Symbol: 040 = Employee is exempted from Pag-IBIG contributions
Text Symbol: 039 = Unknown
Text Symbol: 038 = Government
Text Symbol: 037 = Private
Text Symbol: 036 = Could not retrieve complete details for company &1
Text Symbol: 035 = Number of Employees
Text Symbol: 034 = Total figures for company
Text Symbol: 032 = Could not retrieve payroll results
Text Symbol: 031 = Could not read table &1
Text Symbol: 030 = The results are for payroll period &1 &2, payroll area &3
Text Symbol: 029 = December
Text Symbol: 028 = November
Text Symbol: 027 = October
Text Symbol: 026 = September
Text Symbol: 025 = August
Text Symbol: 024 = July
Text Symbol: 023 = June
Text Symbol: 022 = May
Text Symbol: 021 = April
Text Symbol: 020 = March
Text Symbol: 019 = February
Text Symbol: 018 = January
Text Symbol: 017 = Calendar Year
Text Symbol: 016 = Calendar Month
Text Symbol: 015 = Page
Text Symbol: 014 = TOTAL
Text Symbol: 013 = Employer
Text Symbol: 012 = Employee
Text Symbol: 011 = CONTRIBUTIONS
Text Symbol: 010 = Middle Name
Text Symbol: 009 = First Name


Text Symbol: 008 = Last Name
Text Symbol: 007 = Pag-IBIG No.
Text Symbol: 006 = Employer Class
Text Symbol: 005 = Applicable Month/Year
Text Symbol: 004 = SSS Id No.
Text Symbol: 003 = Address
Text Symbol: 002 = Employer
Text Symbol: 001 = FORM M-1