Author Topic: Error Text Message not showing Correctly when Invoking WF_CORE.RAISE  (Read 265 times)

0 Members and 1 Guest are viewing this topic.

Offline migs_isip_2

  • Newbie
  • *
  • Posts: 1
Error Text Message not showing Correctly when Invoking WF_CORE.RAISE

Hi All,
I'm trying to raise a Standard Exception "ECX_USER_TP_NOT_VALID" from the WF_RESOURCES Table.
The data in the WF_RESOURCES table is as follows:
TYPENAMELANGUAGEIDTEXT
WFTKNECX_USER_TP_NOT_VALIDUS0The user: &p_user_name is not authorized to perform the transaction.
I tried calling the said Error Message using the below code:
Quote
WF_CORE.TOKEN('p_user_name', fnd_global.user_name);
WF_CORE.RAISE('ECX_USER_TP_NOT_VALID');
Note: fnd_global.user_name's value is "JISIP" when Executed.
But it only displayed the Error Name (not the Error Text) in the OAF Page:
Quote
[ECX_USER_TP_NOT_VALID] p_user_name=JISIP
I want to make it appear correctly as:
Quote
The user: JISIP is not authorized to perform the transaction.
Thoughts?