HHRCHIDD 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 HHRCHIDD 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: P_PERSG = Employee group for contractors
Selection Text: PA_XML = Create XML file
Selection Text: PA_PATH = Path to XML file
Selection Text: FILE1 = File
Selection Text: DAT_SAS = Datum sastavljanja
Title: Izvjestaj o primicima, doprinosima, porezima na honorare - IDD
Text Symbol: 109 = | 1. | NAZIV/IME I PREZIME:
Text Symbol: 110 = | 2. | SJEDISTE/PREBIVALISTE/BORAVISTE:
Text Symbol: 111 = | 3. | MB/MBG :
Text Symbol: 112 = | II.| OPIS PODATAKA TE VRSTE PRIMITAKA I IZNOSI
Text Symbol: 113 = OSNOVICA, DOPRINOSA, POREZA NA DOHODAK I PRIREZA
Text Symbol: 114 = B) PRIMICI OD KOJIH SE UTVRDUJE DRUGI DOHODAK
Text Symbol: 115 = | Clanak 32 st.3.Zakona
Text Symbol: 116 = | Clanak 32 st.5.Zakona
Text Symbol: 117 = | | OPIS
Text Symbol: 118 = | Tocke 1.,3., | | Autorsko i
Text Symbol: 119 = | Sportasi, | | Primitak
Text Symbol: 120 = | 4.,5.,10. | Tocke 6.,8. | umjetnicko
Text Symbol: 121 = | umjetnici | Nerezidenti | ucenika i
Text Symbol: 122 = | Ukupno |
Text Symbol: 123 = | i 11. | i 9. | djelo
Text Symbol: 124 = | i novinari | | studenta
Text Symbol: 915 = No errors found.
Text Symbol: 916 = error(s) found.
Text Symbol: E01 = ERROR: Employee group for contractors missing!
Text Symbol: P12 = 511K
Text Symbol: X01 = Electronic form
Text Symbol: 001 = Other options
Text Symbol: 002 = Potvrda primitka:
Text Symbol: 003 = Pecat i potpis ovlastene osobe
Text Symbol: 004 = Datum sastavljanja:
Text Symbol: 005 = | 6. | IZDACI ZA DOPRINOSE (cl. 32. st.4.Zakona)
Text Symbol: 006 = | 3. | IZDACI (cl. 32. stavak 5.Zakona)
Text Symbol: 007 = | 2. | ISPLACENI PRIMICI (cl. 32.stavci 3. i 5.Zakona)
Text Symbol: 008 = | 4. | OSNOVICA ZA OBRACUN DOPRINOSA
Text Symbol: 009 = | 7. | OSNOVICA ZA OBRACUN POREZA (2-3-6)
Text Symbol: 010 = | 8. | obracunan predujam poreza na dohodak
Text Symbol: 011 = | 9. | obracunan prirez porezu na dohodak
INCLUDE HHRCRE5X.
No SAP DATABASE tables are accessed within this REPORT code!
HR_HR_COMPANYCODE_GETDETAIL CALL FUNCTION 'HR_HR_COMPANYCODE_GETDETAIL' EXPORTING comp_code = pnpbukrs-low IMPORTING comp_code_data = t7hrcd EXCEPTIONS OTHERS = 1.
HR_HR_LAST_DAY_OF_MONTH CALL FUNCTION 'HR_HR_LAST_DAY_OF_MONTH' EXPORTING day_in = start_date IMPORTING last_day_of_month = stop_date EXCEPTIONS day_in_no_date = 1 OTHERS = 2.
GUI_DOWNLOAD * CALL FUNCTION 'GUI_DOWNLOAD' * EXPORTING * filename = file_gui * TABLES * data_tab = outid * 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.
HR_HR_READ_PYRES_INTERVAL CALL FUNCTION 'HR_HR_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'M' begda = pn-begda endda = pn-endda tprun = 'X' TABLES runs = it_runs myrg = it_myrg rtdet = it_rtdet rtrun = it_rtrun.
BAPI_USER_GET_DETAIL CALL FUNCTION 'BAPI_USER_GET_DETAIL' EXPORTING username = sy-uname IMPORTING address = ls_address TABLES return = lt_bapiret2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.