RNJOIN00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program RNJOIN00 merges patients who have been entered twice in the system with their institution master records, cases, insurance relationships, and risk factors...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 RNJOIN00 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
NP06 - IS-H: Merging patients
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: TESTM = Test Mode
Selection Text: SE_EINRI = Institution
Selection Text: PZIFF2 = Check Digit
Selection Text: PZIFF1 = Check Digit
Selection Text: PATNR2 = Patient who Is Deactivated
Selection Text: PATNR1 = Patient who Remains Active
Selection Text: C_ITEMS = Include Cleared Items
Title: IS-H: Merge Patients
Text Symbol: 029 = Cancel
Text Symbol: 030 = Information
Text Symbol: 031 = CRM Account ID
Text Symbol: 032 = Insurance Cards
Text Symbol: M01 = Merge Patients
Text Symbol: S00 = Cancel
Text Symbol: S01 = Institution
Text Symbol: T01 = Check Digit
Text Symbol: U02 = Patient who Remains Active
Text Symbol: U03 = Patient who Is Deactivated
Text Symbol: U04 = Test Mode
Text Symbol: U05 = Settings
Text Symbol: U06 = Include Cleared Items
Text Symbol: U07 = Output
Text Symbol: U08 = ABAP
Text Symbol: U09 = HTML
Text Symbol: 001 = Overview of data of both patients before merging
Text Symbol: 002 = Overview of data of the active
Text Symbol: 003 = patient after merging
Text Symbol: 004 = both patients
Text Symbol: 009 = Ext. Pat.
Text Symbol: 010 = Patient
Text Symbol: 011 = Institution Master Records
Text Symbol: 012 = Cases
Text Symbol: 013 = Insurance-Relationship Proposal Pool
Text Symbol: 014 = Risk Factors
Text Symbol: 015 = Medical Records
Text Symbol: 016 = SI Number
Text Symbol: 017 = DBC
Text Symbol: 018 = Certificates
INCLUDE MNDATA00.
INCLUDE MNDATA01.
INCLUDE MNDATA02.
INCLUDE MNCOLOUR.
INCLUDE OIN00_F01.
INCLUDE RNSSEINR.
No SAP DATABASE tables are accessed within this REPORT code!
SFW_GET_SWITCH_STATE * CALL FUNCTION 'SFW_GET_SWITCH_STATE' * EXPORTING * switch_name = 'ISH_CRMPM' * IMPORTING * switch_state = ld_switch_state.
POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * TITLEBAR = text-030 * DIAGNOSE_OBJECT = 'ISH_CRM_BLOCK_PATIENT_MERGER' * TEXT_QUESTION = text-027 * TEXT_BUTTON_1 = text-028 * ICON_BUTTON_1 = 'ICON_CHECKED' * TEXT_BUTTON_2 = text-029 * ICON_BUTTON_2 = 'ICON_CANCEL' * DISPLAY_CANCEL_BUTTON = ' ' * POPUP_TYPE = 'ICON_MESSAGE_INFORMATION' * IMPORTING * ANSWER = ANS.
ISH_READ_NPAT CALL FUNCTION 'ISH_READ_NPAT' EXPORTING ss_einri = se_einri ss_patnr = patnr1 ss_check_vip = on ss_check_inactive = on IMPORTING ss_npat = npat1 EXCEPTIONS not_found = 01 no_authority = 02.
ISH_NPAT_CONCATENATE CALL FUNCTION 'ISH_NPAT_CONCATENATE' EXPORTING ss_einri = se_einri ss_patnr = npat1-patnr ss_npat = npat1 IMPORTING ss_pname = pname1.
ISH_READ_NPAT CALL FUNCTION 'ISH_READ_NPAT' EXPORTING ss_einri = se_einri ss_patnr = patnr2 ss_check_vip = on ss_check_inactive = on IMPORTING ss_npat = npat2 EXCEPTIONS not_found = 01 no_authority = 02.
ISH_NPAT_CONCATENATE CALL FUNCTION 'ISH_NPAT_CONCATENATE' EXPORTING ss_einri = se_einri ss_patnr = npat2-patnr ss_npat = npat2 IMPORTING ss_pname = pname2.
ISH_AUTH_CHECK_REPORT_EINRI CALL FUNCTION 'ISH_AUTH_CHECK_REPORT_EINRI' EXPORTING repid = repid einri = se_einri no_message = off messagetype = 'E'.
ISH_PAT_MERGE_SET_C_ITEMS CALL FUNCTION 'ISH_PAT_MERGE_SET_C_ITEMS' EXPORTING i_c_items = c_items EXCEPTIONS OTHERS = 0.
ISH_ACCESSIBILITY_MODE_GET CALL FUNCTION 'ISH_ACCESSIBILITY_MODE_GET' IMPORTING accessibility = gv_acc_mode EXCEPTIONS its_not_available = 1 OTHERS = 2.
ISH_EHC_CHECK_PAT_MERGE CALL FUNCTION 'ISH_EHC_CHECK_PAT_MERGE' EXPORTING i_einri = se_einri IMPORTING e_active = g_active.
ISH_MEDICAL_RECORD_MERGE_TABLE
CALL FUNCTION 'ISH_MEDICAL_RECORD_MERGE_TABLE' EXPORTING ss_einri = einri_tab ss_patnr1 = patnr1 ss_patnr2 = patnr2 ss_test_mod = on " testm "MEDRECS already enqueued if testmode off! TABLES ss_doc_tab = ndoc_tab EXCEPTIONS enqueue_false = 8 OTHERS = 12.
ISH_MEDICAL_RECORD_MERGE_TABLE CALL FUNCTION 'ISH_MEDICAL_RECORD_MERGE_TABLE' EXPORTING ss_einri = se_einri ss_patnr1 = patnr1 ss_patnr2 = patnr2 ss_test_mod = on "testm "MEDRECS already enqueued if testmode off! TABLES ss_doc_tab = ndoc_tab EXCEPTIONS enqueue_false = 8 OTHERS = 12.
SFW_GET_SWITCH_STATE CALL FUNCTION 'SFW_GET_SWITCH_STATE' EXPORTING switch_name = 'ISH_CRMPM' IMPORTING switch_state = ld_switch_state.
ISH_COUNTRY_VERSION_GET CALL FUNCTION 'ISH_COUNTRY_VERSION_GET' IMPORTING ss_cvers = nl_cvers EXCEPTIONS OTHERS = 0.
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 RNJOIN00 or its description.