‎2013 May 28 1:52 PM
Hi All,
I have created a maintenanace view and when I go to GOTO --> Enviornment --> Modification --> Events. I am getting message "No Entries found that match selection criteria".
Neither there is any option to create new entry. The entire page is greyed out.
Please guide me as how to create a events and write our code to validate the data. Please provide step by step process.
My Validation requirement:
1) Need to validate If Sales Org is 'X'.
Through error
end if.
2) If user create a entry and that entry already exist for key fields do not allow to enter the duplicate entry.
Thanks,
Vikas
‎2013 May 28 2:13 PM
Hi Vikas,
First you have to open table with Change Mode.
Then go to Table Maintenance Generator--> Environment-->Modification-->Events
Now you will able to add new entries.
OR
Go to transaction SE54
give TABLE/View name
Select radio button Generated Objects
Click on create/change
Environment-->Modification-->Events
Regards,
Mordhwaj
‎2013 May 28 2:16 PM
‎2013 May 28 3:37 PM
Hi Vikas,
follow the below steps to create the events.
step 1: For Example MARA and MAKT create maintenance view from SE11.
step 2: create the TMG for the above view from utilities-->table maintenance generator.to create the events from the TMG go to Environment --> modifications--> events. you will find the follow screen.
Step 3 : from above screen click on new entries to create the event. and select F4 help and select appropriate events.
step 4: double click on editor and select any include and write the code in the form as follows.
if you any issues please let me know.
Regards,
Gurunath
‎2013 May 29 12:11 PM
Hi Vikas,
Try the below link. It has a detailed step by step implementation of Validation of Table Maintanence Generator.
http://musicodez.wordpress.com/2010/09/13/custom-validation-on-table-maintenance-generator-sm30/
Regards,
Sachin