SAP Reports / Programs

RNUFPAT0 SAP ABAP Report - IS-H: Default Values for Physicians in Patient Master Data







RNUFPAT0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report determines the physician entered for the last inpatient or outpatient stay, and saves the family physician and referring physician as default values in patient master data...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 RNUFPAT0 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 RNUFPAT0. "Basic submit
SUBMIT RNUFPAT0 AND RETURN. "Return to original report after report execution complete
SUBMIT RNUFPAT0 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: TXTEINRI = Institution Short Text
Selection Text: TESTM = Test Mode
Selection Text: SE_PATNR = Patient
Selection Text: SE_EINRI = Institution
Selection Text: P_INIT = Physicians not yet maintained
Selection Text: P_CHANGE = At Least one Physician
Selection Text: P_ALL = No Change
Title: IS-H: Default Values for Physicians in Patient Master Data
Text Symbol: U08 = New Ref. Physician (Outpat.)
Text Symbol: U07 = New Ref. Physician (Inpat.)
Text Symbol: U06 = New Family Physician
Text Symbol: U05 = Old Ref. Phys. (Outpat.)
Text Symbol: U04 = Old Ref. Phys. (Inpat.)
Text Symbol: U03 = Old Family Physician
Text Symbol: U02 = Name
Text Symbol: U01 = Patient
Text Symbol: SU3 = Number of changed records:
Text Symbol: SU2 = Number of log records:
Text Symbol: SU1 = Number of records to be changed:
Text Symbol: S06 = Patients without any changes ;;
Text Symbol: S05 = Patients for whom physicians had not been maintained
Text Symbol: S04 = Patients with at least one change of physician
Text Symbol: S03 = Log
Text Symbol: S02 = Test Mode
Text Symbol: S01 = Institution
Text Symbol: FEH = Error Messages RNUFPAT0
Text Symbol: FE2 = (See Messages)
Text Symbol: FE1 = Number of Error Messages:


INCLUDES used within this REPORT RNUFPAT0

INCLUDE RNDATA00.
INCLUDE RNSSEINR.
INCLUDE RNSSSPBO.


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_SAP_BP_CHECK_ACTIVE call function 'ISH_SAP_BP_CHECK_ACTIVE' importing e_status = g_sap_bp_active exceptions * NOT_ACTIVE = 1 others = 0.

ISH_AUTH_CHECK_REPORT_EINRI call function 'ISH_AUTH_CHECK_REPORT_EINRI' exporting repid = repid einri = se_einri no_message = off messagetype = 'E'.

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

ISH_READ_NPAT_MULTI call function 'ISH_READ_NPAT_MULTI' exporting it_npat_pk = gt_patnr i_read_db = on i_einri = se_einri importing et_npat = gt_npat.

ISH_NPAT_CONCATENATE call function 'ISH_NPAT_CONCATENATE' exporting ss_patnr = conc_npat-patnr ss_npat = conc_npat ss_npat_complete = off importing ss_pname = liste-name.

ISH_CALL_LIST_HEAD call function 'ISH_CALL_LIST_HEAD' exporting einri = se_einri repid = rnstat-repid line_size = rnstat-line_size title_lin1 = rnstat-title_lin1 uline = off.

MESSAGES_COUNT * CALL FUNCTION 'MESSAGES_COUNT' * IMPORTING * count = tab_index.

ISH_PRINT_PROTOCOL_BATCH call function 'ISH_PRINT_PROTOCOL_BATCH' exporting line_size = rnstat-line_size minutes_title = text-feh repid = rnstat-repid new_section = on exceptions others = 0.

ISH_SHOW_LIST_PATIENT call function 'ISH_SHOW_LIST_PATIENT' exporting anfo = on vcode = 'DIS' npat_einri = se_einri importing npat_patnr = help_patnr npat_pziff = help_pziff storno_selected = storno_selected weiter = weiter exceptions others = 1.

ISH_READ_NGPA_MULTI call function 'ISH_READ_NGPA_MULTI' exporting it_ngpa_pk = sel_ngpa[] * I_READ_DB = ' ' * I_ADDRESS_REQ = ' 'lt_bupa_patients * I_TELNR_REQ = ' ' importing et_bupa_hcroles = lt_bupa_phys "onöly common role (nbup) returned! et_ngpa = lt_ngpa * ET_NADR = * ETT_NADR_TELNR = * E_STATUS = * ET_RC = .

ENQUEUE_ENPAT * call function 'ENQUEUE_ENPAT' * exporting * patnr = $patnr * _scope = '3' * exceptions * foreign_lock = 4 * others = 12.

ISH_API_ENQUEUE_PATIENT call function 'ISH_API_ENQUEUE_PATIENT' exporting * I_MODE = 'E' * I_MANDT = SY-MANDT i_patnr = $patnr * I_X_PATNR = ' ' i_scope = '3' * I_WAIT = ' ' * I_COLLECT = ' ' exceptions foreign_lock = 4 * SYSTEM_FAILURE = 2 others = 12 .

DEQUEUE_ENPAT * call function 'DEQUEUE_ENPAT' * exporting * patnr = $patnr.

ISH_API_DEQUEUE_PATIENT call function 'ISH_API_DEQUEUE_PATIENT' exporting * I_MODE = 'E' * I_MANDT = SY-MANDT i_patnr = $patnr * I_X_PATNR = ' ' * I_SCOPE = '3' * I_SYNCHRON = ' ' * I_COLLECT = ' ' .

MESSAGES_COUNT call function 'MESSAGES_COUNT' importing count = tab_index.

ISH_PRINT_PROTOCOL call function 'ISH_PRINT_PROTOCOL' exporting line_size = rnstat-line_size minutes_title = text-feh repid = rnstat-repid.



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