SAP Reports / Programs | Payroll | Taiwan(PY-TW) SAP PY

PLHIITW0 SAP ABAP INCLUDE - Common routines, LI/NHI reports







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


Text pool values


Title: Common routines, LI/NHI reports


INCLUDES used within this REPORT PLHIITW0

INCLUDE RPUMKC00.


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_TW_GET_CHINESE CALL FUNCTION 'HR_TW_GET_CHINESE' EXPORTING non_uni_code = 'A67E' utf16_code = '5E74' utf8_code = 'E5B9B4' IMPORTING chinese_character = c_year.

HR_TW_GET_CHINESE CALL FUNCTION 'HR_TW_GET_CHINESE' EXPORTING non_uni_code = 'A4EB' utf16_code = '6708' utf8_code = 'E69C88' IMPORTING chinese_character = c_month.

HR_TW_GET_CHINESE CALL FUNCTION 'HR_TW_GET_CHINESE' EXPORTING non_uni_code = 'A4E9' utf16_code = '65E5' utf8_code = 'E697A5' IMPORTING chinese_character = c_date.

HR_TW_DATE CALL FUNCTION 'HR_TW_DATE' EXPORTING date_in_western = p_gbdat IMPORTING tw_year = gyear month = gbmon day = gbday before_tw_date = qian EXCEPTIONS input_date_is_initial = 1 OTHERS = 2.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = p_pernr arbgb = p_msgid msgty = p_msgty msgno = p_msgno msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4 EXCEPTIONS OTHERS = 1.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = p_pernr arbgb = p_msgid msgty = p_msgty msgno = p_msgno msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4 EXCEPTIONS OTHERS = 1.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = p_pernr arbgb = p_msgid msgty = p_msgty msgno = p_msgno msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4 EXCEPTIONS OTHERS = 1.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = space * tables * error = error_int EXCEPTIONS invalid_linesize = 1 OTHERS = 2.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = $bukrs language = sy-langu IMPORTING address = addr1_sel-addrnumber * TABLES * APPENDIX = EXCEPTIONS not_found = 1 OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = addr1_sel * ADDRESS_GROUP = * READ_SADR_ONLY = ' ' * READ_TEXTS = ' ' IMPORTING * ADDRESS_VALUE = ADDR1_VAL * ADDRESS_ADDITIONAL_INFO = * RETURNCODE = * ADDRESS_TEXT = sadr = t_sadr * TABLES * ADDRESS_GROUPS = * ERROR_TABLE = * VERSIONS = EXCEPTIONS parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 OTHERS = 5.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING * BASIC_LIST_TITLE = * FILE_NAME = SY-REPID "LINIAHRK036779 file_name = repid "LINIAHRK036779 * lay_out = 1 IMPORTING return_code = return_code TABLES data_tab = $data_tab select_tab = $select_tab fieldname_tab = $fieldnames EXCEPTIONS download_problem = 1 no_data_tab_entries = 2 table_mismatch = 3 print_problems = 4 OTHERS = 5.

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.

HR_KR_STRING_TO_XSTRING CALL FUNCTION 'HR_KR_STRING_TO_XSTRING' EXPORTING codepage_to = '8300' unicode_string = in_str out_len = length IMPORTING xstring_stream = out_xstr.



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