06-05-2014 9:12 AM
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??
06-05-2014 9:17 AM
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
06-05-2014 9:40 AM
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