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: 

Reg : TMG Event

karthik_snair
Participant
0 Kudos

Hi Team,

I have a new requirement.

I have a custom table where I have 4 fields.Now i have to perform some validation on this fields before saving.

Now I can update the table either directly from TMG, OR  from SAP Screen or from sap mobile app.

So where do I need to put the validation.

IF I kept the validation in before before save event of table, is that ok?. OR do i need to keep the validation in each application from which this table is getting updated.

Please let me know  your opinion.

So in brief we have some validations to perform before saving data into database table.So this validations should trigger when ever the table gets updated from any application/or any device.I have to perform the validation and throw the result/message to the screen.

So where can I perform this??

2 REPLIES 2

Former Member
0 Kudos

Hi Karthik,

If you use TMG  in every area for updating table then need to add event  before save.

but if you use your custom table  without TMG  means you can add or modify through module pool then need to set validation in module pool. I think same as for  SAP mobile apps development.

Regards,

Prasenjit

SuhaSaha
Advisor
Advisor
0 Kudos

Now I can update the table either directly from TMG, OR  from SAP Screen or from sap mobile app.

They are called TMG events, aren't they? So it's pretty obvious these events will be called when you maintain the table via SM3* transactions.

When you say the table can be maintained via SAP screen, mobile app etc., how are doing it?

BR,

Suhas