SAP Reports / Programs | Patient Management | SAP Healthcare - Industry-Specific Components for Hospitals | Patient Management(IS-H-PM) SAP IS

RNWP_OCCUPANCY_LIST SAP ABAP Report - IS-H: MiniApp 'Care Unit Occupancy'







RNWP_OCCUPANCY_LIST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RNWP_OCCUPANCY_LIST 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 RNWP_OCCUPANCY_LIST. "Basic submit
SUBMIT RNWP_OCCUPANCY_LIST AND RETURN. "Return to original report after report execution complete
SUBMIT RNWP_OCCUPANCY_LIST 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: KEYDATE = Date
Selection Text: SE_EINRI = Institution
Selection Text: SE_ORGFA = D Departmental Assignment
Selection Text: SE_ORGPF = D Nursing Assignment
Selection Text: SE_ZIMMR = D Room
Title: IS-H: MiniApp 'Care Unit Occupancy'
Text Symbol: 001 = Occupancy Overview
Text Symbol: 002 = No patients exist
Text Symbol: S01 = Institution
Text Symbol: S02 = Date
Text Symbol: S03 = Time


INCLUDES used within this REPORT RNWP_OCCUPANCY_LIST

INCLUDE RNDATA00.
INCLUDE RNLALV00.
INCLUDE RNWP_DATA.
INCLUDE RNSSEINR.
INCLUDE RNWP_F01.
INCLUDE RNWP_INIT.
INCLUDE RNWP_ATSEL.


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_NPAT_CONCATENATE call function 'ISH_NPAT_CONCATENATE' exporting * SS_EINRI = '*' ss_patnr = wa_xdata-patnr ss_npat = lnpat importing ss_pname = wa_xdata-pnamec.

ISH_FIND_AGE call function 'ISH_FIND_AGE' exporting date = sy-datum date_of_birth = wa_xdata-gbdat importing age = wa_xdata-agepat exceptions others = 0.

ISH_CONVERT_SEX_OUTPUT call function 'ISH_CONVERT_SEX_OUTPUT' exporting ss_gschl = wavbewfal-gschl importing ss_gschle = wa_xdata-gschle * SS_GSCHLTXT = exceptions others = 0.

ISH_READ_NBAU call function 'ISH_READ_NBAU' exporting ss_bauid = wa_xdata-zimmr importing ss_bkurz = wa_xdata-zimmerkb exceptions others = 0.

ISH_READ_NBAU call function 'ISH_READ_NBAU' exporting ss_bauid = wa_xdata-bett importing * SS_NBAU = ss_bkurz = wa_xdata-bettkb exceptions others = 0.

OWN_LOGICAL_SYSTEM_GET call function 'OWN_LOGICAL_SYSTEM_GET' importing own_logical_system = logical_system exceptions own_logical_system_not_defined = 1 others = 2.

CONVERT_SAP_LANG_TO_ISO_LANG call function 'CONVERT_SAP_LANG_TO_ISO_LANG' exporting input = sy-langu importing output = lang exceptions unknown_language = 1 others = 2.

ISH_READ_NORG call function 'ISH_READ_NORG' exporting einri = p_einri orgid = p_orgfa importing norg_e = lnorg exceptions others = 1.

ISH_READ_NORG call function 'ISH_READ_NORG' exporting einri = p_einri orgid = p_orgpf importing norg_e = lnorg exceptions others = 1.

ISH_READ_NBAU call function 'ISH_READ_NBAU' exporting ss_bauid = p_room importing ss_nbau = lnbau exceptions not_found = 1 others = 2.

ISH_GRAPHIC_ORGID_SELECT call function 'ISH_GRAPHIC_ORGID_SELECT' exporting date = p_date einri = p_einri fazuw = on freig = on loekz = off no_bauid = on sperr = off importing nothing_selected = nothing_selected selected_orgid = pf4_value exceptions others = 01.

ISH_GRAPHIC_ORGID_SELECT call function 'ISH_GRAPHIC_ORGID_SELECT' exporting date = p_date einri = p_einri pfzuw = on ambes = off freig = on loekz = off no_bauid = on sperr = off start_orgfa = p_orgfa importing nothing_selected = nothing_selected selected_orgid = pf4_value exceptions others = 01.

ISH_GRAPHIC_ORGID_SELECT call function 'ISH_GRAPHIC_ORGID_SELECT' exporting date = p_date einri = p_einri freig = on loekz = off no_bauid = off * PFZUW = '*' sperr = off zimkz = on start_orgfa = p_orgfa start_orgpf = p_orgpf importing nothing_selected = nothing_selected selected_bauid = pf4_value exceptions others = 1.

ISH_GET_DDTEXT call function 'ISH_GET_DDTEXT' exporting ss_ddobj = p_fname ss_txttype = p_typ importing ss_ddtext = lddtext.



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