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

HTWLHIQ0 SAP ABAP Report - NHI Quit report







HTWLHIQ0 is a standard Executable ABAP Report 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 HTWLHIQ0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M42_LHIQ - NHI legal reporting Quit 42


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 HTWLHIQ0. "Basic submit
SUBMIT HTWLHIQ0 AND RETURN. "Return to original report after report execution complete
SUBMIT HTWLHIQ0 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: TEST = Test
Selection Text: REPDT = Report date
Selection Text: P_LFVAR = Form Variant
Selection Text: P_LFORM = Form Name
Selection Text: NO_SAVE = No actual download
Title: NHI Quit report
Text Symbol: 067 = F_CALL
Text Symbol: 065 = F_A_GBDAT
Text Symbol: 064 = F_A_IDNUM
Text Symbol: 063 = F_A_NAME
Text Symbol: 062 = F_B_GBDAT
Text Symbol: 061 = F_B_IDNUM
Text Symbol: 060 = F_B_NAME
Text Symbol: 058 = REASON_DATE
Text Symbol: 057 = TRANS
Text Symbol: 056 = QUIT
Text Symbol: 055 = NHI_DATE
Text Symbol: 054 = REASON
Text Symbol: 053 = F_RELATION
Text Symbol: 052 = F_GBDAT
Text Symbol: 051 = F_IDNUM
Text Symbol: 050 = F_NAME
Text Symbol: 068 = CODE
Text Symbol: 070 = Successfully!
Text Symbol: 071 = Failed
Text Symbol: 072 = Confirm
Text Symbol: 073 = will be overwritten?
Text Symbol: 080 = Succeeded
Text Symbol: 081 = Failed
Text Symbol: 082 = Default local File Name
Text Symbol: 083 = will be overwritten
Text Symbol: 084 = Confirm
Text Symbol: 090 = Download failed
Text Symbol: 091 = Download succeeded
Text Symbol: 092 = Download
Text Symbol: 103 = Print option
Text Symbol: 200 = Choose diskette file for download
Text Symbol: T01 = Update





Text Symbol: 049 = FAM_FLAG
Text Symbol: 001 = LI
Text Symbol: 002 = NHI
Text Symbol: 003 = Labour Insurance
Text Symbol: 004 = National Health Insurance
Text Symbol: 005 = Join
Text Symbol: 006 = Quit
Text Symbol: 007 = Adjust
Text Symbol: 008 = Change
Text Symbol: 010 = Report
Text Symbol: 011 = Insurance type
Text Symbol: 012 = Report type
Text Symbol: 013 = Insurance Number
Text Symbol: 015 = EE
Text Symbol: 016 = Dependent
Text Symbol: 019 = Total NHI reported EE
Text Symbol: 021 = Total selected person
Text Symbol: 022 = Total NHI reported persons
Text Symbol: 023 = Non NHI reported EE
Text Symbol: 024 = Total error
Text Symbol: 030 = PERNR
Text Symbol: 031 = NAME
Text Symbol: 032 = IDNUM
Text Symbol: 033 = GBDAT
Text Symbol: 034 = ER
Text Symbol: 035 = AMOUNT
Text Symbol: 036 = B_AMT
Text Symbol: 037 = A_AMT
Text Symbol: 038 = REMARK
Text Symbol: 039 = TABLE_CAT
Text Symbol: 040 = B_NAME
Text Symbol: 041 = B_IDNUM
Text Symbol: 042 = B_GBDAT
Text Symbol: 043 = A_NAME
Text Symbol: 044 = A_IDNUM
Text Symbol: 045 = A_GBDAT
Text Symbol: 046 = SUBTY
Text Symbol: 047 = OBJPS
Text Symbol: 048 = SEQNR





INCLUDES used within this REPORT HTWLHIQ0

INCLUDE PLHIITW0_ALV. " LI/NHI COMMON ROUTINES


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 = 'A3BE' utf16_code = '02C7' utf8_code = 'CB87' IMPORTING chinese_character = nhi_quit-quit_flag.

HR_TW_GET_CHINESE CALL FUNCTION 'HR_TW_GET_CHINESE' EXPORTING non_uni_code = 'A3BE' utf16_code = '02C7' utf8_code = 'CB87' IMPORTING chinese_character = nhi_quit-trans_flag.

HR_TW_GET_CHINESE CALL FUNCTION 'HR_TW_GET_CHINESE' EXPORTING non_uni_code = 'A3BE' utf16_code = '02C7' utf8_code = 'CB87' IMPORTING chinese_character = nhi_quit-quit_flag.

HR_TW_GET_CHINESE CALL FUNCTION 'HR_TW_GET_CHINESE' EXPORTING non_uni_code = 'A3BE' utf16_code = '02C7' utf8_code = 'CB87' IMPORTING chinese_character = nhi_quit-trans_flag.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING I_S_DISPLAY_PROFILE = gs_display_profile EXCEPTIONS PROGRAM_ERROR = 1 NO_LOGS = 2 OTHERS = 3.

HR_TW_GET_CHINESE CALL FUNCTION 'HR_TW_GET_CHINESE' EXPORTING non_uni_code = 'A3BE' utf16_code = '02C7' utf8_code = 'CB87' IMPORTING chinese_character = ee_head-fam_flag.

HR_PAL_STATS_MSG_ADD CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = iv_stcnt i_nodid = iv_nodid i_nodpa = iv_nodpa i_msgid = iv_msgid i_msgty = iv_msgty i_msgno = iv_msgno i_msgv1 = iv_msgv1 EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = gv_repid I_STRUCTURE_NAME = ic_structure_name CHANGING CT_FIELDCAT = xt_fieldcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = xt_events EXCEPTIONS LIST_TYPE_WRONG = 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 HTWLHIQ0 or its description.