Skip to Content
0
Former Member
Aug 09, 2016 at 09:10 AM

cx_uj_custom_logic textid keeps &

87 Views

Hi,

I'm using the cx_uj_custom_logic to have an appropriate log when the procedure faces an error.

I'm using a custom messages class with a fixed text and 2 attributes. My message in SE91 is like : Error & for &

When I raise the exception, I populate the textid as follow

l_mytext-msgid = 'ZXXX'.

l_mytext-msgno = '002'.

l_mytext-attr2 = VA_ENTITY .

l_mytext-attr1 = VA_YEAR.

RAISE EXCEPTION TYPE cx_uj_custom_logic

EXPORTING

textid = l_mytext.


Problem is that when I check the log I see the & before and after the variables. The message I see in the end is like: Error &ENTITY1& for &2016&

Is there something else I have to do in order to remove the & from my message?

Thanks in advance