RNSK5201 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RNSK5201 creates the K5...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 RNSK5201 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: VERENDDT = Comparison Period End
Selection Text: VERBEGDT = Comparison Period Start
Selection Text: TSTAT = Day Patient
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: FPROT = Case Logging
Selection Text: AUSENDDT = Evaluation Period End
Selection Text: AUSBEGDT = Evaluation Period Start
Selection Text: ALLGPF = Row for Gen. Nursing Charge
Title: IS-H: BPflV K5.2 - Determine Standard Billing Days
Text Symbol: TU4 = Period ;;
Text Symbol: TU5 = Difference ;; TÜ5, TÜ6 und TÜ7 gehören zusammen (untereinander)
Text Symbol: TU6 = Absolute ;;
Text Symbol: TU7 = Percent. ;;
Text Symbol: TU8 = Eval. ;; TÜ8 und TÜ9 gehören zusammen (untereinander)
Text Symbol: TU9 = Period ;;
Text Symbol: UA1 = Billing Days ;;
Text Symbol: UA2 = Standard ;;
Text Symbol: UA3 = Standard Billing Days ;;
Text Symbol: UA4 = Billing Days ;;
Text Symbol: UA5 = Billing Days ;;
Text Symbol: ZU1 = Inpatient Cases ;;
Text Symbol: ZU2 = Day Patient Cases ;;
Text Symbol: ZU3 = Inpatient and Day Patient Cases ;;
Text Symbol: TU3 = Comp. ;; TÜ3 und TÜ4 gehören zusammen (untereinander)
Text Symbol: 055 = No data found for your selection criteria
Text Symbol: 056 = No rows for output found
Text Symbol: FA1 = Periods w/o Services
Text Symbol: FAL = Case Log BPflV-K5.2
Text Symbol: FE1 = Number of Error Messages: ;;
Text Symbol: FE2 = (See Messages) ;;
Text Symbol: FEH = Error Messages BPflV-K5.2
Text Symbol: P01 = Evaluation Period
Text Symbol: P02 = Comparison Period
Text Symbol: S01 = Institution
Text Symbol: S02 = Evaluation Period
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_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING einri = se_einri repid = rnstat-repid line_size = rnstat-line_size title_lin1 = rnstat-title_lin1 title_lin2 = rnstat-title_lin2 uline = off EXCEPTIONS invalid_einri = 01.
ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING einri = se_einri repid = rnstat-repid line_size = rnstat-line_size title_lin1 = rnstat-title_lin1 title_lin2 = rnstat-title_lin2 uline = off EXCEPTIONS invalid_einri = 01.
ISH_PRINT_PROTOCOL CALL FUNCTION 'ISH_PRINT_PROTOCOL' EXPORTING line_size = rnstat-line_size minutes_title = text-feh.
ISH_PROCESS_MOVEMENTS CALL FUNCTION 'ISH_PROCESS_MOVEMENTS' EXPORTING ausbegdt = ausbegdt ausenddt = ausenddt calc_orgfa = off calc_orgpf = off cases_24h = on einri = se_einri number_of_cases = 200 stasp = stasp verbegdt = verbegdt verenddt = verenddt 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 mengen = klasstage orgfa = se_orgfa.
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 = leitage orgfa = se_orgfa.
MESSAGES_COUNT CALL FUNCTION 'MESSAGES_COUNT' IMPORTING count = tab_index.
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 line_size = rnstat-line_size title_lin1 = rnstat-title_lin1 title_lin2 = rnstat-title_lin2 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 RNSK5201 or its description.