cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW long text

Former Member
0 Kudos

I'm trying to load Long text using LSMW direct input method I'm getting data lenght too large error while reading the file Can Some one explain me this error. WHEN i CHANGED THE LENGHT OF long text to 30 'm not getting any dump and the po text is getting updated but my concern is text is upto 132 char how can I increase the text to 132 .. I may get text upto 300 char.

MY FLAT FILE IS LIKE BELOW

H 000000000000740701 BEST

I TESTING TESTING TESTING BY

H 000000000000745593 BEST

I TESTING TESTING TESTING BY

I TESTING

Thanks

Edited by: Bhargav Srinadh Gundabolu on Sep 28, 2009 8:33 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

One more Question I'm able to upload PO text (ofcource 30 char per line) but coming to sales text I'm getting a success message when I executed LSMW but the material is not updated with the sales text

My load file is as below

H 000000000000714470 0001

I TESTING TESTING TESTING BY

I for QW tttt

I tttttttttttttttttttttttttt

I tttttttttttttttttttttttttt

H 000000000000745593 0001

I TESTING TESTING TESTING BY

I TESTING

Please throw your ideas.

Thank you

JL23
Active Contributor
0 Kudos

H 000000000000714470 0001

this does not look like a key for sales text.

A sales texts key is a material number, sales org, distribution channel combination.

A successful message means, that you really added text to tables.

If you did not hit an existing material master, then you just created phantom texts.

As the text upload program does not check on existence of data, you have to do it yourself in the LSMW. Means before you transfer_record you should do a select at STXH with the key. Only if this select is succesfull, then you should do the transfer_record.

Former Member
0 Kudos

THANK YOU FOR REPLYING JURGEN..I APPRECIATE YOUR HELP.

When you say combination of material number sales org and distribution channel what will be my source field declaration it will be a 24 char am I correct currently my fields are as below

TEXTID lONG TEXT

IDENTIFIER C(001) Identifier

Identifing Field Content: H

MATNR C(018) Material Number

Identifing Field Content: H

TEXTID C(004) text id

Identifing Field Content: H

LONGTEXT long text

IDENTIFIER C(001) IDENTIFIER

Identifing Field Content: I

MAKTX C(030) MATERIAL DESCRIPTION

Identifing Field Content: I

can you guide me with the declaration

Thank you

JL23
Active Contributor
0 Kudos

go into any material master that has sales text. go to the sales text view.

click the Editor button (or double click the text)

now SAP will take you to the sap script editor.

Choose from menu GOTO > HEADER

and SAP will show you in a pop-up in the very first field called text name how the key has to be

Former Member
0 Kudos

I changed the name to 24 char and added sales org and DC now it is updating

Thank You Jergen ..I gave u answered points

Answers (1)

Answers (1)

JL23
Active Contributor
0 Kudos

Using the old import with method 0001 you have to split the long text into several lines.

I dont go beyond 70.

But SAP offers an option to use a new program in LSMW for text loads.

More can be read in OSS Note 191669 - LSMW: Importing long texts using RSTXLITF

Further read the docu for RSTXLITF in SE38. it even explains more than the OSS note.