‎2008 Sep 04 5:02 AM
HI all,
I have assigned a Tcode to a maintainance view..So when i insert a new record , i want to check if a primary key field is left blank while saving or if all fields are blank while saving. In these cases it should not save. So what do i do? another validation requires to check if the start date is lesser than the end date.. IS this possible without having to create a new module pool or anything similar? if so how? Is it possible using Events in table maintance generator? CAn u please give me the detailed steps?
thanx,
‎2008 Sep 04 5:06 AM
>Is it possible using Events in table maintance generator? CAn >u please give me the detailed steps?
yes it is possible, check the event 01 which triggers before saving the Data, So here you check and do the Validations.
‎2008 Sep 04 5:06 AM
>Is it possible using Events in table maintance generator? CAn >u please give me the detailed steps?
yes it is possible, check the event 01 which triggers before saving the Data, So here you check and do the Validations.
‎2008 Sep 04 5:20 AM
But can u please give me the detailed steps to add code into it? When i try to add events in the table maintainance generator of the view, it is comin only in display mode. Or shud i try to add it right at the table level and then create he maintainance view? In this case, once i create an event and write the form for it, then i cannot access the events button again or change or recreate or do anything to the generator. the message that is deiplayed is that i cannot process the function group.
‎2008 Sep 04 5:25 AM
Hi
Check below link:
Its step by step guide for using Events in SM30.
Thanks
Praveen