SAP Reports / Programs

HTHU_CREATE_SEQ_NO SAP ABAP Report - Create Sequence no. for Thai Employee (for Legal reports)







HTHU_CREATE_SEQ_NO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Create Sequence number for Thai employees (for Legal reports) ( HTHU_CREATE_SEQ_NO) This report generates the employee sequence number which is reported in the tax forms for Thailand...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 HTHU_CREATE_SEQ_NO 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_M26_CREATE_SEQN - Create Seq. no. for Thai employee


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 HTHU_CREATE_SEQ_NO. "Basic submit
SUBMIT HTHU_CREATE_SEQ_NO AND RETURN. "Return to original report after report execution complete
SUBMIT HTHU_CREATE_SEQ_NO 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_YEAR = D Sequence number for Year
Selection Text: P_TEST = D Test run
Selection Text: P_CTXID = Employer Tax ID Number
Title: Create Sequence no. for Thai Employee (for Legal reports)
Text Symbol: F02 = Type of run
Text Symbol: F01 = User parameters
Text Symbol: 021 = Error getting Tax year Begin and End date for Payroll area
Text Symbol: 020 = Report processing aborted!
Text Symbol: 019 = and saved as Infotype records.
Text Symbol: 018 = Confirm
Text Symbol: 017 = Do you want to continue?
Text Symbol: 016 = Sequence numbers will be generated
Text Symbol: 015 = No valid Tax ID found for this selection!
Text Symbol: 014 = Employee was not processed
Text Symbol: 013 = Message
Text Symbol: 012 = Sequence no.
Text Symbol: 011 = Status
Text Symbol: 010 = Error while calling ALV grid for Report summary
Text Symbol: 009 = Sequence no. Generation (Live run)
Text Symbol: 008 = Sequence no. Generation (Test run)
Text Symbol: 007 = Sequence no. generated was not committed to DB due to Rollback!
Text Symbol: 006 = Sequence no. was created
Text Symbol: 005 = Previous Infotype record extended, it had same Sequence number
Text Symbol: 004 = PA/PSA assignment of this employee does not belong to country Thailand
Text Symbol: 003 = Employee already has valid Sequence no. on these dates!
Text Symbol: 002 = Internal error calling function for ALV display
Text Symbol: 001 = No employee selected


INCLUDES used within this REPORT HTHU_CREATE_SEQ_NO

INCLUDE HTHU_CREATE_SEQ_NOD. "GLOBAL DEFINITIONS
INCLUDE HTHU_CREATE_SEQ_NOF. "GLOBAL FORM 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:

No SAP FUNCTION MODULES are executed within this report code!



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