06-24-2010 6:14 PM
Hello everyone,
Is it possible to have more than one icon in a string? Something like:
CONCATENATE '@S_OKAY@' 'dd' '@S_OKAY@' INTO t_text.
WRITE: 35 t_text AS ICON.
I could not find any information about this possibility.
Regards,
Cláudio Ramos
06-24-2010 10:02 PM
may be you can try like this..
REPORT ZTEST2.
data: t_text1(10) value '@S_OKAY@',
t_text2(10) value 'dd',
t_text3(10) value '@S_OKAY@'.
WRITE: 10 t_text1 AS ICON.
WRITE: 20 t_text2.
WRITE: 30 t_text3 AS ICON.
Thanks
Satyasuresh Donepudi
06-24-2010 6:53 PM
06-24-2010 9:55 PM
Only the first part is recognized as an icon. All the rest is defined as plain text.
06-24-2010 10:02 PM
may be you can try like this..
REPORT ZTEST2.
data: t_text1(10) value '@S_OKAY@',
t_text2(10) value 'dd',
t_text3(10) value '@S_OKAY@'.
WRITE: 10 t_text1 AS ICON.
WRITE: 20 t_text2.
WRITE: 30 t_text3 AS ICON.
Thanks
Satyasuresh Donepudi
06-25-2010 1:56 PM
This way is possible, but unfortunately it does not work for a concatenated string. For instance, if I want to send the whole structure (icon + text + icon) as a parameter, it will be reconized as (icon + text).
As I can see, for every icon, I should have a new variable. No way to have more than one icon identifier in the same text variable.