RNSS101 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report creates the statistics S 1 - Care Unit Patient Lists required by the Federal Regulation for Hospitals (Germany)...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 RNSS101 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
NS03 - IS-H: S1 Bed Assignment Figures
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: VERENDDT = Comparison Period End
Selection Text: VERBEGDT = Comparison Period Start
Selection Text: TXTEINRI = Institution Short Text
Selection Text: TSTAT = Day Patient
Selection Text: TESTM = Test Mode
Selection Text: STAT = Inpatient
Selection Text: STASP = Take Stats Block into Account
Selection Text: SE_ORGFA = Org. Unit to Be Excluded
Selection Text: SE_EINRI = Institution
Selection Text: AUSENDDT = Evaluation Period End
Selection Text: AUSBEGDT = Evaluation Period Start
Selection Text: ALLGPF = Row for Gen. Nursing Charge
Title: IS-H: BPflV S 1 - Patient Census Statistics
Text Symbol: T14 = Standard Billing Days ;;
Text Symbol: T13 = Rate of Use of Setup Beds ;;
Text Symbol: T12 = Rate of Use of Planned Beds ;;
Text Symbol: T11 = Billing Days ;;
Text Symbol: T10 = Average Length of Stay ;;
Text Symbol: T09 = Number of Cases ;;
Text Symbol: T08 = incl. Transfers to Ext. Hospitals ;;
Text Symbol: T07 = Discharges ;;
Text Symbol: T06 = Admissions ;;
Text Symbol: T05 = Hourly Cases During a Day ;;
Text Symbol: T04 = 24-Hour Cases ;;
Text Symbol: T03 = Patient Days ;;
Text Symbol: T02 = Setup Beds ;;
Text Symbol: 016 = , inpatient and day patient cases
Text Symbol: 017 = , inpatient cases
Text Symbol: 018 = , day patient cases
Text Symbol: 020 = Eval. ;;
Text Symbol: 021 = Period ;;
Text Symbol: 022 = Comp. ;;
Text Symbol: 023 = Period ;;
Text Symbol: 024 = Difference ;;
Text Symbol: 025 = Absolute ;;
Text Symbol: 026 = Percent. ;;
Text Symbol: 055 = No data found for your selection criteria
Text Symbol: FE1 = Number of Error Messages: ;;
INCLUDE RNSSTABL.
INCLUDE RNSDAT00.
INCLUDE RNSSEINR.
INCLUDE RNSSAZVZ.
INCLUDE RNSSINIT.
INCLUDE RNSSSPBO.
INCLUDE RNSSSPAI.
No SAP DATABASE tables are accessed within this REPORT code!
ISH_PRINT_PROTOCOL CALL FUNCTION 'ISH_PRINT_PROTOCOL' EXPORTING line_size = rnstat-line_size minutes_title = text-feh repid = rnstat-repid.
ISH_READ_ORGUNIT_SECTIONS CALL FUNCTION 'ISH_READ_ORGUNIT_SECTIONS' EXPORTING ausbegdt = ausbegdt ausenddt = ausenddt einri = se_einri fatyp = fatyp_bpflv verbegdt = verbegdt verenddt = verenddt TABLES norg_for_statistics = $norg tn10h_for_statistics = $tn10h tnkfa_for_statistics = $tnkfa tnkfh_for_statistics = $tnkfh.
ISH_PROCESS_MOVEMENTS CALL FUNCTION 'ISH_PROCESS_MOVEMENTS' EXPORTING ausbegdt = ausbegdt ausenddt = ausenddt cases_24h = on einri = se_einri number_of_cases = 200 stasp = stasp verbegdt = verbegdt verenddt = verenddt calc_orgfa = off calc_orgpf = off TABLES falar = falar gschl = gschl moves = bewegungen orgfa = orgid orgpf = orgid patients = falldaten EXCEPTIONS no_falnr_left = 05.
ISH_READ_STAT_CLASS CALL FUNCTION 'ISH_READ_STAT_CLASS' EXPORTING ausbegdt = ausbegdt ausenddt = ausenddt einri = se_einri verbegdt = verbegdt verenddt = verenddt TABLES bewegungen = bewegungen falldaten = falldaten orgfa = se_orgfa mengen = kstage_klass.
ISH_READ_K52_QUANTITIES CALL FUNCTION 'ISH_READ_K52_QUANTITIES' EXPORTING ausbegdt = ausbegdt ausenddt = ausenddt einri = se_einri verbegdt = verbegdt verenddt = verenddt zeile_allgpf = allgpf TABLES bewegungen = bewegungen falldaten = falldaten mengen = mengen_k52 orgfa = se_orgfa.
ISH_GET_QUANTITY_SERVICES CALL FUNCTION 'ISH_GET_QUANTITY_SERVICES' EXPORTING begdt = bewegungen-bwidt begzt = bewegungen-bwizt einri = se_einri enddt = bewegungen-bwedt endzt = bewegungen-bwezt falnr = bewegungen-falnr "PA 02.04.98
ISH_GET_QUANTITY_SERVICES CALL FUNCTION 'ISH_GET_QUANTITY_SERVICES' EXPORTING begdt = bewegungen-bwidt begzt = bewegungen-bwizt einri = se_einri enddt = bewegungen-bwedt endzt = bewegungen-bwezt falnr = bewegungen-falnr "PA 02.04.98
ISH_CALC_BED_ORGID CALL FUNCTION 'ISH_CALC_BED_ORGID' EXPORTING ausbegdt = ausbegdt ausenddt = ausenddt begdt = begdt einri = se_einri enddt = enddt fatyp = fatyp_bpflv intensiv = off verbegdt = verbegdt verenddt = verenddt view = 'F' TABLES beds = tab_bed_orgid orgfa = excl_orgid orgpf = excl_orgid.
CALL FUNCTION 'MESSAGES_COUNT' IMPORTING count = tab_index.
ISH_PRINT_PROTOCOL_BATCH CALL FUNCTION 'ISH_PRINT_PROTOCOL_BATCH' EXPORTING line_size = rnstat-line_size minutes_title = text-feh repid = rnstat-repid new_section = on EXCEPTIONS no_messages = 1.
ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING ausbegdt = ausbegdt ausenddt = ausenddt einri = se_einri repid = rnstat-repid verbegdt = verbegdt verenddt = verenddt uline = off.
ISH_DYNP_VALUES_READ CALL FUNCTION 'ISH_DYNP_VALUES_READ' EXPORTING dyname = p_repid dynumb = p_dynnr TABLES dynpfields = lt_dynpread EXCEPTIONS OTHERS = 1.
CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = se_einri IMPORTING output = se_einri EXCEPTIONS OTHERS = 1.
ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING einri = se_einri freig = '*' ambes = off fazuw = on pfzuw = off no_bauid = on IMPORTING selected_orgid = p_org EXCEPTIONS bauid_not_in_nbau = 1 einri_not_in_tn01 = 2 no_hierarchy = 3 orgid_not_in_norg = 4 OTHERS = 5.
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 RNSS101 or its description.