SAP Reports / Programs

HGRLLIA1 SAP ABAP Report - Labor inspection authorities report







HGRLLIA1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The submission of this report to the Greek Labor Inspection Authorities is a legal obligation...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 HGRLLIA1 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_M45_LIA1 - Labor Inspection Authorities (XML)


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 HGRLLIA1. "Basic submit
SUBMIT HGRLLIA1 AND RETURN. "Return to original report after report execution complete
SUBMIT HGRLLIA1 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_0041 = Date type for Hiring
Selection Text: P_ATTACH = Schedule will be Attached
Selection Text: P_CH0002 = Children from IT0002(Personal)
Selection Text: P_CHNOPY = Calc.Childern directly(IT0021)
Selection Text: P_CHPY = Children from Payroll calcul.
Selection Text: P_COMM = Common Comment
Selection Text: P_CURR = D .
Selection Text: P_DAR = Type of Previous Employment
Selection Text: P_DATE = Period for Checks
Selection Text: P_DEPAR = D .
Selection Text: P_FL_XML = D .
Selection Text: P_HIRE = Submit Hiring/Rehirings
Selection Text: P_NOEUR = Hide Wages
Selection Text: P_RET = Submit Leaving/Retirements
Selection Text: P_SPEC = Submit Specialty Changes
Selection Text: P_SPLTY = Specialty for Labor Auth.
Selection Text: P_TIME = Submit Time Schedule Changes
Selection Text: S_DIVORC = Divorce status
Selection Text: S_MARRID = Married status
Selection Text: S_SINGLE = Single status
Selection Text: S_WIDOW = Widow status
Title: Labor inspection authorities report
Text Symbol: T52 = Check time period :
Text Symbol: T51 = Page:
Text Symbol: T13 = MArital Status
Text Symbol: T12 = Hiring
Text Symbol: T11 = Gross wages
Text Symbol: T10 = Comments
Text Symbol: T09 = Break Time
Text Symbol: T08 = Schedule time & working days
Text Symbol: T07 = Attach schedule
Text Symbol: T06 = Work number for foreigner
Text Symbol: 001 = Submit Hiring/Rehirings
Text Symbol: 002 = Submit Specialty Changes
Text Symbol: 003 = Submit Leaving/Retirements
Text Symbol: 004 = Submit Time Schedule Changes
Text Symbol: 005 = Special Submissions Criteria
Text Symbol: 006 = Children calculaton rule





Text Symbol: 230 = HIRING
Text Symbol: 231 = LEAVING
Text Symbol: 232 = CHANGE SCHED.
Text Symbol: 233 = CHANGE SPECIALTY
Text Symbol: 234 = SHIFTED SCHEDULE
Text Symbol: 235 = Male
Text Symbol: 236 = Female
Text Symbol: 304 = Monday
Text Symbol: 305 = Tuesday
Text Symbol: 306 = Wednesday
Text Symbol: 307 = Thursday
Text Symbol: 308 = Friday
Text Symbol: 309 = Saturday
Text Symbol: 310 = Sunday
Text Symbol: 311 = Shift plan
Text Symbol: B01 = Creation XML files
Text Symbol: B02 = Creation XML files per Department IKA
Text Symbol: B03 = Continue ???
Text Symbol: E01 = AMKA or AFM are empty
Text Symbol: H01 = PERSONNEL AND WORKING HOURS REPORT
Text Symbol: T00 = A/A
Text Symbol: T01 = Father's name
Text Symbol: T02 = Mother's name
Text Symbol: T03 = Sex
Text Symbol: T04 = Previous Employment
Text Symbol: T05 = Social number for Underage


INCLUDES used within this REPORT HGRLLIA1

INCLUDE OLE2INCL.
INCLUDE HGRUCMP0.
INCLUDE HGRUGEN0.
INCLUDE HGRUINS0.
INCLUDE HGRUACT0.


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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = PERNR-PERNR EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TEXTLINE1 = TEXT-B02 TEXTLINE2 = TEXT-B03 TITEL = TEXT-B01 IMPORTING ANSWER = SAVE_FLAG EXCEPTIONS OTHERS = 1.

HR_GET_TOTAL_AMOUNT_P0008 CALL FUNCTION 'HR_GET_TOTAL_AMOUNT_P0008' EXPORTING pernr = p_0008-pernr date = p_sdate p0008 = p_0008 IMPORTING amount = p_amount EXCEPTIONS no_entry_in_t001p = 1 no_entry_in_t503 = 2 OTHERS = 3.






REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = w_repid i_internal_tabname = itabname i_inclname = w_repid CHANGING ct_fieldcat = i_fieldcat_alv.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = i_events.

REUSE_ALV_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = w_variant-report i_default = 'X' " i_save = 'A' is_layout = w_layout it_fieldcat = i_fieldcat_alv IT_SORT = i_SORT it_events = i_events is_variant = g_variant is_print = w_print TABLES t_outtab = GT_LIA.

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' exporting * bin_filesize = l_binsize filename = fname filetype = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' CODEPAGE = '4110' * IMPORTING * FILELENGTH = tables data_tab = ITAB_XML exceptions file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 others = 22.



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