Example: Material Sales Texts
Use
You want to migrate material sales texts from a legacy system to the SAP system.
Structures and Fields in the SAP System for the Migration Object Class 00
|
STYPE |
Record type (technical field) |
|---|---|
|
OBJECT |
Application object |
|
NAME |
Text name |
|
ID |
Text ID |
|
SPRAS |
Language |
|
STYPE |
Record type (technical field) |
|
TEXTFORMAT |
Format field (2 characters) |
|
TEXTLINE |
Application object |
Source structures and fields
Since the SAP system expects a two-level hierarchy, there have to be two hierarchy levels in the project as well.
MVTX1: Material sales text header
Material number C (018)
Language C (002)
MVTX2: Material sales text line
Text line C (050)
Structure relationships between the legacy system and the SAP system
LTXTH <<<< MVTX1
LTXTL <<<< MVTX2
Field relationships and field assignments
Field relationships and field assignments are created in the same way as done with the remaining migration objects as well. However, note that the material number (length 18), sales organization (length 04), and distribution channel (length 02) are included in the SAP field NAME. This means, the field relationship and field assignments for the NAME field might look like this:
NAME
Textname
Quellfeld(er): MVTX1-MATERIALNUMMER ()
Verarbeitung:
Regel
Coding: *
Zielfeld: LTXTH-NAME
Textname.
LTXTH-NAME = MVTX1-MATERIALNUMMER.
LTXTH-NAME+18 = '0001'.
LTXTH-NAME+22 = '01'.
Example for input data in a Microsoft Excel Table
|
MATERIAL NUMBER |
LANGUAGE |
TEXT LINE |
|
material_01234 |
EN |
My material - first line |
|
material_01234 |
EN |
My material - second line |
|
material_01234 |
EN |
My material - third line |
|
material_02345 |
EN |
My material 2 - first line |
|
material_02345 |
EN |
My material 2 - second line |
|
material_02345 |
EN |
My material 2 - third line |