SAP Reports / Programs | Payroll | Thailand(PY-TH) SAP PY

HTHU_CREATE_SEQ_NOF SAP ABAP INCLUDE - Include: FORM routines







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


Text pool values


Title: Include: FORM routines


INCLUDES used within this REPORT HTHU_CREATE_SEQ_NOF

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:

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'N' diagnosetext1 = 'Sequence numbers will be generated'(016) DIAGNOSETEXT2 = 'and saved as Infotype records'(019) * DIAGNOSETEXT3 = ' ' textline1 = 'Do you want to continue?'(017) * TEXTLINE2 = ' ' titel = 'Confirm'(018) * START_COLUMN = 25 * START_ROW = 6 CANCEL_DISPLAY = ' ' IMPORTING ANSWER = l_answer. .

RP_BEGDA_ENDDA_PAYROLL_YEAR_TH CALL FUNCTION 'RP_BEGDA_ENDDA_PAYROLL_YEAR_TH' EXPORTING abkrs = p_abkrs year = p_tax_year IMPORTING BEGDA = p_begda_tax_year ENDDA = p_endda_tax_year EXCEPTIONS TABLE_ENTRY_NOT_FOUND = 1 OTHERS = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'CTXID' "Return field from catalog * PVALKEY = ' ' DYNPPROG = l_dynpprog DYNPNR = l_dynpnr DYNPROFIELD = p_fieldnam "Field on scr to get result * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' VALUE_ORG = 'C' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' tables value_tab = l_tab_value FIELD_TAB = l_tab_field * RETURN_TAB = * DYNPFLD_MAPPING = * EXCEPTIONS * PARAMETER_ERROR = 1 * NO_VALUES_FOUND = 2 * OTHERS = 3 .

BAPI_EMPLOYEE_ENQUEUE call function 'BAPI_EMPLOYEE_ENQUEUE' exporting number = l_wa_ee_data-pernr importing return = l_return_struc.

BAPI_EMPLOYEE_DEQUEUE call function 'BAPI_EMPLOYEE_DEQUEUE' exporting number = l_wa_ee_data-pernr importing return = l_return_struc.

HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = '0185' number = p_pernr subtype = c_subty_sqno record = l_record operation = 'INS' TCLAS = 'A' DIALOG_MODE = '0' nocommit = TRUE "Commit later! importing return = p_return_struc.

HR_INFOTYPE_OPERATION call function 'HR_INFOTYPE_OPERATION' exporting infty = '0185' number = p_pernr subtype = c_subty_sqno objectid = p_prev_p0185-objps lockindicator = p_prev_p0185-sprps validityend = p_prev_p0185-endda validitybegin = p_prev_p0185-begda recordnumber = p_prev_p0185-seqnr record = l_record operation = 'MOD' TCLAS = 'A' DIALOG_MODE = '0' nocommit = TRUE "Commit later! importing return = p_return_struc.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BUFFER_ACTIVE = ' ' I_CALLBACK_PROGRAM = l_callback_program * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' I_GRID_TITLE = l_grid_title * I_GRID_SETTINGS = IS_LAYOUT = l_alv_layout IT_FIELDCAT = l_tab_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = IT_SORT = l_tab_sortinfo * IT_FILTER = * IS_SEL_HIDE = I_DEFAULT = true I_SAVE = 'A' IS_VARIANT = l_alv_disvar * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IT_ALV_GRAPHICS = * IT_ADD_FIELDCAT = * IT_HYPERLINK = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = p_tab_all_ee_display_info EXCEPTIONS PROGRAM_ERROR = 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 HTHU_CREATE_SEQ_NOF or its description.