Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

lsmw question of Direct input material master->additionaldata-> short text

Former Member
0 Kudos

Hello Experts,

in LSMW, standard batch/direct input, (object 0020, method : 0000, prog name: RMDATIND, Prog type: D).

how to create more then one short text in different languges. [mm01-> additional data ->short text ]

for example: i want to create material

material : xyz-01 with short text

langugae DE: short text: DE-text,

langugae EN: short text: EN-text,

langugae FR: short text: FR-text,

langugae CS: short text: CS-text,

material : xyz-02 with short text

material : xyz-01 with short text

langugae DE: short text: DE-text,

langugae EN: short text: EN-text,

langugae FR: short text: FR-text,

langugae CS: short text: CS-text,

how to configure the LSMW map filed steps and flat files.

regards

srinivas

1 ACCEPTED SOLUTION

former_member214131
Active Contributor
0 Kudos

Hi,

Create two files; one header with basic data and other with your texts...

Map headerfile to BMMH1 to load the header data...along with a mapping to BGR00 & BMM00...

Map the texts file to BMMH5 with the texts in different languages...

Hope this helps...

Best Regards, Murugesh

7 REPLIES 7

Former Member
0 Kudos

Hi.

In the Maintain Field Mapping and Conversion Rules write abap code rule for corresponding field.

Use transfer_record global function to create several records for that field.

0 Kudos

hi marat,

i am new to this lsmw,

send me in detials abap code for sort text.

and also i have to delevop lsmw for material bom (batch/direct input: object: 0030, method :0001).

here i dont know how to maintina flat file structure orders for header and item .

plz send me the flat file structure order for header and item asap.

former_member214131
Active Contributor
0 Kudos

Hi,

Create two files; one header with basic data and other with your texts...

Map headerfile to BMMH1 to load the header data...along with a mapping to BGR00 & BMM00...

Map the texts file to BMMH5 with the texts in different languages...

Hope this helps...

Best Regards, Murugesh

venkat_pinnamnei
Explorer
0 Kudos

Hi Srinivas,

I have similar requirement where I need to upload multiple short texts for each material. Please let me know how to define the structure in LSMW step3 and assgining the file to the structure and also the format of the input file.

Thanks

Venkat

0 Kudos

hello venkat pinnamnei ,

TYPES: BEGIN OF struucture,

MATNR TYPE MATNR,

SPRAS TYPE SPRAS,

MAKTX TYPE MAKTX,

END OF structure.

DATA: tab TYPE TABLE OF structure WITH HEADER LINE.

Flat file should be....like below order/format.

Matnr Language Description

XYZ1 D xyz1 description

XYZ1 F xyz1 description

XYZ1 I xyz1 description

XYZ1 C xyz1 description

XYZ1 T xyz1 description

XYZ1 E xyz1 description

XYZ1 T xyz1 description

XYZ1 C xyz1 description

XYZ2 D xyz2 desc -de

XYZ2 I xyz2 desc

XYZ2 F xyz2 desc

XYZ2 E xyz2 desc

XYZ2 T xyz2 desc

XYZ2 C xyz2 desc

XYZ2 I xyz2 desc

XYZ2 D xyz2 desc

0 Kudos

hello venkat pinnamnei ,

TYPES: BEGIN OF struucture,

MATNR TYPE MATNR,

SPRAS TYPE SPRAS,

MAKTX TYPE MAKTX,

END OF structure.

DATA: tab TYPE TABLE OF structure WITH HEADER LINE.

Flat file should be....like below order/format.

Matnr Language Description

XYZ1 D xyz1 description

XYZ1 F xyz1 description

XYZ1 I xyz1 description

XYZ1 C xyz1 description

XYZ1 T xyz1 description

XYZ1 E xyz1 description

XYZ1 T xyz1 description

XYZ1 C xyz1 description

XYZ2 D xyz2 desc -de

XYZ2 I xyz2 desc

XYZ2 F xyz2 desc

XYZ2 E xyz2 desc

XYZ2 T xyz2 desc

XYZ2 C xyz2 desc

XYZ2 I xyz2 desc

XYZ2 D xyz2 desc

0 Kudos

Hi Srinivas,

Thanks for update.Please let me know do i need to create separate LSMW to upload short texts in Material Master or can I upload the short tests with Multiple languages while I am creating Material Master record using LSMW direct input method.

Thanks

Venkat