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
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: 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 ;;
INCLUDE RNSSEINR.
INCLUDE RNSSSEIN.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RN1PFBELEG - Occupancy Control RN1PFBELEG - Occupancy Control RN1PETOP - documentation and ABAP source code RN1PERMDSTOP - documentation and ABAP source code RN1PERI_DOWNLOAD_TABS - Gen. Report: contains document structures for N1PERIDOWNLOAD RN1PERI_DOWNLOAD_TABS - Gen. Report: contains document structures for N1PERIDOWNLOAD