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

RNREFRDT SAP ABAP Report - IS-H: List Referring/Postdischarge Hospitals







RNREFRDT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program creates a list of Referring hospitals (inpatient) Post-discharge hospitals Referring hospitals for outpatient visits...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 RNREFRDT 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 RNREFRDT. "Basic submit
SUBMIT RNREFRDT AND RETURN. "Return to original report after report execution complete
SUBMIT RNREFRDT 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_OUNIT = Organizational Unit
Selection Text: SE_KHART = Hospital Type/Category
Selection Text: SE_EXTKH = Hospital
Selection Text: SE_EINRI = Institution
Selection Text: PDHOSP = Postdischarge Hospital
Selection Text: OUTPTVST = Referring Hospital
Selection Text: EXTHOSP = Referring Hospital
Selection Text: AUSENDDT = Evaluation End
Selection Text: AUSBEGDT = Evaluation Start
Selection Text: ALVDVAR = Layout
Title: IS-H: List Referring/Postdischarge Hospitals
Text Symbol: U02 = Execution Variant
Text Symbol: S04 = To
Text Symbol: S02 = Evaluation Period
Text Symbol: S01 = Institution
Text Symbol: 017 = Name
Text Symbol: 016 = IS-H: Referring Hospital - Details
Text Symbol: 015 = IS-H: Postdischarge Hospital Details
Text Symbol: 014 = IS-H: Referring Hospital Details
Text Symbol: 013 = Referring Hospital
Text Symbol: 012 = Postdischarge Hospital
Text Symbol: 011 = Referring Hospital
Text Symbol: 010 = Referring Hospital
Text Symbol: 009 = Postdischarge Hospital
Text Symbol: 008 = Referring Hospital
Text Symbol: 007 = Dis. Date
Text Symbol: 006 = Adm. Date
Text Symbol: 005 = Case Type
Text Symbol: 004 = Organizational Unit
Text Symbol: 003 = Total
Text Symbol: 002 = Name
Text Symbol: 001 = Hospital


INCLUDES used within this REPORT RNREFRDT

INCLUDE RNSSTABL.
INCLUDE RNSSEINR.
INCLUDE RNSSAUSZ.
INCLUDE RNSSIEIN.
INCLUDE RNSSIAUS.
INCLUDE RNSSSPBO.




INCLUDE RNSSSEIN.
INCLUDE RNSSSAUS.


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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = gs_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING einri = se_einri IMPORTING selected_orgid = selected_orgid EXCEPTIONS no_hierarchy = 01.

ISH_GRAPHIC_ORGID_SELECT CALL FUNCTION 'ISH_GRAPHIC_ORGID_SELECT' EXPORTING einri = se_einri * no_orgid = on IMPORTING selected_orgid = selected_orgid EXCEPTIONS no_hierarchy = 01.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = hlpvar i_save = 'A' IMPORTING e_exit = gs_exit es_variant = gs_variant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.

ISH_READ_NKRH CALL FUNCTION 'ISH_READ_NKRH' EXPORTING khid = inbew-extkh ss_buffer = 'X' IMPORTING nkrh_e = ls_nkrh EXCEPTIONS not_found = 1 OTHERS = 2.

ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING ausbegdt = rnstat-ausbegdt ausenddt = rnstat-ausenddt einri = rnstat-einri line_size = rnstat-line_size repid = rnstat-repid title_lin1 = rnstat-title_lin1 title_lin2 = rnstat-title_lin2 uline = off EXCEPTIONS invalid_einri = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = rnstat-repid i_callback_user_command = 'USER_COMMAND' i_callback_pf_status_set = 'STANDARD' i_save = 'A' is_variant = gs_variant i_tabname_header = 'INGPA' i_tabname_item = 'IOUCOUNT' is_keyinfo = gs_keyinfo is_layout = gs_layout it_events = gt_events[] it_fieldcat = xfield TABLES t_outtab_header = ingpa t_outtab_item = ioucount.

ISH_DOMAIN_VALUE_TEXTS CALL FUNCTION 'ISH_DOMAIN_VALUE_TEXTS' EXPORTING domname = domname domvalue = domvalue IMPORTING ddtext = ddtext EXCEPTIONS OTHERS = 1.

ISH_READ_NPAT CALL FUNCTION 'ISH_READ_NPAT' EXPORTING ss_einri = se_einri ss_patnr = infal-patnr IMPORTING ss_npat = ss_npat.

ISH_NPAT_CONCATENATE CALL FUNCTION 'ISH_NPAT_CONCATENATE' EXPORTING ss_patnr = infal-patnr ss_npat = ss_npat ss_npat_complete = on IMPORTING ss_pname = concat_name EXCEPTIONS OTHERS = 1.

ISH_SHOW_GPART CALL FUNCTION 'ISH_SHOW_GPART' EXPORTING aufruf = yes rolle = '5' " 5 ... Krankenhaus

ISH_SAP_OM_CHECK_ACTIVE CALL FUNCTION 'ISH_SAP_OM_CHECK_ACTIVE' EXCEPTIONS not_active = 1.

ISH_OM_OU_GET CALL FUNCTION 'ISH_OM_OU_GET' EXPORTING i_instn = se_einri IMPORTING et_norg = lt_norg EXCEPTIONS nothing_found = 0 internal_error = 0 OTHERS = 0.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = rnstat-repid i_callback_user_command = 'USER_COMMAND' i_callback_pf_status_set = 'STANDARD' i_save = 'A' is_variant = gs_variant i_tabname_header = 'IOUTAB_T' i_tabname_item = 'IHOTAB' is_keyinfo = gs_keyinfo is_layout = gs_layout it_events = gt_events[] it_fieldcat = xfield it_special_groups = gt_sp_groups[] TABLES t_outtab_header = ioutab_t t_outtab_item = ihotab.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = rnstat-repid i_callback_user_command = 'USER_COMMAND' i_callback_pf_status_set = 'CASE_DISP' i_tabname_header = 'IMASTER_CASE_TAB' i_tabname_item = 'IDISPLAY' is_keyinfo = gs_keyinfo is_layout = gs_layout it_fieldcat = xfield i_screen_start_column = 2 i_screen_start_line = 2 i_screen_end_column = 80 i_screen_end_line = 24 TABLES t_outtab_header = imaster_case_tab t_outtab_item = idisplay.

ISH_READ_NGPA CALL FUNCTION 'ISH_READ_NGPA' EXPORTING gpart = inbew-extkh IMPORTING nadr_e = nadr_e EXCEPTIONS not_found = 01.



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