Process for Transferring Material Master Data 

Purpose

You use the following process to transfer material master data from a legacy system to the R/3 System automatically.

You transfer stock data from Inventory Management to your material master records using batch input program RM07MMBL.

Process Flow

When you transfer material master data, the data from the legacy system is converted into a sequential data transfer file and then transferred to the R/3 System by direct input using the data transfer program RBMVSHOW. The data transfer file contains the data in a specific SAP-compatible format and is a requirement for transferring your data successfully. The system carries out the same checks as when you enter data manually. It issues the same error messages and warnings, and the data is posted and updated in the database in the same way.

The procedure for transferring material master data is as follows:

  1. Identifying Relevant Fields

The screens in the R/3 System are designed around transactions and events. This means that the status of a field is influenced by certain factors and combinations of data and depends on certain functions. A field can have one of the following statuses:

The following factors determine field selection for material master data:

For example, the field Planned delivery time is only ready for input if the material type of the material allows external procurement.

For example, the field Purchasing group on the Purchasing screen in the material master is only ready for input if a plant has been specified as the organizational level.

Before you extract your data from the legacy system, check which fields require entries by working through the SAP transactions.

The Basic Data screen in a material master record contains the field Base unit of measure. This is a required field and must be supplied with a value when transferring your existing data. By accessing the F1 help and choosing Technical info, you see under Field name that the name of the field is MEINS.

  1. Analyzing the Transfer Structure

When you create the sequential file for transferring material master data, you can use customer-specific structure ZMMH1 instead of standard structure BMMH1 for the main screen data. (For information on structure BMMH1, see Rules for Structuring the Transfer File for Material Master Data). Structure ZMMH1 does not come with the standard R/3 System. You must use this structure if you use customer-specific fields in the material master record.

Requirements for using structure ZMMH1:

Like structure BMMH1, the first field in structure ZMMH1 must be the record type. If you include fields in structure ZMMH1 that do not exist in structure BMMH1, the transfer program will not terminate, but the additional fields will be ignored.

If you have used structure ZMMH1 to create the sequential file, you must run generation program RMDATING before transferring data by direct input.

  1. Creating a Sample Data Transfer File

You extract the data you want to transfer to the R/3 System using a program of your own. You write this data to a sequential file in the required sequence. However, before you extract this data, familiarize yourself with the control parameters used in material master maintenance. They fall into the following categories:

By working through the SAP transactions, you can determine which parameters are needed for which function. Answer the following questions for each material whose data you want to transfer:

- What is the material type of the material?

- What is the industry sector of the material?

You must always specify a material type and industry sector when creating a material master record. Default values from the reference material are ignored.

When creating a material master record, you must also decide beforehand on the following:

For more information, see the SAP library documentation LO Material Master.

When importing the data, the system checks whether you have specified the required parameters in the sequential file. User-specific settings for views and organizational levels are ignored. Any errors are recorded in a log.

In the sequential file, you include not only the data you want to transfer, but also SAP-specific data such as transaction codes. To create the sequential file for direct input, you need to compare the SAP structures with those of your existing system. In some cases, you may need to enhance your data or change the formats or lengths of field contents.

By choosing Test data on the Data Transfer Workbench screen, you can create a sample file (program RMDATGEN). Create a material master record using the material master maintenance transactions and use it to create an input file. This helps you to identify which values are entered in which fields.

You can use program RMDATSHO to display the contents of the sequential file in structured form. This helps you to search for errors in the files.

  1. Testing the Data Transfer Program
  2. Analyzing the Legacy Data
  3. Assigning Fields
  4. Writing and Testing a Conversion Program
  5. Preparing the Legacy System
  6. Testing the Data Transfer

The program used is RMDATIND. This program is an upward-compatible enhancement of the batch input method. As a result, you can continue to use your present input files (or programs for creating them). For more information, see the online documentation for program RMDATIND.

  1. Executing the Data Transfer

The user starting the data transfer must have all the authorizations necessary to maintain material master data. These authorizations are checked when the data is imported. For example, one user may be authorized to maintain data for all the user departments in the material master, while another may be authorized to maintain data only for certain user departments. The data is created/changed under this name. The field USERID has no function.

For information, see the online documentation for program RBMVSHOW.

Result

The material master data is transferred to the R/3 System.