cancel
Showing results for 
Search instead for 
Did you mean: 

SAPScript Allignment Problem

vijay_kumar134
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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'.

former_member181995
Active Contributor
0 Kudos

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.