SAP ABAP IMG Activity SIMG_CFMENUNMO4ONRA (Data Transfer - Define Record Types)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       NBAS (Package) Appl. development Hospital System master data, catalogs
IMG Activity
ID SIMG_CFMENUNMO4ONRA Data Transfer - Define Record Types  
Transaction Code S_KK4_74000155   IMG Activity: SIMG_CFMENUNMO4ONRA 
Created on 19990816    
Customizing Attributes SIMG_CFMENUNMO4ONRA   Data Transfer - Define Record Types 
Customizing Activity SIMG_CFMENUNMO4ONRA   Data Transfer - Define Record Types 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_CFMENUNMO4ONRA    

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 IMG activity tells you how to describe record types.

Requirements

  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.

Example

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 ...            <line end>

2 BEM    Tennis player ...            <line end>

3 BEM    Discopathy...            <line end>

4 PAT    Schumacher Toni 02/02/1960            <line end>

5 BEM    Chondralgia...            <line end>

6 PAT    Jones ...            <line end>

7 PAT    Smith ...            <line end>

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.

Activities

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.

Business Attributes
ASAP Roadmap ID 308   Transfer Data to Live System 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_CFMENUNMO4ONRA 0 I041002051 Tools 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
TNT2S S - Table (with text table) ONRA 1 Maintain Record Types 
History
Last changed by/on SAP  19990816 
SAP Release Created in