Skip to Content

Reg : TMG Event

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??

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2014 at 08: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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 05, 2014 at 08: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.