‎2008 Jul 02 5:20 AM
Hi experts,
I'm facing problem in sapscript for the issue of alignment.
I've remove all the space, and yet the result coming out is having big space in between and cause the last few words to go next line.
This is my code.
/ <B8>Defect Location </>,,,,<B8> Defect Class </>
/ <K8>&WQMFE-OTGRP& &WQMFE-OTEIL& &WQMFE-TXTCDGROT(68)&</>
and it cause this layout
Defect Location ,,,,Defect Classs
ZQDEFWEI 0100 INSPECTION ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,ZAAPPER D030 Hole Dimension Out
of Spect
Hole Dimension Out of Spect
This is continuous word, but the "of Spect" is going to next line.
Note:
I didn't put any tab / space ,, in the data retrieve (table and field) there
&WQMFE-OTGRP& &WQMFE-OTEIL& &WQMFE-TXTCDGROT(68)& no tab / space
but it output
ZQDEFWEI 0100 INSPECTION ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,ZAAPPER D030 Hole Dimension Out
of Spect
there's long space/tab in between, and cause the word goes to next line
I've check the page width , there's are wide enough for the whole continous word.
Any ideas / suggestion to solve it?
Please advise, Thank you.
‎2008 Jul 02 5:24 AM
Hi,
In the paragraph format K8, declare tabs appropriately and try.
regards,
Mouli.
‎2008 Jul 02 5:24 AM
Hi,
In the paragraph format K8, declare tabs appropriately and try.
regards,
Mouli.
‎2008 Jul 02 5:30 AM
Hi Mouli,
I've tried that, it will goes to next lines as well.
Any other suggestion for this issue?
Thank you
‎2008 Jul 02 6:11 AM
Hi MIlka,
Could you debug and find which value is printing in which variable ..
Since ,,,,, which is being printed seems to be some garbage value since you have not given any tabs..
Kindly check and let me know..
Thanx,
Navin..
‎2008 Jul 02 8:40 AM
Hi Navin,
I've tried to go in sapscript debugger, and the table-field is output the results i want.
Still not get any way to remove the spacing in between to make correct alignment.
Please advise.
Thank you.
‎2008 Jul 02 9:01 AM
try something like this
&WQMFE-OTGRP(10)& &WQMFE-OTEIL(10)& &WQMFE-TXTCDGROT(10)&
specify the lenght for all...May be the field u are facing the probs will have more length by default..
‎2008 Jul 02 9:21 AM
Hi Keshu Thekkillam,
Thank you so much ~~!
Your suggested solution did solve the alignment issue , thank you!
I'll rewards marks for you ~ thanks a lots .