SAP Reports / Programs

RNSL302 SAP ABAP Report - IS-H: BPflV 1995 L 3 - Patient Census Statistics of Departments







RNSL302 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates the L3 statistics (occupancy data of the department or OU-related occupancy statistics) required by the Federal Regulation for Hospitals (Bundespflegesatzverordnung) 1995 in the country version 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 RNSL302 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 RNSL302. "Basic submit
SUBMIT RNSL302 AND RETURN. "Return to original report after report execution complete
SUBMIT RNSL302 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: AUSL_WO = Without Foreign Cases
Selection Text: CNT_GVD = Incl. Cases where MLS Reached
Selection Text: FPROT = Case Log
Selection Text: KZ_FACHR = Specialty-Related
Selection Text: KZ_ORGFA = Dept. OU-related
Selection Text: KZ_ORGPF = Nurs. OU-Related
Selection Text: AUSBEGDT = Evaluation Period Start
Selection Text: AUSENDDT = Evaluation Period End
Selection Text: AUSL_NO = No Separate Output
Selection Text: AUSL_ON = Foreign Cases only
Selection Text: SE_ORGPF = Organizational Units
Selection Text: STASP = Take Stats Block into Account
Selection Text: SUMMEN = Totals Sheet
Selection Text: VERBEGDT = Comparison Period Start
Selection Text: VERENDDT = Comparison Period End
Selection Text: LASTV = Only Last Stay of Day
Selection Text: NEW_P = New Page for Each Specialty/OU
Selection Text: SE_EINRI = Institution
Selection Text: SE_FACHR = Specialties
Selection Text: SE_FALNR = Cases to Be Evaluated
Selection Text: SE_ORGFA = Organizational Units
Title: IS-H: BPflV 1995 L 3 - Patient Census Statistics of Departments
Text Symbol: S06 = Take Statistics Block into Account ;;
Text Symbol: FEH = Error Messages BPflV1995-L3
Text Symbol: FE2 = (See Messages) ;;
Text Symbol: FE1 = Number of Error Messages: ;;
Text Symbol: FAL = Case Log Occupancy Statistics
Text Symbol: ASL = Separate Output for Foreign Patients According to ยง 3 Sect. 4
Text Symbol: 055 = No data found for your selection criteria
Text Symbol: I04 = Discharges
Text Symbol: I03 = Admissions
Text Symbol: I02 = Days Covered by Flat Rates per Case
Text Symbol: I01 = BD in Budget Area
Text Symbol: G02 = Organizational Unit ;;
Text Symbol: S18 = Totals Sheet
Text Symbol: S20 = Separate Output for Foreign Patients
Text Symbol: S21 = No Separate Output
Text Symbol: S22 = Without Foreign Cases





Text Symbol: S23 = Foreign Cases only
Text Symbol: T01 = Planned Beds with Intensive Care ;;
Text Symbol: G01 = Specialty ;;
Text Symbol: T05 = including BD for Patients with PS ;;
Text Symbol: S12 = View of Evaluation
Text Symbol: S13 = Departmental ;;
Text Symbol: S14 = Departmental OU ;;
Text Symbol: S15 = Nursing OU ;;
Text Symbol: S16 = Output Figures in Separate Column
Text Symbol: S17 = Count Case when Max. LOS Reached
Text Symbol: T08 = Days Covered by Flat Rates per Case ;;
Text Symbol: T09 = Admissions ;;
Text Symbol: T10 = Discharges ;;
Text Symbol: T11 = including Transfers to Ext. Hospitals ;;
Text Symbol: T12 = Cases with Pre-Adm. Treatment only ;;
Text Symbol: T13 = Inpatient Cases w/o Flat Rate per Case;;
Text Symbol: T02 = Planned Beds w/o Intensive Care ;;
Text Symbol: T03 = Rate of Use of Planned Beds ;;
Text Symbol: T04 = Days not Covered by Flat Rate per Case;;
Text Symbol: T07 = Length of Stay ;;
Text Symbol: T06 = including BD for Day Patients ;;
Text Symbol: U12 = Difference ;;
Text Symbol: U11 = Comparison Period ;;
Text Symbol: U10 = Evaluation Period ;;
Text Symbol: U09 = Agree. ;;
Text Symbol: U08 = Act.Figures;;
Text Symbol: U07 = Request ;;
Text Symbol: U18 = Cur.NCP;;
Text Symbol: U17 = Agree. ;;
Text Symbol: U16 = Request;;
Text Symbol: U15 = Nurs.Charge per;;
Text Symbol: U14 = Percent. ;;
Text Symbol: U13 = Absolute ;;
Text Symbol: T20 = incld. Max. Length of Stay Exceeded ;;
Text Symbol: T19 = incld. those with Day Patient Treatm. ;;
Text Symbol: T18 = Cases with Flat Rates per Case ;;
Text Symbol: T17 = Day Patient Cases w/o FR ;;
Text Symbol: T16 = including those with Post-Dis. Treatm.;;
Text Symbol: T15 = including those with Pre-Adm. Treatm. ;;





