2009 Nov 13 6:10 AM
Hi,
I ma using events for table maintenance generator event 05 ,there i want to validate non key fields ......i am throwing error message ....all the non key fields are getting in display mode ...i need them to enable to enter values ....
please suggest
Thanks,
Shailaja Ainala.
2009 Nov 13 6:17 AM
Hi,
Write a code between chain and endchain. as follows
chain
for validation of field ,select the data from check table of particular fields based on entered value.
and check the sy-subrc value , if it give 4 then raise a error message.
endchain
2009 Nov 13 6:18 AM
through event i want .......i have checked the fields are in chain and endchain only ....
Thanks,
Shailaja Ainala.
2009 Nov 13 6:41 AM
Hi Shailaja,
Its property of error message, which makes it as non-editable.
You can display either status or info message after validation check.
And finally before saving (before save event) display error message, so that it invalid entries doesnt get saved.
Thanks,
Nisha Vengal.