SAP Reports / Programs

HHRCOBR2_09 SAP ABAP Report - R-S obrazac 2005







HHRCOBR2_09 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 HHRCOBR2_09 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 HHRCOBR2_09. "Basic submit
SUBMIT HHRCOBR2_09 AND RETURN. "Return to original report after report execution complete
SUBMIT HHRCOBR2_09 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_BUKRS = ©ifra poduzeæa ovla¹tene osobe
Selection Text: P_CHAR = EN: Character based form
Selection Text: P_CORRF = Corrective form automatically
Selection Text: P_DOWN = EN: Download data file
Selection Text: P_FNAME = Datoteka
Selection Text: P_HASH = Kontrolni slog
Selection Text: P_IDENT = Identifikator obrasca
Selection Text: P_JSORT = Sort by JMBG
Selection Text: P_MAIL = E-mail adresa
Selection Text: P_NSORT = Sort by name
Selection Text: P_OSOB = Osoba za kontakt
Selection Text: P_PERSG = Employee group for contractors
Selection Text: P_SMA = Stranica A
Selection Text: P_SMB = Stranica B
Selection Text: P_TELE = Telefon za kontakt
Selection Text: P_TMPDIR = EN: Working directory
Selection Text: P_VROB = Vrsta obveznika
Selection Text: P_VROI = Forced corrective form
Title: R-S obrazac 2005
Text Symbol: S04 = Output
Text Symbol: S03 = EN: Environment
Text Symbol: S02 = Ovla¹tena osoba/obveznik
Text Symbol: S01 = Special account
Text Symbol: I01 = Download is completed.
Text Symbol: E11 = ERROR: Employee group for contractors missing!
Text Symbol: E10 = Absence assignment missing! Wage type &1, person &2, JMBG &3!
Text Symbol: E09 = ERROR: Print of the B page failed with RC
Text Symbol: E08 = ERROR: Form for page B not found
Text Symbol: E07 = ERROR: Print of the A page failed with RC
Text Symbol: E06 = ERROR: Form for page A not found
Text Symbol: E05 = ERROR: File &1 with HASH code was not imported
Text Symbol: 010 = I. OSNOVNI PODACI
Text Symbol: 011 = 1. Identifikator obrasca
Text Symbol: 012 = 2. Podaci za Mjesec
Text Symbol: 013 = Godinu
Text Symbol: 014 = 3. Vrsta obraèuna/ispravka
Text Symbol: 015 = 4. Broj osiguranika za koje se podnosi obrazac R-Sm
Text Symbol: 016 = 5. Broj stranica B koje se prila¾u stranici A





Text Symbol: 017 = II.PODACI O OBVEZNIKU UPLATE
Text Symbol: 018 = 1. MB obveznika
Text Symbol: 019 = 2. MBG obveznika
Text Symbol: 020 = 3. Naziv/prezime i ime obveznika
Text Symbol: 021 = 4. Adresa obveznika
Text Symbol: 022 = 5. Vrsta obveznika
Text Symbol: 023 = III. KONTROLNI PODACI PO OBVEZNIKU PODNO©ENJA PODATAK
Text Symbol: 024 = 1. Iznos obraèunane plaèe/naknade/drugog dohotka
Text Symbol: 025 = 2. Iznos osnovice za obraèun doprinosa
Text Symbol: 026 = 3. Iznos obraèunanog doprinosa za I.stup
Text Symbol: 027 = 4. Iznos obraèunanog doprinosa za II.stup
Text Symbol: 028 = 5. Iznos isplaæene plaæe/naknade/drugog dohotka
Text Symbol: 029 = 6. Godina i mjesec isplate plaæe/naknade/drugog dohotka
Text Symbol: 030 = Kontrolni slog :
Text Symbol: 101 = MB/MBG obveznika
Text Symbol: 102 = Identifikator obrasca
Text Symbol: 103 = IV. PODACI PO OSIGURANICIMA
Text Symbol: 104 = RedBr MBG osiguranika Prezime i ime osiguranika ©t.op. Osn. Razdoblje Obr.Pl. Osnova Dopr. I Dopr. II Isplata
Text Symbol: 105 =
Text Symbol: E01 = Error
Text Symbol: E02 = writing
Text Symbol: E03 = ERROR: Source file &1 for HASH code calculation does not exist
Text Symbol: E04 = ERROR: Program &1 for HASH code generation not found


INCLUDES used within this REPORT HHRCOBR2_09

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:

HR_HR_READ_PYRES_INTERVAL CALL FUNCTION 'HR_HR_READ_PYRES_INTERVAL' EXPORTING pernr = pernr-pernr mode = 'R' begda = pn-begda endda = pn-endda bondt = bondt payty = payty payid = payid tprun = '' tpall = '' TABLES runs = it_runs myrg = it_myrg rtdet = it_rtdet.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' * EXPORTING * beg = pn-begda * end = pn-endda TABLES pp0000 = p0000 pp0001 = p0001 pphifi = hifi.

HR_HR_COMPANYCODE_GETDETAIL CALL FUNCTION 'HR_HR_COMPANYCODE_GETDETAIL' EXPORTING comp_code = periods-bukrs IMPORTING comp_code_data = comp EXCEPTIONS OTHERS = 1.

HR_HR_COMPANYCODE_GETDETAIL CALL FUNCTION 'HR_HR_COMPANYCODE_GETDETAIL' EXPORTING comp_code = p_bukrs IMPORTING comp_code_data = isuer EXCEPTIONS OTHERS = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = file_gui TABLES data_tab = down 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.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING filename = infile query = 'FE' IMPORTING return = data_exist.

WS_QUERY





CALL FUNCTION 'WS_QUERY' EXPORTING filename = hashprog query = 'FE' IMPORTING return = prog_exist.

WS_EXECUTE CALL FUNCTION 'WS_EXECUTE' EXPORTING cd = idir commandline = cmd_parameters inform = 'x' program = hashprog.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = outfile TABLES data_tab = hash EXCEPTIONS OTHERS = 1.

SSF_FUNCTION_MODULE_NAME CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING formname = 'HR_HR_OBRSMA_09' "PAS091201upd IMPORTING fm_name = p_fm_name EXCEPTIONS no_form = 1 no_function_module = 2 OTHERS = 3.

SSF_FUNCTION_MODULE_NAME CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING formname = 'HR_HR_OBRSMB_09' "PAS091201upd IMPORTING fm_name = p_fm_name EXCEPTIONS no_form = 1 no_function_module = 2 OTHERS = 3.

HR_HR_LAST_DAY_OF_MONTH CALL FUNCTION 'HR_HR_LAST_DAY_OF_MONTH' EXPORTING day_in = endda IMPORTING last_day_of_month = endda.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' * EXPORTING * beg = pn-begda * end = pn-endda TABLES pp0000 = p0000 pp0001 = p0001 pphifi = hifi.



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