SAP Reports / Programs

HTWLAM00 SAP ABAP Report - Read payroll result and update infotype 0354/0355/0818







HTWLAM00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to regularly update employee's Labor Insurance, National Health Insurance and New Pension insurance amount in the Labor Insurance (LI) infotype 0345, the National Health Insurance (NHI) infotype 0355, the New Pension (NP) infotype 0818...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and 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 HTWLAM00 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_LAM0 - LI/NHI amount adjust from payroll 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 HTWLAM00. "Basic submit
SUBMIT HTWLAM00 AND RETURN. "Return to original report after report execution complete
SUBMIT HTWLAM00 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 run
Selection Text: P_ACTSY = D .
Selection Text: MAP_NAME = Batch input/queue
Title: Read payroll result and update infotype 0354/0355/0818
Text Symbol: 041 = Name
Text Symbol: 042 = ID Number
Text Symbol: 043 = Effective date
Text Symbol: 044 = ¦~
Text Symbol: 045 = ¤ë
Text Symbol: 046 = ¤é
Text Symbol: 047 = Reason
Text Symbol: 048 = Prorate
Text Symbol: 049 = Comment
Text Symbol: 050 = Prorated in period &1: Actual day is &2, Total day is &3.
Text Symbol: 052 = LI/NHI Minimum Amount
Text Symbol: 053 = Labor Insurance
Text Symbol: 054 = National Health Insurance
Text Symbol: 055 = Adjust
Text Symbol: 056 = Run date:
Text Symbol: 057 = Reason for amount decrease
Text Symbol: 058 = LI, NHI and NP
Text Symbol: 059 = Total listed NHI
Text Symbol: 060 = Total listed NP
Text Symbol: 061 = New Pension
Text Symbol: 062 = Processing Incomplete Periods
Text Symbol: 065 = Salary
Text Symbol: 066 = Average Salary of Last 3 Periods
Text Symbol: 103 = Create Batch
Text Symbol: 300 = Persons selected
Text Symbol: 301 = Insurance Type
Text Symbol: 901 = List LI/NHI/NP
Text Symbol: 902 = List LI
Text Symbol: 903 = LIST NHI
Text Symbol: 904 = Batch
Text Symbol: 905 = List NP
Text Symbol: 040 = Birthdate
Text Symbol: 001 = NHI, LI and NP average premium
Text Symbol: 002 = 0354





Text Symbol: 003 = 0355
Text Symbol: 004 = Update Infotype Selection
Text Symbol: 005 = Number of past periods
Text Symbol: 006 = Error in batch input:
Text Symbol: 007 = Test:
Text Symbol: 008 = Basic Salary year/month
Text Symbol: 009 = to
Text Symbol: 010 = Last LI/NHI/NP data
Text Symbol: 011 = Schema
Text Symbol: 012 = Range of past periods
Text Symbol: 013 = Last reported data
Text Symbol: 014 = Infotype
Text Symbol: 018 = Processing list ...
Text Symbol: 019 = Effective date:
Text Symbol: 021 = Total selected persons
Text Symbol: 022 = Total listed LI
Text Symbol: 023 = Total error
Text Symbol: 024 = Total warning
Text Symbol: 025 = Pers.no.
Text Symbol: 026 = Inf type
Text Symbol: 027 = Category
Text Symbol: 028 = Amount
Text Symbol: 029 = Currency
Text Symbol: 030 = List of amount adjust
Text Symbol: 031 = Period:
Text Symbol: 032 = To
Text Symbol: 033 = Start date from IT 0354 :
Text Symbol: 034 = Start date from IT 0354 :
Text Symbol: 035 = Old class
Text Symbol: 036 = Old amount
Text Symbol: 037 = New amount
Text Symbol: 038 = First name
Text Symbol: 039 = Last name


INCLUDES used within this REPORT HTWLAM00

INCLUDE PLAM0TW3_ALV. "SELECTION SCREEN, DATA DEF.
INCLUDE RPPPXD10.
INCLUDE PLAM0TW1_ALV. "SUBROUTINE


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_PAL_STATS_MSG_ADD





CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = lv_count i_msgid = gc_aplg_msgid i_msgty = iv_type i_msgno = gc_aplg_msgno i_msgv1 = ls_msg-msgv1 i_msgv2 = ls_msg-msgv2 i_msgv3 = ls_msg-msgv3 i_msgv4 = ls_msg-msgv4 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3.



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