Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Form Alignment issue

former_member420959
Participant
0 Likes
2,105

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,,&REGUP-BELNR&,,&LV_XBLNR&,,&REGUP-BLDAT&,,&REGUP-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

9 REPLIES 9
Read only

Former Member
0 Likes
2,029

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

Read only

VenkatRamesh_V
Active Contributor
0 Likes
2,029

Hi Ujwal,

Remove the 5 tab Position and check,

H2,,&REGUP-BELNR&,,&LV_XBLNR&,,&REGUP-BLDAT&,,&REGUP-DMBTR(18)&
=&LV_SGTXT(C)&

Regards,

Venkat.

Read only

Former Member
0 Likes
2,029

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.

Read only

Former Member
0 Likes
2,029

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

Read only

0 Likes
2,029

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

Read only

0 Likes
2,029

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

Read only

0 Likes
2,029

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

Read only

0 Likes
2,029

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

Read only

Former Member
0 Likes
2,029

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.