SAP Reports / Programs

RNUVVDEBI SAP ABAP Report - IS-H: Update Self-Payer Insurance Relationships for BAPI







RNUVVDEBI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for IS-H: Post Self-Payer Insurance Relationships for BAPI Patient...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 RNUVVDEBI 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 RNUVVDEBI. "Basic submit
SUBMIT RNUVVDEBI AND RETURN. "Return to original report after report execution complete
SUBMIT RNUVVDEBI 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: CREATE = Create FI Customers
Selection Text: ERROR = Repeat update for errored recs
Selection Text: EINRI = D .
Selection Text: SEL_PAT = D .
Title: IS-H: Update Self-Payer Insurance Relationships for BAPI
Text Symbol: 001 = Patient could not be deleted from database table NPATVVDEBI.
Text Symbol: 002 = Self-payer insurance relationship could not be updated.
Text Symbol: 003 = Self-payer insurance relationship(s) updated successfully.
Text Symbol: 004 = Self-payer insurance relationship(s) not updated.
Text Symbol: 005 = No self-payer insurance relationship to be updated found.
Text Symbol: 008 = patient-related insurance relationships are already locked.
Text Symbol: 009 = patient-related insurance relationships could not be unlocked
Text Symbol: 010 = Text


INCLUDES used within this REPORT RNUVVDEBI

INCLUDE RNDATA00.
INCLUDE MNDATA02.


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_INSREL_FI_CUSTOMER_CHECK CALL FUNCTION 'ISH_INSREL_FI_CUSTOMER_CHECK' EXPORTING ***************************** note 1602996 ***************************** i_einri = l_einri ***************************** note 1602996 ***************************** i_patnr = wa_pat-patnr * I_FALNR = i_dialog = off TABLES e_return = i_message.

ISH_INSREL_PAT_POOL_GET CALL FUNCTION 'ISH_INSREL_PAT_POOL_GET' EXPORTING ***************************** note 1602996 ***************************** ss_einri = l_einri ***************************** note 1602996 ***************************** ss_patnr = wa_pat-patnr TABLES ss_vnpir_curr = gt_vnpir_curr ss_vrng12n_curr = gt_vrng12n_curr ss_vrng13n_curr = gt_vrng13n_curr ss_address = gt_address.

ISH_DEQUEUE_FROM_NPATVVDEBI CALL FUNCTION 'ISH_DEQUEUE_FROM_NPATVVDEBI' EXPORTING einri = wa_pat-einri patnr = wa_pat-patnr EXCEPTIONS patnr_not_deleted = 1 OTHERS = 2.

ISH_SET_ERROR_IN_NPATVVDEBI CALL FUNCTION 'ISH_SET_ERROR_IN_NPATVVDEBI' EXPORTING einri = wa_pat-einri patnr = wa_pat-patnr.

ISH_SET_ERROR_IN_NPATVVDEBI CALL FUNCTION 'ISH_SET_ERROR_IN_NPATVVDEBI' EXPORTING einri = wa_pat-einri patnr = wa_pat-patnr.

ISH_PATIENT_POOL_GET CALL FUNCTION 'ISH_PATIENT_POOL_GET' EXPORTING ss_patnr = wa_pat-patnr ***************************** note 1602996 ***************************** ss_einri = l_einri ***************************** note 1602996 ***************************** IMPORTING ss_npat_curr = gs_npat ss_nadr_curr = gs_nadr TABLES ss_telnr_curr = gt_telnr.

ISH_INSREL_FI_CUST_ADDRESS_UPD CALL FUNCTION 'ISH_INSREL_FI_CUST_ADDRESS_UPD' EXPORTING ***************************** note 1602996 ***************************** i_einri = l_einri ***************************** note 1602996 ***************************** i_vnpir_curr = gs_vnpir i_vrng12n_curr = gs_vrng12n i_rng12n_daba = gs_rng12n i_npat = gs_npat i_nadr = gs_nadr ***************************** note 1602996 ***************************** i_commit = kz_enq ***************************** note 1602996 ***************************** IMPORTING e_change_failed = change_failed TABLES it_address = gt_address it_telnr = gt_telnr et_return = i_message it_vrng13n_curr = gt_vrng13n_curr.

DEQUEUE_ENVVH CALL FUNCTION 'DEQUEUE_ENVVH' EXPORTING patnr = wa_pat-patnr EXCEPTIONS OTHERS = 1.

ISH_SET_ERROR_IN_NPATVVDEBI CALL FUNCTION 'ISH_SET_ERROR_IN_NPATVVDEBI' EXPORTING einri = wa_pat-einri patnr = wa_pat-patnr.

ISH_SET_ERROR_IN_NPATVVDEBI CALL FUNCTION 'ISH_SET_ERROR_IN_NPATVVDEBI' EXPORTING einri = wa_pat-einri patnr = wa_pat-patnr.

ISH_DEQUEUE_FROM_NPATVVDEBI CALL FUNCTION 'ISH_DEQUEUE_FROM_NPATVVDEBI' EXPORTING einri = wa_pat-einri patnr = wa_pat-patnr EXCEPTIONS patnr_not_deleted = 1 OTHERS = 2.

ISH_SET_ERROR_IN_NPATVVDEBI CALL FUNCTION 'ISH_SET_ERROR_IN_NPATVVDEBI' EXPORTING einri = wa_pat-einri patnr = wa_pat-patnr.

ISH_BAPIRET2_DISPLAY CALL FUNCTION 'ISH_BAPIRET2_DISPLAY' EXPORTING send_if_one = off object = sy-title TABLES ss_bapiret2 = i_message.

ENQUEUE_ENVVH CALL FUNCTION 'ENQUEUE_ENVVH' EXPORTING patnr = $patnr _scope = 3 EXCEPTIONS foreign_lock = 4 OTHERS = 12.

ISH_CALL_LIST_HEAD CALL FUNCTION 'ISH_CALL_LIST_HEAD' EXPORTING ausbegdt = rnstat-ausbegdt ausenddt = rnstat-ausenddt line_size = rnstat-line_size repid = rnstat-repid title_lin1 = rnstat-title_lin1 uline = off display = off IMPORTING r_form = lr_header EXCEPTIONS invalid_einri = 1.

ISH_INSREL_PAT_GETLIST CALL FUNCTION 'ISH_INSREL_PAT_GETLIST' EXPORTING ss_einri = p_wa_pat-einri ss_patnr = p_wa_pat-patnr ss_read_adr = 'X' TABLES ss_npir = lt_npir.

ISH_INSREL_PAT_MODIFYMULTIPLE CALL FUNCTION 'ISH_INSREL_PAT_MODIFYMULTIPLE' EXPORTING i_einri = p_wa_pat-einri i_patnr = p_wa_pat-patnr i_authcheck = 'X' i_testrun = 'X' i_dialog = ' ' i_process_fi_cust = 'X' TABLES ie_rnpir = lt_vnpir ie_vrng12n_curr = lt_vrng12n ie_vrng13n_curr = lt_vrng13n.

ISH_INSREL_PAT_SAVE CALL FUNCTION 'ISH_INSREL_PAT_SAVE' EXPORTING ss_einri = p_wa_pat-einri ss_patnr = p_wa_pat-patnr IMPORTING ss_retmaxtype = l_error TABLES ss_return = ct_return ss_vnpir_curr = lt_vnpir_save ss_vrng12n_curr = lt_vrng12n ss_vrng13n_curr = lt_vrng13n.



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