RN2GET04 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You will find the documentation concerning the transfer of findings in H7 format in the menu bar
If you would like to execute this report or see the full code listing simply enter RN2GET04 into the relevant SAP transactions such as SE38 or SE80
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: SE_IMMED = Start Update Immediately
Selection Text: SE_SYSTS = Partner System(s)
Title: Retrieval of Unstructured Lab Values in HL7 Format
Text Symbol: 001 = Start Update Immediately
Text Symbol: 002 = Use DRAW Sec. Index (RES1+RES2)
Text Symbol: 100 = All Data Retrieved:
Text Symbol: 110 = No data was available.
Text Symbol: 120 = Errors occurred during data transfer.
Text Symbol: 130 = Messages,
Text Symbol: 140 = incorrect.
Text Symbol: 150 = No data is available for this client.
Text Symbol: 160 = System is currently locked.
Text Symbol: 170 = Call SM35 to Check Incorrect BDC Sessions
Text Symbol: 200 = System
Text Symbol: 210 = Data Transfer Log
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ISH_N2_GET_TEXT_DATA_HL7 CALL FUNCTION 'ISH_N2_GET_TEXT_DATA_HL7' EXPORTING book_immediatly = book_immediatly * DATA_DIRECT_GIVEN = 0 mapname = itnci1-groupid system = itnci1-system im_sec_index1 = secindex IMPORTING qnterrormails = qnterrmails qntmails = qntmails TABLES itran = itran EXCEPTIONS bad_environment = 01 bad_system_params = 02 connection_failed = 03 filechange_failed = 04 filecreate_failed = 05 filelock_failed = 06 filerename_failed = 07 gateway_error = 08 mapcreate_failed = 20 "<- Achtung! no_clientdata_there = 17 "<- Achtung! Wird abgefragt!!! no_correct_format = 23 no_data_there = 09 "<- Achtung! Wird abgefragt!!! no_segments = 21 "<- Achtung! no_tn02s_entry = 10 no_tnci1_entry = 22 "<- Achtung! no_txcom_entry = 11 open_datfile_failed = 12 open_sstat_failed = 13 quantity_error = 14 tmpfiles_exists = 15 unknown_error = 16 OTHERS = 30.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RN2GET04 - Retrieval of Unstructured Lab Values in HL7 Format RN2GET04 - Retrieval of Unstructured Lab Values in HL7 Format RN2GET02_TESTDATA - Test Program: Retrieve Structured Lab Findings in HL7 Format RN2GET02_TESTDATA - Test Program: Retrieve Structured Lab Findings in HL7 Format RN2GET02 - Retrieval of Structured Lab Findings in HL7 Format RN2GET02 - Retrieval of Structured Lab Findings in HL7 Format