[RESOLVED] How to use custom message with tokens in tc_extension ?
Hi,
I use the extension tc_extension.
I'am able to use custom messages without token.
I just initialize these variables
X_outcome := 'my_message_without_token';
X_msg_type := 'E';
X_msg_application:='XX';
X_msg_count := 1;
Then I see the text of the message named my_message_without_token.
If my message is defined like
'An error occured with module : &MODULE'
and I initialize these variables
X_outcome := 'my_message_with_token';
X_msg_token1 := 'custom module';
X_msg_type := 'E';
X_msg_application:='XX';
X_msg_count := 1;
I get
An error occured with module : &MODULE
(PATC_MSG_TOKEN1=custom module) (PATC_MSG_TOKEN2=)(PATC_MSG_TOKEN3=)
I use the extension tc_extension.
I'am able to use custom messages without token.
I just initialize these variables
X_outcome := 'my_message_without_token';
X_msg_type := 'E';
X_msg_application:='XX';
X_msg_count := 1;
Then I see the text of the message named my_message_without_token.
If my message is defined like
'An error occured with module : &MODULE'
and I initialize these variables
X_outcome := 'my_message_with_token';
X_msg_token1 := 'custom module';
X_msg_type := 'E';
X_msg_application:='XX';
X_msg_count := 1;
I get
An error occured with module : &MODULE
(PATC_MSG_TOKEN1=custom module) (PATC_MSG_TOKEN2=)(PATC_MSG_TOKEN3=)
0