cancel
Showing results for 
Search instead for 
Did you mean: 

Scripts Alignement Problem

Former Member
0 Kudos

Hi Experts,

I am fasing an issue in scripts allignement.

I am printing Posnr(6) Type NumC & Quantity type menge.

In My Script text , the code is

,,&itab-posnr(Z)&,, &itab-qty(I10)&

For this , I am getting the output as follows.

10 200

20 1300

110 2348

In the above, the 3 rd row is not properly aligned. it's moved right because posnr is 3 char length.

for the same, I require.

10 200

20 1300

110 2348

.

Please help me to sort this issue.

Thanks in advance,

Regards,

Rahul.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

just create proper TABS in the PARAGRAPH formats and choose RIGHT Alignment option in it .

10 200

100 1200

etc chek out example

Number Tab position Alignment

1 10.00 CH RIGHT

surya

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Align the Posnr to right and Qty to right....I mean create one paragraph format give tab spaces as right alignment...it hink it will solve issue...

Former Member
0 Kudos

Hi,

Change the paragraph format alignment for tab POSNR as left and for Quantity as Right.

Former Member
0 Kudos

Hi Rahul,

If you want the alignment to be as

10 1234

20 2356

110 5689

then give the tab space between two fields as 7 characters (since the POSNR field is of 6 char).

or else

if you need the output to be as

10 1234

20 2356

110 5689

then align the POSNR field to the right with (R) command.

Hope this will help you.