SAP Reports / Programs | Clinical System | Clinical System(IS-HMED) SAP IS

RN1PFBELEG SAP ABAP Report - Occupancy Control







RN1PFBELEG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report displays an evaluation of the occupancy of a department or a nursing organizational unit (= care unit)...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 RN1PFBELEG 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 RN1PFBELEG. "Basic submit
SUBMIT RN1PFBELEG AND RETURN. "Return to original report after report execution complete
SUBMIT RN1PFBELEG 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: SE_ORGPF = Nursing Org. Units
Selection Text: SE_ORGFA = Departmental Org. Units
Selection Text: SE_EINRI = Institution
Selection Text: P_UZEIT = Time
Selection Text: P_HORIZ = Planning Horizon (in Hours)
Selection Text: P_GSCHLP = Plan. Characteristic
Selection Text: P_GSCHLE = First Occupancy
Selection Text: P_DATUM = Date
Title: Occupancy Control
Text Symbol: T29 = Interdisciplinary
Text Symbol: T28 = No Room Assignment ;;
Text Symbol: T27 = SUM ;;
Text Symbol: T26 = Observation Time ;;
Text Symbol: T25 = Department ;;
Text Symbol: T24 = Hours ;;
Text Symbol: T23 = Depart;;
Text Symbol: T22 = Arrvl ;;
Text Symbol: T21 = Arrvl ;;
Text Symbol: T20 = Arrvl ;;
Text Symbol: T19 = I - S ;;
Text Symbol: T18 = Arrvl ;;
Text Symbol: T17 = I - S ;;
Text Symbol: T16 = Arrvl ;;
Text Symbol: T15 = I - S ;;
Text Symbol: T14 = unocc ;;
Text Symbol: T13 = W/M ;;
Text Symbol: T12 = M ;;
Text Symbol: T11 = W ;;
Text Symbol: T10 = Room ;;
Text Symbol: T09 = planned;;
Text Symbol: T08 = planned;;
Text Symbol: T07 = ACTUAL ;;
Text Symbol: T06 = A3 ;;
Text Symbol: T05 = A2 ;;
Text Symbol: T04 = A1 ;;
Text Symbol: T03 = Number of Free Beds ;;
Text Symbol: T02 = Care Unit / ;;
Text Symbol: T01 = Planning Horizon ;;





Text Symbol: S01 = Institution
Text Symbol: G01 = Sex Evaluation


INCLUDES used within this REPORT RN1PFBELEG

INCLUDE RNSSEINR.
INCLUDE RNSSSEIN.


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_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING ambes = '*' anfkz = '*' date = sy-datum einri = se_einri erbkz = '*' fazuw = '*' freig = on graph_title = 'Organisationseinheit'(s01) no_bauid = off pfzuw = '*' sperr = off * START_ORGID = start_oe vcode = 'UPD' IMPORTING nothing_selected = nothing_sel selected_orgid = wert.

ISH_KEY_TIME_MOVEMENTS_GET CALL FUNCTION 'ISH_KEY_TIME_MOVEMENTS_GET' EXPORTING i_institution = se_einri i_key_date = p_datum i_key_time = p_uzeit i_planning_period = f_horiz_tage * I_HISTORY_PERIOD = i_including_free_beds = 'X' TABLES e_occupancy_list = i_bel_liste e_arrival_list = i_zug_liste e_departure_list = i_abg_liste i_rtab_dept_ou = se_orgfa i_rtab_treat_ou = se_orgpf * I_RTAB_TREAT_ROOM = * I_REFRESH_CASE = r_falnr EXCEPTIONS no_movements_exist = 1 OTHERS = 2.

ISH_SHOW_HIERARCHY CALL FUNCTION 'ISH_SHOW_HIERARCHY' EXPORTING vater = rb_vater TABLES sort_tab = $rnhis tab = $rnhie.

ISH_READ_NBAU CALL FUNCTION 'ISH_READ_NBAU' EXPORTING ss_bauid = ls_nbau-bauid IMPORTING ss_nbau = ls_nbau EXCEPTIONS not_found = 1 OTHERS = 2.

ISH_SHOW_HIERARCHY CALL FUNCTION 'ISH_SHOW_HIERARCHY' EXPORTING vater = vaterwert TABLES sort_tab = $rnhis tab = $rnhie.

ISH_SHOW_HIERARCHY CALL FUNCTION 'ISH_SHOW_HIERARCHY' EXPORTING vater = vaterwert TABLES sort_tab = $rnhis tab = $rnhie.



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