Skip to Content

SAPScript Allignment Problem

Friends.

Greetings.

Am modifying QM - Inspection Form here the fields r not allign properly ,

eg:

0012 white 3 50,0 nos Accepted

0034 white length 3 40,0 ms Accepted

the o/p came like this...

but i defined all the fields with length..

2. Here one more pble. Insp Date is not coming in first page but second page its coming ... what is reason for this ??

Please guide me any one...

Thanks In Advance..

Vijay

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Aug 01, 2008 at 06:49 AM

    0012 white 3 50,0 nos Accepted

    0034 white length 3 40,0 ms Accepted

    the o/p came like this...

    but i defined all the fields with length..

    check the define

    TAB ',,' lenght and try to set as per as you want.

    2. Here one more pble. Insp Date is not coming in first page but second page its coming ... what is reason for this ??

    make sure you define this field on first page also.

    else at last use debugger for your second problem.

    Amit.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 01, 2008 at 06:55 AM

    Use the Tabs option of the paragraph format.

    And its best if u debug the script.

    Go to SE71 and open the layout desired. Select menu Utilities -> Activate Debugger or execute the ABAP Program 'RSTXDBUG'.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 01, 2008 at 08:38 PM

    Using field length won't keep things aligned. Use the Tabs for that as the others suggested. Among other things, with a proportional fonts different values for 30 character fields can end up being different lengths if measured with a ruler. i.e. FIND is shorter than FOOD but both are 4 characters.

    Add comment
    10|10000 characters needed characters exceeded