on 01-31-2010 3:21 PM
Hi All,
I'm having a problem changing one of the error messages on the Create Expense Report screens in ESS Travel Expenses.
[Here's a screenshot|http://www.scehardt.com/news/image003.png]
I've changed the label to say Ticket instead of Document. Now I need to change the error message to match. I found the error message in the backend, but it is formatted as Required entry field "&" is empty. Does anyone know where Document Number is inserted into the error message? Alternately, is there a way to change the error message for that field to a custom message?
Thanks,
Scott
if this is a webdynpro java application u can find all the messages in the message pool of that component.
Cheers,
Apparao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Friend,
Find the code snippet something like this in your code
IWDMessageManager msgMgr =
wdComponentAPI.getMessageManager();
msgMgr.reportContextAttributeMessage(
wdContext.current<YourNodeElement>().getAttributePointer("<YourDocumentNumberAttribute>"),
IMessagePackScopingComp.<Your_Error_message_key>, new Object[] {"Document Number"});
// Replace The Document Number from last line with your desired text
Here you can change the Text which is going to be supplied to message pool at run time.
Further you can follow this tutorial for message pool and error message.
[A Simple Input Form with Message and Error Service Support|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/837d9290-0201-0010-1381-e633fe17cb14?quicklink=index&overridelayout=true]
Regards
Jeetendra
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.