2013 Oct 10 9:57 PM
Hi Guys.
I have a code
MESSAGE e000(zest) WITH p_i_ekko-ktwrt v_valor_ktwrt.
Why the values appear duplicate? (see image attached)
See my class message attached.
Thanks.
2013 Oct 11 5:32 AM
Hi Ronaldo,
try using escape character \ before $, since its a special character used as place holder in text messages
Valor do Contrato R \$ &1 <> Valor Fixado no Contrato R \$ &2
if thats not successful, you will have to pass it in your program.
data dollar type c value '$'.
in the message text give by
Valor do Contrato R &1 &2 <> Valor Fixado no Contrato R &3 &4
MESSAGE e000(zest) WITH dollar p_i_ekko-ktwrt dollar v_valor_ktwrt.
2013 Oct 10 10:24 PM
2013 Oct 10 10:46 PM
Use two dollars in your SE91 message text like
Valor do Contrato R$$ &1 <> Valor Fixado no Contrato R$$ &2
The extra $ escapes the $ following it, so that MESSAGE command takes it as a literal $ and not interpret it as a special character
This should solve your problem and make the $ symbol appear in the message
Best regards,
Vishnu Tallapragada
2013 Oct 11 5:04 AM
Hi Ronaldo,
By using "$" the system , thinks that it as a placeholder and places the values, try removing the "$" sign .
Please view the standards :Message Short Texts
Regards,
Sivaganesh.
2013 Oct 11 5:32 AM
Hi Ronaldo,
try using escape character \ before $, since its a special character used as place holder in text messages
Valor do Contrato R \$ &1 <> Valor Fixado no Contrato R \$ &2
if thats not successful, you will have to pass it in your program.
data dollar type c value '$'.
in the message text give by
Valor do Contrato R &1 &2 <> Valor Fixado no Contrato R &3 &4
MESSAGE e000(zest) WITH dollar p_i_ekko-ktwrt dollar v_valor_ktwrt.
2013 Oct 14 1:57 PM
Thanks
You is correct.
Thanks comunitty you are the masters.
2013 Oct 11 6:58 AM
Hii Ronaldo,
To distinguish between place holder and literal give the $$ it will be interpreted as literal not as specialcharacter(place holder).So write the message like below in ur message class
Valor do Contrato R$$ &1 <> Valor Fixado no Contrato R$$ &2.
then display the mesage in ur program
MESSAGE e000(zest) WITH p_i_ekko-ktwrt v_valor_ktwrt.
here is ur desired output
regards
Syed