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

Left justifying quantitiy field in SAPscript

Former Member
0 Likes
1,860

Hi Guys

,

I have to left justify a quantity field in SAPscript, I use &varibal(C)& so that it compresses the leading spaces . But dint and there is no &varibal(L)& like we have &varibal(R)& for justification.

Thanks in Adv

Vinay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,100

Hi,

Try this &varibal(I)& or &varibal(5)& .

Regards,

Himanshu

Hi,

Try this &varibal(I)& or &varibal(5)& .

Regards,

Himanshu

4 REPLIES 4
Read only

Former Member
0 Likes
1,100
1) Create a Paragraph Format
2) With Alignment = Left Justified
3) Assign the Paragraph format to Quantity in the text editor

This will solve the issue

Regards,

Gurpreet

Read only

Former Member
0 Likes
1,101

Hi,

Try this &varibal(I)& or &varibal(5)& .

Regards,

Himanshu

Read only

Former Member
0 Likes
1,100

Hi,

Gurpreet has already given the right answer to solve your problem.

But this is the first time (and i have made a very lot of scripts and forms) that i see that someone wants a left alignment for quantity fields. It is always or right or at the decimal sign.

I only want to mark this to you.

Gr., Frank

Read only

0 Likes
1,100

Thanks for the responses Guys .

Frank : Assinging qty to left sloved the purpose .Thanks for info though . I apprieciate it .