RNHCO013 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to calculate statistical key figures for case-based orders and to transfer these values to Controlling...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 RNHCO013 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
NCON - HCO: Stat. Key Figs (Case-Bsd Ord.)
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: R_FALNR = Case
Selection Text: PERIOD = Period
Selection Text: KZRANGE = Statistical Key Figure
Selection Text: JAHR = Fiscal Year
Title: HCO: Statistical Key Figures for Case-Based Orders
Text Symbol: U08 = First Visit Date
Text Symbol: U07 = Include Canceled Cases and Movements
Text Symbol: U06 = Discharged Cases Only
Text Symbol: U05 = Discharge Date
Text Symbol: U04 = Admission Date
Text Symbol: U03 = Selection by Case
Text Symbol: U02 = for Case-Based Orders
Text Symbol: U01 = Statistical Key Figures
Text Symbol: S05 = Test Mode
Text Symbol: S04 = To
Text Symbol: S03 = Comparison Period
Text Symbol: S02 = Evaluation Period
Text Symbol: S01 = Institution
Text Symbol: F01 = Error Log
Text Symbol: E02 = No cases match selection criteria.
Text Symbol: E01 = Cannot determine key figures to be calculated:
Text Symbol: B03 = Additional Selection Criteria
Text Symbol: B02 = Outpatient Cases
Text Symbol: B01 = Inpatient Cases
Text Symbol: 001 = Test Mode
INCLUDE RNSSTABL.
INCLUDE RNHCOT01.
INCLUDE RNLALV01.
INCLUDE RNSSEINR.
INCLUDE RNSSIEIN.
INCLUDE RNSSSPBO.
INCLUDE RNSSSEIN.
No SAP DATABASE tables are accessed within this REPORT code!
ISH_OUTPATIENT_ACTIVE CALL FUNCTION 'ISH_OUTPATIENT_ACTIVE' IMPORTING e_active = l_outpatient_active.
ISH_COUNTRY_VERSION_GET CALL FUNCTION 'ISH_COUNTRY_VERSION_GET' IMPORTING ss_cvers = cvers EXCEPTIONS OTHERS = 1.
ISH_GET_DATE_OF_PERIOD CALL FUNCTION 'ISH_GET_DATE_OF_PERIOD' EXPORTING einri = se_einri gjahr = jahr period = period IMPORTING kokrs = kokrs begdt = ausbegdt enddt = ausenddt EXCEPTIONS no_bukrs_found = 01 no_gvar_found = 02 no_tka02_found = 03 no_tn01_found = 04.
CO_PERIOD_BLOCKING_CHECK CALL FUNCTION 'CO_PERIOD_BLOCKING_CHECK' EXPORTING gjahr = jahr kokrs = kokrs perab = old_perio perbi = old_perio versn = versn vrgng = vrgng EXCEPTIONS vrgng_blocked = 01.
ISH_CASE_VALUE_REQUEST CALL FUNCTION 'ISH_CASE_VALUE_REQUEST' EXPORTING ss_einri = se_einri ss_vcode = update IMPORTING ss_falnr = r_falnr-low.
ISH_CASE_VALUE_REQUEST CALL FUNCTION 'ISH_CASE_VALUE_REQUEST' EXPORTING ss_einri = se_einri ss_vcode = update IMPORTING ss_falnr = r_falnr-high.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = rnstat-repid i_callback_pf_status_set = 'PF_STATUS' i_callback_user_command = 'USER_COMMAND' * I_STRUCTURE_NAME = is_layout = gs_layout it_fieldcat = xfield * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' is_variant = gs_variant it_events = gt_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 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = liste EXCEPTIONS program_error = 1 OTHERS = 2.
ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING einri = se_einri ausbegdt = rnstat-ausbegdt ausenddt = rnstat-ausenddt verbegdt = rnstat-verbegdt verenddt = rnstat-verenddt title_lin1 = rnstat-title_lin1 title_lin2 = rnstat-title_lin2 line_size = rnstat-line_size repid = rnstat-repid uline = off EXCEPTIONS OTHERS = 1.
ISH_DISTRIBUTE_STATISTICAL_RAT CALL FUNCTION 'ISH_DISTRIBUTE_STATISTICAL_RAT' EXPORTING auftraege = on * BELEGDATUM = SY-DATUM buchungsdatum = $enddt einri = $einri event = event geschaeftsjahr = $jahr periode = $perio * TMODE = 'E' * TUPDATE = 'A' TABLES sktab = $sktab EXCEPTIONS no_bukrs_found = 1 no_configuration_found = 2 no_tka02_found = 3 no_tn01_found = 4 external_error = 5 OTHERS = 6.
ISH_PRINT_PROTOCOL_BATCH CALL FUNCTION 'ISH_PRINT_PROTOCOL_BATCH' EXPORTING line_size = lsize minutes_title = 'Fehlerprotokoll'(f01) repid = repid new_section = on EXCEPTIONS no_messages = 01.
MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXPORTING object = 'Fehlerprotokoll'(f01) show_linno = ' ' EXCEPTIONS inconsistent_range = 01 no_messages = 02.
MESSAGES_INITIALIZE * call function 'MESSAGES_INITIALIZE'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RNHCO013 - HCO: Statistical Key Figures for Case-Based Orders RNHCO013 - HCO: Statistical Key Figures for Case-Based Orders RNHCO012 - IS-HCO: Calculate and Transfer Stat. Key Figures, Inter-Dept. View RNHCO012 - IS-HCO: Calculate and Transfer Stat. Key Figures, Inter-Dept. View RNHCO011 - IS-HCO: Calculate and Transfer Statistical Key Figures, Dept. View RNHCO011 - IS-HCO: Calculate and Transfer Statistical Key Figures, Dept. View