Beat me to it - this first example works, the second has Rainer's error.
DATA: s Type syuzeit.
s = sy-uzeit.
DATA st TYPE string.
st = |{ s TIME = USER }|.
DATA: s Type c length 10.
s = sy-uzeit.
DATA st TYPE string.
st = |{ s TIME = USER }|.
Beat me to it - this first example works, the second has Rainer's error.
DATA: s Type syuzeit.
s = sy-uzeit.
DATA st TYPE string.
st = |{ s TIME = USER }|.
DATA: s Type c length 10.
s = sy-uzeit.
DATA st TYPE string.
st = |{ s TIME = USER }|.