on 04-27-2006 9:23 PM
Dear All,
I am having problem with lining up items properly in sap script.
I have print ..
and all items in aprtical line should be perfectly align, i.e
Data Invoice Reference Inv-Amt Dic Total
But unfortunately, the out put is not aliging correctly, it is depending upon the length Reference value, and other values length.
it is outputing according to length.
20 2000
1 100
z4 &UP-BLDAT&,,&UP-BELNR&,,&UP-XBLNR(16)&,,,,&UD-WRBTR(16)&,,,,&UD-WABZG(15)&,,,,&UD-WNETT&
Where z4 is my paragrah format.
I defined Tab
1 Tab 1,00 CH Right
2 Tab 2,00 CH Right
3 Tab 2,00 CH Right
Please advice me where I am doing mistake. Pls suggest me.
Thanking you.
Regards
Venkat
Hi Venkat,
Define Tabs as follows.
Number Tabposition Alignment
1 Tab 1,00 CH LEFT/CENTER
2 Tab 2,00 CH LEFT/CENTER
3 Tab 2,00 CH LEFT/CENTER
The alignment will specify from where to start of printing of fields. In addition to this, check the lengths of fields to be displayed according to tab positions and align them accordingly. If we specify lenghts for a field in brackets, it will be displayed in that length only and rest is truncated according to data types of fields.
Thanks,
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For Numeric value keep the tab right
for character value keep the tab left
Regards
Aman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
Change the Tab properties like below...
defined Tab
1 Tab 1,00 CH <b>CENTER</b>
2 Tab 2,00 CH <b>CENTER</b>
3 Tab 2,00 CH <b>CENTER</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Phani,
Thats not working, As I am working with amounts and decimal points. I need them to be right justified so that all decimal zeros line up.
i.e
200.00
30000.00
I can do that only my right justified font.
Please advice me further.
Is there a way to force the field to start from exactly location. Thanking you
Regards
Venkat
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.