sapscript

Dynamic text for SO10 texts in SapScript


Im trying to change some texts in SO10. I´d like to check a variable and (depending on the result) would like to use different lines of the text. Is it possible to use:

/: IF &variable& is initial.

** Text1

/: ELSE.

** Text2

/: ENDIF.

in SO10-texts? The Variable contains the users mobile number but isn´t filled for all users.


Solution

  • I was able to solve the problem by "escaping" the part of text i wanted to hide. By setting '& text 'VARIABLE& the part of the text is only displayed, if the variable is filled.