‎2006 Jun 02 10:31 PM
Hi All,
I am having an issue with SAPScript. I have header and detail windows. I need to align data under the headings but the problem is that if a field is missing data or shorter than the full length defined for that field, the next data field shifts left and the layout gets messed up.
My question is that how can we have the data fields written at specific positions on the page regardless of the lengths of the data in other fields.
Thanks in advance.
‎2006 Jun 02 10:54 PM
Hi,
you can use tabulators (represented as ,, in the non-graphical sapscript text editor) to get the data aligned.
TABs are defined with paragraph formats.
Define the same tabs for heading and item paragraphs, that should work.
I hope I got your question right.
Regards,
Clemens
‎2006 Jun 02 10:54 PM
Hi,
you can use tabulators (represented as ,, in the non-graphical sapscript text editor) to get the data aligned.
TABs are defined with paragraph formats.
Define the same tabs for heading and item paragraphs, that should work.
I hope I got your question right.
Regards,
Clemens
‎2006 Jun 02 10:57 PM
I agree with Clemens, TABs should do the trick -;)
You use them like this, after you have declare them...
,,MY_TAB-FIELD
Greetings,
Blag.
‎2006 Jun 03 8:17 AM
Hi,
There are two ways to solve this issue.
First way is using tab setting to avoid such problems.
second way is, to give some length that means
&itab_matnr(IC10)& like this) it will also give some space if the particular variable is empty.
using any way of the above, you will get the answer.
Kindly reward points if it helps.
Thanks,
Neptune.M