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

Upload Basic Data Text for Materials

gaurav_nakhare
Explorer
0 Likes
1,040

Hi,

I'm trying to upload Basic Data Text for Materials using FM SAVE_TEXT. Everything works fine except long text. It is not accepting more than 132 charactors. What logic should I use so that it will append the remaining text for the same material on the other line?

Please help !!!

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
871

Hello

Split text ( FM RKD_WORD_WRAP or others ) and append lines to structure LINES.

5 REPLIES 5
Read only

madhu_vadlamani
Active Contributor
0 Likes
871

Dear Gaurav,

Hi .

Try to use the Fm CREATE_TEXT . I think this will fulfill your requirement .

Regards,

Madhu.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
871

If your text is longer than 132 characters, you have to wrap the text into multiple lines (FMs you should be using are FORMAT_TEXTLINES & RKD_WORD_WRAP).

Search in SDN for details on these FMs.

BR,

Suhas

PS: You can also explore uploading the material long texts using BAPI_MATERIAL_SAVEDATA.

Read only

0 Likes
871

Hi Suhas,

I tried both things FM & BAPI. Both works fine.

Thanks.

Gaurav

Read only

Former Member
0 Likes
872

Hello

Split text ( FM RKD_WORD_WRAP or others ) and append lines to structure LINES.

Read only

0 Likes
871

Hi Dzed,

Used FM RKD_WORD_WRAP and its working now.

Thanks,

Gaurav