06-02-2010 11:40 AM
While creating entries using table maintenance generator(TMG) i need to check the initiality of the fields.Are there any such events?
I know i can go and change in the screen by making it mandatory or by writing a module in the PAI of the screen of table maintenance generator. Both of cases i have to change the TMG which is generated by SAP system. I want to know is there a way to achieve this with out changing the TMG possible events?
06-02-2010 11:48 AM
Hi,
You can use TMG event : 05 (creating a new entry).
You can see list of TMG events in Table Maintenance Generator -> Menu (environment) ->Modification -> Events.
Regards
Vinod
06-02-2010 11:59 AM
hi rahul,
as far as i know, you have to do your initial valifdation in TMG and you have to change your TMG. However, if you have checked the initial flag while defining the field, you will not have initial value for that particular field.... (if the field is key field, by default it is not initial)
hope this helps....
thanks and regards,
tanmaya
06-02-2010 1:08 PM
Hi,
Create new entry event is not helping because, if i raise an error message it is making all the fields read only. So the user will not be able to change the value.
Regards,
Rahul
06-04-2010 8:00 AM
Hi,
Have you tried the event : 01 (Before saving the data in the database).
Regards
Vinod
06-04-2010 7:56 AM
Hi Rahul,
You can edit the underlying program, loop at screen and make them editable
Regards
Raj