cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Scripts Alignement Problem

Former Member
0 Likes
261

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.

View Entire Topic
Former Member
0 Likes

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.