on 06-09-2010 6:41 AM
Hi,
I have to do a date validation in which i have to restict the user from entering date before the current date. How can i acheive this validation. is there any standarad validation available in crm ui for date.
Hi Ansal,
By defining date types and duration in configurations you can achieve this. Were you already configured?
Rgds
Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ansal,
You can place your validation code into SET_??? method of the attribute.
Put it after check of value change (new value/old value comparison)
-----------------
* only set new value if value has changed
IF <nval> <> <oval>.
* <place your code here>
ie. - check sy-datum > <nval>, then issue error message
current->set_property(
iv_attr_name = 'DATE'
iv_value = <nval> ).
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
were you able to achieve this need? Can you post the solution?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.