2014 Jun 11 3:59 PM
Hi Guys,
I know this has been asked many times and explained in SDN earlier, but i need some clarity on this.
I am working on scripts developed by some one else and have few alignment problems
Following is the tab positions for the font
1 0.20 cm left
2 2.30 cm left
3 5.85 cm left
4 9.70 cm right
5 10.10 cm left
and in test they designed it as
| H2 | ,,®UP-BELNR&,,&LV_XBLNR&,,®UP-BLDAT&,,®UP-DMBTR(18)&,, | |
| = | &LV_SGTXT(C)& |
this is table item data and it is printing as
I need the last text to be moved left. i changed the values in tabs 4 and 5 but no use it didnot move.
I changed the 4th tab from right allign to left then 100.43 moved to right.
Please suggest in this case and in general how to handle and these tab positions.
Regards
Ujwal
2014 Jun 11 4:15 PM
If the values given in tabs exceed the colums widths you would not see any effect, reduce 4 keeping 5 same (or slightly increase 5) u shd see it moving then
2014 Jun 11 4:21 PM
Hi Ujwal,
Remove the 5 tab Position and check,
| H2 | ,,®UP-BELNR&,,&LV_XBLNR&,,®UP-BLDAT&,,®UP-DMBTR(18)& | |
| = | &LV_SGTXT(C)& |
Regards,
Venkat.
2014 Jun 11 9:16 PM
Hi Ujwal,
Give a try like by changing the amount field REGUP-DMBTR(10)
Just align the window accordingly.
Hope it will be helpful.
Regards,
Kannan.
2014 Jun 12 7:27 AM
Hi Ujwal,
Please use hit and trial method in your tab settings for last text to move left.
AS per my understanding your 4th tab come from right 9.70 cm right means if you need 5th tab set from left then you set 9.80 cm or 9.85 cm from left .
then your last value will be showing from left.
Regards,
Prasenjit
2014 Jun 12 10:28 AM
hi Prasenjit Mishra,
When we declare come value to a tab is it from start of the window or value before it.
Can you tell me what is the best unit to give tabs CM or CH or Lines etc.
if i declare 10 cm to 5th tab then it should be displayed at 10cm from window start but its not.
Ujwal
2014 Jun 12 10:58 AM
Hi Ujwal,
when you declare any tab tab value come from start of window .
but as you mention earlier , your 4th tab start from 9.7 cm from right means your value start righting from 9.7 cm to right side and next value only showing your window line for 5th box in your SAP script.
and still if you facing problem then you can check window box , In which position this is started after that you can assign you 5th tab based on window line size.
and second thing always better assign to CM unit in the layout.
Regards,
Prasenjit
2014 Jun 12 11:16 AM
can you please tell me in order to move it left which tab position value should i change.
i tried giving many values to 5th tab varying from 9 to 11 but the text didnot move either right or left.
I even tried deleting the 5th tab position but no change.
P.S: i am moving the request every time
Ujwal
2014 Jun 12 11:29 AM
Hi ,
If your tab change is not impacted anything in your SAP Script, either problem is not set the correct position tab for that praragraph format or it may be your last value having enough blank space during priniting,
if your value having space then please use (C) code in your script like example &STEXT(C)&
second you can check your window box position in sap script window like below example screen showing 4th window start from 9.3 position then you can set 4th tab after 9.3.
Regards,
Prasenjit
2014 Jun 12 7:38 AM
Dear Ujwal,
Try the same by creating NEW TAB Position.
Actually, when we give the tab positions, system also considers the characteristic of that field(Length) as the before field is currency it is taking the length of the standard field irrespective of its length.
You can also give your custom type to the fields used for the amount column.