03-12-2010 8:07 AM
Hi Experts,
Need your help in aligning script.
in the script output , one field "BAPIESLL-QUANTITY" in not getting display properly.
Problem is if it fetches 6 digit value e.g.100000, it displays proprly aligned but if it fetches 2 digit values its not coming in proper alignment.
I have maintained its left margin as 0.40 CM and TAB as 1CH left alignment.
output is like
1st Output 2nd Output
ACCOM ALLOW HYDRAULIC SERV ACCOM ALLOW HYDRAULIC SERV
60 100000
I am not getting why its showing 2 different alignment format for same filed.
Could you please help me in this issue.
Thanks in advance.
Regards,
Rachna
03-15-2010 8:04 PM
Not sure what you are asking, but are you saying that it's left aligned and you need it right aligned, like a number? Have you tried the command (R) for right aligned. I think this addition (like &field(6R)& ) requires a length component following the right-justified 'R' command.
03-15-2010 8:31 PM
Rachna,
Welcome to SDN.
All quantity and currency fields should be provided with Right-justified.
also in ur code in sapscript hope u used tab notations.
&FIELD1& ,, &FIELD2&
here ' ,, ' will be tab of 0.40 CM
other wise ur field 2 will be starting after the field1.
Regards
Syed A