Application Development and Automation 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: 
Read only

Load Material basic data text via LSMW

Former Member
0 Likes
1,103

When I am trying to load material basic data text. HOW CAN I

WRITE MORE THAN 1 LINE IN THE TEXT BOX? Up to now, the system is

overwriting my text. I am trying all these symbols in the field TEXT FORMAT

and it doesn't work: , /, /.

This is the text file:

MATERIAL000000000000000052GRUNEN*WE

MATERIAL000000000000000052GRUNEN/ARE

MATERIAL000000000000000052GRUNEN/DOING

MATERIAL000000000000000052GRUNEN/A

MATERIAL000000000000000052GRUNEN/TEST

OBJECT = MATERIAL

NAME = 000000000000000052 (ARTICLE)

ID = GRUN (BASIC DATA)

TD = * or / ACCORDING TO FUNCTION READ_TEXT

TDLINE = TEXT

RESULT = "TEST"

JUST ONE LINE!!!!

it overwrites the entry from before. and only the last will be visible. I

remember you had taken care of this in LSMW step 5 Maintain field mapping

and conversion rules. Thanks a lot for all the help.

1 ACCEPTED SOLUTION
Read only

JL23
Active Contributor
0 Likes
815

this happens if you create per line a new header record, but you have to have just one header record with several lines.

I have an introduction for text loads in the web:

http://docs.google.com/Doc?docid=0AYVGSkvGNHAyZGQ4eG5kOW5fMWhqbXg1YjI2&hl=en

5 REPLIES 5
Read only

Former Member
0 Likes
815

hi

while recording through LSMW click on the editor and enter the text one by one line....

then save the text...

Regards

Smitha

Read only

JL23
Active Contributor
0 Likes
816

this happens if you create per line a new header record, but you have to have just one header record with several lines.

I have an introduction for text loads in the web:

http://docs.google.com/Doc?docid=0AYVGSkvGNHAyZGQ4eG5kOW5fMWhqbXg1YjI2&hl=en

Read only

Former Member
0 Likes
815

Thanks a lot Jürgen L. , but my problem is during material Basic data text load via LSMW, when I have four line to load for same material its loading only last line. Example like this

6237384 IN01 9721 99 BEST E * THIS DRAWING NUMBER SPECIFIES A

6237384 IN01 9721 99 BEST E / BE 2 BEARINGS IN A BOX WHICH MUST NOT

6237384 IN01 9721 99 BEST E / BE SEPARATED.

6237384 IN01 9721 99 BEST E / MATCHED SET OF BEARINGS. THERE SHOULD

For material 6237284 its loading only MATCHED SET OF BEARINGS. THERE SHOULD. rest is getting over writen by. Thanks for help.

,

Read only

ThomasZloch
Active Contributor
0 Likes
815

Seems like you're missing a "transfer_record" in your mapping rules.

Are you using LSMW standard object "0001", or "0020", or something else?

Thomas

Read only

Former Member
0 Likes
815

for this use below LSMW BAPI mthod

Business Object BUS1001006 Standard material

Method SAVEDATA Create and change materia

Message Type MATMAS_BAPI Create and change materia

Basic Type MATMAS_BAPI02 Create and Change Materia

and use this strcture E1BP_MAKT Material Descriptions