cancel
Showing results for 
Search instead for 
Did you mean: 

Alignments in script

Former Member
0 Kudos

Hi,

I having a header like

Total,,,,,,Currency,,current,,,,<30 days,,,,<60 days,,,,>60 days

&tot&,,,,,,&curr&,,&current&,,,,<30 days,,,,<60days,,,,>60days.

the above is the given format the data has to be displayed.

if the total value is less everything is aligned properly but if the total value is more than 6 to 15 digits all the other items also moving. If i compress them then when the total is less everything is coming away inside the headers.

can anyone help me on this how to do this alignment properly.

Thanks,

rose.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi friend use the right elignment for that field

ex:&IT_OUT-MENGE(10R)&

If helpful give me the points

Regards,

Venkat

Former Member
0 Kudos

Hi,

Try to put one tab before 'total' of say length 1 ch. Also increase the length of second tab so that it accomodate upto 15 digits.

Hope it works!!

Thanks.

Former Member
0 Kudos

Hi,

This is really a very interesting issue. I've faced many times such issues.

To solve this issue, you can use the IF-ENDIF condition on the Script Editor.

Inside this condition, you can use the logic such as if it is less than '6' then display this..else display the second disply option.

The only problm is you have to two times use the disply options but these options will different to the logic.

I think u got my point.

Thanks,

Shamim

sreelatha_gullapalli
Active Participant
0 Kudos

hi

check the following link you can get the detailed information about SAP Scripts

http://wiki.ittoolbox.com/index.php/Sap_script

and also check this

1. SapScript is annoying.

2. Try copying the currency value into TYPE p DECIMALS 2 instead of character, this might help

Regards,

Sreelatha Gullapalli