Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

IF statement in SMARTFORMS

Hi ,

My IF statement dosnt seems to work in smartforms.I have the following code in window-text element .

if &adrc-name1& ne ' '.

&adrc-name1&

endif.

if &adrc-name2 ne ' '.

&adrc-name2&

endif

...

But still its creating the blank lines on script output.I cannot use the Condition tab as im using much code inside this text element. Any suggestion on How to use the IF condition INSIDE the Smartforms to avoid the blank lines of address to be generated on the output.

Thanks for your augegstion.

Rgds

Tags:
Not what you were looking for? View more on this topic or Ask a question