HROCDEC0 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 HROCDEC0 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: PEMAIL = Email
Selection Text: PFAX = Fax
Selection Text: PTELE = Telephone
Selection Text: P_DUE_DT = Payment Due Date
Selection Text: P_FILEA = Save ASCII Text File
Selection Text: P_FUNC = Function
Selection Text: P_NAME = Name and Surname
Selection Text: P_TAXNA = Tax Office Nationality
Selection Text: P_TAXOF = Tax office
Selection Text: P_TAXRE = Tax Office Region
Title:
Text Symbol: 039 = WT
Text Symbol: 040 = Declaration 100 and 102
Text Symbol: 041 = Declaration 102
Text Symbol: 042 = Tax Office:
Text Symbol: 043 = Floor:
Text Symbol: 044 = Area:
Text Symbol: 045 = EE Professional Activities
Text Symbol: E01 = No declaration selected (100 or 102)
Text Symbol: S01 = Save ASCII Text File
Text Symbol: S02 = Directory
Text Symbol: S03 = Save ASCII Text Barcode
Text Symbol: S04 = Export to Gov. Application
Text Symbol: S05 = Directory
Text Symbol: S06 = Restriction
Text Symbol: S07 = Save to XML file
Text Symbol: S08 = Directory
Text Symbol: S10 = Legal Representative
Text Symbol: S11 = Print WTs
Text Symbol: S12 = Declaration
Text Symbol: S13 = 100
Text Symbol: S14 = 102
Text Symbol: S15 = Files for All Active Tax Offices
Text Symbol: S16 = Cumulate Retro in Cur. Month
Text Symbol: S17 = Parent Tax Office
Text Symbol: S18 = Separate File for Contr. G
Text Symbol: S19 = Suffix for file:
Text Symbol: S20 = Tax Offices
INCLUDE HROIFORM.
No SAP DATABASE tables are accessed within this REPORT code!
HR_RO_RETRO_DEPTH_GET CALL FUNCTION 'HR_RO_RETRO_DEPTH_GET' EXPORTING persno = pernr-pernr permo = pn-permo paper = locpaper bondt = bondt payty = payty payid = payid CHANGING depth = rdepth * fullmode = fmode EXCEPTIONS no_results_found = 1 OTHERS = 2.
HR_RO_READ_PYRES_INTERVAL CALL FUNCTION 'HR_RO_READ_PYRES_INTERVAL' EXPORTING pernr = wa_pernr-pernr mode = 'B' begda = deepest endda = pn-endda * bondt = bondt * payty = payty * payid = payid tprun = '' tpall = '' TABLES runs = it_runs myrg = it_myrg rtdet = it_rtdet.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0001' TABLES infty_tab = p0001.
HR_RO_DOWNLOAD CALL FUNCTION 'HR_RO_DOWNLOAD' EXPORTING filename = write_file filetype = 'ASC' TABLES data_tab = p_fsfs.
GUI_FILE_SAVE_DIALOG CALL FUNCTION 'GUI_FILE_SAVE_DIALOG' EXPORTING window_title = 'Save XML file' default_file_name = lv_xml_file2 initial_directory = lv_str IMPORTING fullpath = lv_fname filename = lv_xml_file.
HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING selectfield = 'TAXOF' titel = text-s20 no_display_of_pers_values = 'X' IMPORTING ind = sy-tabix TABLES fields = tab_fields full_table = tab_taxof EXCEPTIONS OTHERS = 4.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = tab_update EXCEPTIONS OTHERS = 8.
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 HROCDEC0 or its description.