Ansicht
Dokumentation

RN1VER00 - Transfer Data to Create Patient Transfer

RN1VER00 - Transfer Data to Create Patient Transfer

Vendor Master (General Section)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

With this report, you can import transfers with a batch input using the Create Transfer function (transaction NV11). A batch-input-session for the transaction NV11 will be created for errored records

If you would first like to test the import of the sequential dataset, you can run the report in test mode. With this, no batch input session is created, instead, only the field values are displayed on each of the screens. The test mode is especially suitable for checking the structure definition of the sequential dataset.

Integration

The report is executed by the report RN1SBMJB (job control for batch input data transfer).

Prerequisites

If the length of a record of the sequential dataset exceeds 1024 bytes, then the length of the buffer variable REC in the include report RNIVER02 must be changed accordingly.

A structure definition (database tables TNT2 and TNT2S) must exist for the sequential dataset. When the report is started, you must enter the record ID of the records to be processed and the entire name of the sequential dataset. If the sequential dataset contains various record types (which is normally the case), the appropriate field must be selected on the selection screen and the offset and the length of the record type must be entered.

You can execute possible necessary conversion of the field formats in the following manner:
Define a corresponding form routine in the report RNILSI20. All changes to the format you can execute with the field icon . The conversion should be set up so that a valid entry format for each entry field is achieved. You can enter the name of the form routine in the field TNT2-FORM of the database table TNT2.

In order to read the patient number from the patient-case relationship table, the 'Refresh Patient Number' indicator must be checked on the selection screen.

Features

Selection

You can find further information on the selection parameters in the documentation of report RN1PST00.

Standard Variants

Output

The report generates a log. You use the selection parameters to define the logging range. For example, the error log logs any errors. The total log shows you all screen fields with the corresponding field content. If you have created a batch input session, you can process this using the menu option System -> Services -> Batch Input -> Session.

Activities

Example

You can obtain examples of form routines from the report RNILSI20.

An example of the structure description of a dataset for the transfer is stored under the ID RNVER in the database tables TNT2 and TNT2S.

Multiple data records are at issue here, differentiated by the record type (VER, BEM). For every record with the record type VER, a preferred number of BEM records can exist. The BEM records can be used to create unstructured information as long text (in Sapscript format). For this the batch input report selects the comment field on the Create Transfer screen and filled row by row from a table previously filled with records of the BEM record type. The VER record type is coded as a main record type from a report-intern point of view.






CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 3523 Date: 20240531 Time: 015826     sap01-206 ( 103 ms )