on 05-22-2007 8:16 AM
Hi All,
I want to know what are the possible ways to do validations in WD ABAP?
Which is the best practice? I would like to know about pop-ups? Can we show messages? Also If I want to get different colors in messages then how should I go about it? Kindly help me! Ponts will be rewarded
Cheers,
Darshna.
Hi,
for validation there are the methods of IF_WD_VALIDATION, and for messages, see <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d8/2a934259a5cb6ae10000000a155106/frameset.htm">this</a>
Regards, Heidi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
The following are the hook up method provided by sap to do validations before an action is triggered.
1. WDDOBEFOREACTION : you can perform your own validations using this method. Raising an application message doesnt stop the process of the process and the action handler that is called is still executed. All we have to do is, capture a flag to identify an error has occured and use the same in subsequent processings.
2. WDDOBEFORENAVIGATION: This method is used to perform validation of those controller contexts that are required in the application but are not validated in the request cycle yet.
User | Count |
---|---|
90 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.