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

Description in Sap Scripts

Former Member
0 Likes
523

Hi Experts,

I am displaying Material description using SAP Scripts. Now if the description is big the whole alignment gets spoil.Can we wrap description somehow.

Please suggest me something

Thanks and Regards

Neha Kapoor

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
498

Increasing the window size not adviceble one...

rather you can truncate your text....

suppose if the window size is 30 characters. And material description is 40 characters...then you can write like this....

if field name is itab-maktx..... you can write as &itab-maktx(30)& which will display only first 30 characters of the description.

Suppose if you need the whole text then you can display that in two lines as

&itab-maktx(20)& in one line and

&itab-maktx+20(20)& in other line.

I think this will be helpful for you

if you find difficulties ....just reply me

3 REPLIES 3
Read only

Former Member
0 Likes
498

Hi,

We can not WRAP the text in the script, but you can increase the window size, or restrict the number of charetcers using the offset

Regards

Sudheer

Read only

Former Member
0 Likes
499

Increasing the window size not adviceble one...

rather you can truncate your text....

suppose if the window size is 30 characters. And material description is 40 characters...then you can write like this....

if field name is itab-maktx..... you can write as &itab-maktx(30)& which will display only first 30 characters of the description.

Suppose if you need the whole text then you can display that in two lines as

&itab-maktx(20)& in one line and

&itab-maktx+20(20)& in other line.

I think this will be helpful for you

if you find difficulties ....just reply me

Read only

Former Member
0 Likes
498

hi

good

i would suggest you to increase your window size or if you r displaying it in a box than increase that box size,bcz if your text size is bigger than your window size than it wont come in a single line.

thanks

mrutyun^