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

Uploading long text using LSMW

Former Member
0 Likes
3,001

Hi Wizards,

Could any of you kindly tell me how to upload multiple lines of long text against the same material code? My client requires upload of long text comprising more than 500 characters in material master but the max character length permitted per line is 132.

I have tried to do with multiple line items against the same material code in my flat file but only the last line shows overwriting the previous lines. Kindly help.

Thanks and regards,

Abhik

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,281

Hi,

Please use following loaging method in LSMW:

                                         
Object               0001   Long texts    
Method               0001   (No selection)
Program name         /SAPDMC/SAP_LSMW_IMP 
Program type         D   Direct input     

Regarding the max number of characters in a long text: There is no limit for the number of characters present in a LT. It can be more than 500 characters also. But you need to understand that in a single line of LT it can accomodate more than one line with 132 characters. So, if you need to load more than 500 characters, some data preparation is required. The lines are to be split with a line of maximum 132 characters. load it in two files, a header & then lines.

hope this helps.

Regards, Murugesh

Hi Wizards,

Could any of you kindly tell me how to upload multiple lines of long text against the same material code? My client requires upload of long text comprising more than 500 characters in material master but the max character length permitted per line is 132.

I have tried to do with multiple line items against the same material code in my flat file but only the last line shows overwriting the previous lines. Kindly help.

Thanks and regards,

Abhik

6 REPLIES 6
Read only

Former Member
0 Likes
2,281

Which program are you using? RMDATIND?

Did you fill field TDFORMAT (value = * ) ?

Read only

Former Member
0 Likes
2,282

Hi,

Please use following loaging method in LSMW:

                                         
Object               0001   Long texts    
Method               0001   (No selection)
Program name         /SAPDMC/SAP_LSMW_IMP 
Program type         D   Direct input     

Regarding the max number of characters in a long text: There is no limit for the number of characters present in a LT. It can be more than 500 characters also. But you need to understand that in a single line of LT it can accomodate more than one line with 132 characters. So, if you need to load more than 500 characters, some data preparation is required. The lines are to be split with a line of maximum 132 characters. load it in two files, a header & then lines.

hope this helps.

Regards, Murugesh

Read only

0 Likes
2,281

Hi Murugesh,

thanks for the helpful suggestion. Succeeded in uploading long texts

Regards,

Abhik

Read only

0 Likes
2,281

Hiii

im working in this object

can i get the flat file fr this program

Read only

0 Likes
2,281

Thanks,

sharing your both files and "maintain source fields" step would be helpful. And obviously the conversion rules screenshot.

Thanks once again.

Read only

Former Member
0 Likes
2,281

Hi Abhik ,

Can you please share how you have doe that .

Can you please share structure of te long text file and some test data in it  as example