Text Symbol: U06 = Agreement ;;
Text Symbol: U05 = Request ;;
Text Symbol: U04 = Nrs. Charge Period NCP;;
Text Symbol: U03 = Current NCP;;
Text Symbol: U02 = Agreement ;;
Text Symbol: U01 = Bed Assignment Data ;;
Text Symbol: U19 = Request;;
Text Symbol: T14 = including Short-Stay Patients ;;
Text Symbol: S04 = To ;;
Text Symbol: S03 = Comparison Period ;;
Text Symbol: S02 = Evaluation Period ;;
Text Symbol: S01 = Institution ;;
Text Symbol: P02 = Comparison Period
Text Symbol: P01 = Evaluation Period
Text Symbol: S11 = Include only Last Stay of Day in Count
Text Symbol: S10 = Display Intensive Care Stays for Transferring Specialty/OU
Text Symbol: S09 = Case Logging ;;
Text Symbol: S08 = New Page on Change of Specialty/OU
Text Symbol: S07 = Settings


INCLUDES used within this REPORT RNSL302

INCLUDE RNSL1L3T.
INCLUDE RNSSEINR.
INCLUDE RNSSAZVZ.
INCLUDE RNSSINIT.
INCLUDE RNSSSPBO.
INCLUDE RNSSSPAI.


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:

ISH_HELP_REQUEST CALL FUNCTION 'ISH_HELP_REQUEST' EXPORTING ss_object = 'ISH_RNSL302_FACHR' ss_popup = on EXCEPTIONS OTHERS = 1.

ISH_HELP_REQUEST CALL FUNCTION 'ISH_HELP_REQUEST' EXPORTING ss_object = 'ISH_RNSL302_ORGFA' ss_popup = on EXCEPTIONS OTHERS = 1.

ISH_HELP_REQUEST CALL FUNCTION 'ISH_HELP_REQUEST' EXPORTING ss_object = 'ISH_RNSL302_ORGPF' ss_popup = on EXCEPTIONS OTHERS = 1.

ISH_HELP_REQUEST * call function 'ISH_HELP_REQUEST' * exporting * ss_object = 'ISH_RNSL302_INSUM' * ss_popup = on * exceptions * others = 1.

ISH_HELP_REQUEST CALL FUNCTION 'ISH_HELP_REQUEST' EXPORTING ss_object = 'ISH_RNSL302_LASTV' ss_popup = on EXCEPTIONS OTHERS = 1.

ISH_PRINT_PROTOCOL * CALL FUNCTION 'ISH_PRINT_PROTOCOL' * EXPORTING * line_size = rnstat-line_size * minutes_title = text-feh * repid = rnstat-repid.




ISH_PROCESS_MOVEMENTS_FALNR CALL FUNCTION 'ISH_PROCESS_MOVEMENTS_FALNR' EXPORTING ausbegdt = ausbegdt ausenddt = ausenddt calc_orgfa = off calc_orgpf = off cases_24h = on einri = se_einri fatyp = fatyp_bpflv number_of_cases = number_of_cases "200 stasp = stasp verbegdt = verbegdt verenddt = verenddt visits = on all_moves = on inp_without_adm = on lastv = lastv foreigner = foreigner TABLES ranges_falnr = se_falnr falar = falar gschl = gschl moves = bewegungen orgfa = orgid orgpf = orgid patients = falldaten EXCEPTIONS no_falnr_left = 05.

ISH_CALC_BED_FACHR * call function 'ISH_CALC_BED_FACHR' * exporting * ausbegdt = ausbegdt * ausenddt = ausenddt * begdt = begdt * einri = se_einri * enddt = enddt * fatyp = fatyp_bpflv * intensiv = off * verbegdt = verbegdt * verenddt = verenddt * tables * beds = tab_bed_fachr.

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 verbegdt = verbegdt verenddt = verenddt TABLES beds = beds orgfa = orgfa orgpf = orgpf.

ISH_PRINT_PROTOCOL CALL FUNCTION 'ISH_PRINT_PROTOCOL' EXPORTING line_size = rnstat-line_size minutes_title = text-feh repid = rnstat-repid.

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 = p_department pfzuw = p_nursing 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.



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