on 12-17-2009 5:45 AM
Hi All,
I have come up with requirement in Travel Expense report creation.
As you all know after filling expense report we have two options available
1 SAVE
2 SAVE & SEND FOR APPROVAL
I need to put few validation when user is clicks on "SAVE & SEND FOR APPROVAL" .
Please let me know how can it be achieved.
Solved By Own
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With all due repsect, please dont close a post like that.
I am stuck at a similar problem where I need to do the validation at the backend and the frontend level as well.
Backend has been told by someone just above your post... But what about the frontend, how should i make the validation at the frontend ???
Please can you reply here as how you did the validation at the frontend that is from Portal.
Hi Shree,
You can put validation in User Exit u2018EXIT_SAPMP56T_002u2019 under project u2018YFX00030u2019 (T. code CMOD).
You get all the trip data in this exit and according to your Business logic you can put the validation and make user to correct entry before saving.
Please use Exit u201CEXIT_SAPMP56T_003u201D for Sending for Approval. In this you can populate a Pop up message and can ask user that if he wants to send the trip for approval. If user clicks u201CYesu201D, trigger the workflow by calling the FM u2018SWE_EVENT_CREATEu2019 and passing the event and the object type..
Hope this help!
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.