Application Development 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: 

Checking the initiality of the fields while creating entries for a table

Former Member
0 Kudos

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?

5 REPLIES 5

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

Hi,

Have you tried the event : 01 (Before saving the data in the database).

Regards

Vinod

Former Member
0 Kudos

Hi Rahul,

You can edit the underlying program, loop at screen and make them editable

Regards

Raj