Skip to Content

Form Alignment issue

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

Capture.PNG (4.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Jun 11, 2014 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 11, 2014 at 03:21 PM

    Hi Ujwal,

    Remove the 5 tab Position and check,

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

    Regards,

    Venkat.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 11, 2014 at 08: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2014 at 06: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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member ujwal ratakonda

      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

      box.GIF (11.6 kB)
  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2014 at 06: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.