1.
Create User Defined Errors with the set of Error Codes/Error
Messages which was mutually agreed between Siebel and External System for various Scenarios
in Message Category
2. For those Error Codes, specify the Symbolic Strings against them
3. Specify the Symbolic String Locale Value in Symbolic Strings
Ex: For 10 error codes, specify 10 symbolic strings with different String values in Symbolic String Locale. Each Sysbolic String locale has different Error messages written in different languages like in French, Spanish, Japanese....
We can do a LookupMessage using the below
pseudo code
If(MethodName== “External System Error”)
{
varMessage=
TheApplication().LookupMessage("User Defined
Errors","Notification","Fax");
TheApplication().RaiseErrorText(Message);
}
Output : If the French User log's into Siebel Application and submits a siebel order to External System, incase of Failure, he would be able to see that Failure message in French Language that was defined in that Symbolic String Locale for that Error code
Below is the sample Error
Message that User will see

No comments:
Post a Comment