Example: Material Sales Texts 
You want to migrate material sales texts from a legacy system to the SAP system.
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 |
Since the SAP system expects a two-level hierarchy, there have to be two hierarchy levels in the project as well.
Material number C (018)
Language C (002)
Text line C (050)
LTXTH <<<< MVTX1
LTXTL <<<< MVTX2
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:
Syntax
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'.
Caution
When you use a rule other than MOVE (for example, translation) to convert the key for migration of the application object, you also have to use this conversion for generation of the NAME field. The text is handled as continuous text if you do not specify a value for the Text Format field.
Note
If you want the lines to be wrapped, branch to the editor and enter the following code: If you want the line breaks to take place, then branch to the editor and enter the follow code:
LTXTL-Textformat = '*'. (<Quotation Mark><Asterisk><Quaotation Mark><Point>).
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 |