‎2014 Dec 08 5:34 PM
Hi Gurus,
Normally, it is possible to suppress a text, that is combined with a parameter in Sapscript like this:
&'Label 'VT&
(the text 'Label' will be only printed if parameter &VT& has a value).
But in my case, the text 'Label' is a parameter as well:
&LABEL& &VT&
Is it possible to suppress the line the same as it is suppressed above?
(So, if &VT& has no value, then don't print &LABEL& as well).
Of course, I can put something like: IF &VT& = ' ' .... ENDIF around it, but I have many labels to be suppressed, so this look a bit messy.
thank you,
Ron.
‎2014 Dec 09 9:33 AM
Found it!
After playing a while with the & and ' characters; the following line gives the desired output:
&'&LABEL& 'VT&
This will not print parameter &LABEL& if parameter &VT& is empty ..
‎2014 Dec 09 9:33 AM
Found it!
After playing a while with the & and ' characters; the following line gives the desired output:
&'&LABEL& 'VT&
This will not print parameter &LABEL& if parameter &VT& is empty ..