on 12-28-2007 11:47 AM
hi everybody,
i want to know how to validate the field in web dynpro by
1) by ussing assistance class
2) allready present classes in abap and how .
Actually i have prepare a assistance class in se24 and put a message on '001'.now i want to check that this field which is a date field is less than the sy-datum.if the condition does not match then error message should be display on same page and the page should not be posted.
in my case the page is posting and the message is not displaying on the page.
thanks in advance.
Hi vaibhav nirmal ,
now on the button click to post the page or on the event that firing the plug to move to next page or on the event thats posting the page, before firing the plug u have to read the input date and check the condition u want, once the condition fails get the text from the assistance class and show the text by displaying an error message using the method from if_wd_message_manager. Once the error message is displayed, processing wont go further
Regards
Sarath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i have done it ,
CALL METHOD l_message_manager->REPORT_ERROR_MESSAGE
EXPORTING
MESSAGE_TEXT = '001'
but as there are two views here , after clicking the button the error message is coming on the next page and message is not displaying the number 001 is displaying.
. the problem is still there .
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.