Ansicht
Dokumentation

SIMG_CFMENUNMO4ONRA - Data Transfer - Define Record Types

SIMG_CFMENUNMO4ONRA - Data Transfer - Define Record Types

PERFORM Short Reference   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

A number of the data transfer programs delivered in the standard system support different file formats rather than simply one predefined format.

You have to describe these file formats prior to transferring data. The file format for data transfer is described using an identification. You have to specify this identification on the selection screen of the data transfer program before you start this program.

The description of the file format basically comprises two steps:

  • Define record types
  • Describe record structure

This Customizing activity tells you how to describe record types.

  1. Start by establishing whether the batch input report you are using works with record types at all (e.g. RNIPST01). This information is provided in the documentation for the reports delivered in the standard system.
  2. The system reads the record types of the standard programs. They are used to control the program flow. It is particularly important to set the NR (new record) indicator correctly. This enables the reports to recognize the start of a new master record.

You want to create patient master data. The record types PAT and BEM are used. The sequential file could be structured as follows:

1 PAT Miller Thomas 01/01/1966 ...  
2 BEM Tennis player ...  
3 BEM Discopathy...  
4 PAT Schumacher Toni 02/02/1960  
5 BEM Chondralgia...  
6 PAT Jones ...  
7 PAT Smith ...  

The report recognizes by record type PAT (NR indicator!) when a new master record begins and combines the above line numbers in the following master records accordingly:

1 master record: line 1,2,3
2 master record: line 4,5
3 master record: line 6

A number of batch input programs manage without record types (e.g. RNIKOS00 Create Insurance Provider). In such cases, one line in sequential file corresponds to exactly one master record.

3 master record:

If the program you use for transferring data supports different record types, you have to describe the record types in the this table.

To do this, proceed as follows:

  1. Enter the identification of the data record description in the ID field.
  2. Enter the record type from your sequential data set in the RT field.
  3. If required, you can define further subrecord types in the SRT field.
  4. If the record type characterizes the start of a new master record, flag the NR checkbox. Usually you only flag this checkbox for one record type per data record description.
  5. An entry in the Lngth field is optional.
  6. Using the Skip field, you can stipulate that a particular record type is not to be read by the transfer program. Alternatively, you can achieve this by not entering the record type in the table.





General Material Data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 4769 Date: 20240523 Time: 165857     sap01-206 ( 53 ms )