Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Validations in Maintenance View

Former Member
0 Likes
2,223

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

4 REPLIES 4
Read only

Former Member
0 Likes
1,638

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

Read only

varun_maharshi
Active Participant
0 Likes
1,638

Vikas,

It should be security access issue.

Regards,

Varun

Read only

gurunathkumar_dadamu
Active Contributor
0 Likes
1,638

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

Read only

Former Member
0 Likes
1,638

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