Skip to Content
avatar image
Former Member

Will TMG events work from a custom application ?

Hi All,

I have created a TMG for one of my custom table (Z_TEST) and I have created before save and after save events under the event code '01' and '02' respectively.

I have one custom program (z_update_test) which will Update, Modify, Insert and Delete entries from my custom table (Z_TEST).

In this case my events are not triggered. I have tried with breakpoints also.
My custom program is not hitting the event.

My question is, whether TMG events will be called from custom programs or only in SM30 ?

Thanks in advance.

Marimuthu.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Nov 20, 2017 at 10:41 AM

    Hi Marimuthu,

    TMG events will not be called from custom programs. It will be triggered only through SM30.

    Best Regards,

    Manish Shankar.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 20, 2017 at 11:03 AM

    I hope sm30 level only it will trigger, If you need same validations,Before calling Write validations. This is the only options.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 20, 2017 at 02:13 PM

    If your custom program:

    • update database with Open SQL statements, answer is 'NO'.
    • call standard function modules that execute the generated dialog (foreign keys relations check, update, transport) answer is 'YES' (if correctly called)
    Add comment
    10|10000 characters needed characters exceeded