09-05-2006 9:31 AM
Hi all,
i have created a sap script to display PO.
i have many columns in it.
4th & 5th column are rate & net price.
what i want is that both this columns which
display numbers should be right aligned
and each no. should be properly displayed
one below another
e.g.
srno. partno description rate net price
1 0010 chassis 5.00 30000.00
2 0010 chassis 400.00 200.00
Regards,
Tarang
09-05-2006 9:33 AM
just go to paragraph format use .
and tab position for net price and field which u want to right alighn change there.
OR
try to use variable like <b>&variable(R)&</b>
09-05-2006 9:46 AM
hi,
in Paragraph format..under TABS..
give the Tab positions and also the alignment...
Use the same Paragraph format for both Headings and the values..
regards,
priya.
09-05-2006 9:54 AM
hi
good
go through this link
The actual space between paragraphs results from the space after the preceding paragraph and the space before the following paragraph. Alignment Alignment of a paragraph. Left-aligned LEFT Right-aligned RIGHT Centered CENTER Justified BLOCK
http://wiki.ittoolbox.com/index.php/HOWTO:Sap_script
thanks
mrutyun^
09-05-2006 10:21 AM
Hi Tarang ,
The best way to achieve what you want is to make use of Paragraph Format . This feature is available in the SAP Script.
In this format , you set the tab positions and allignment(right).
Please assign the same tab position( say, 5 ) for the header and the item data . This will allign the header and items vertically.
Finally assign the same paragram format to the header and item data.
Thanks and Regards,
Kunal.