Hello,

Sign up to join our community!

Welcome Back,

Please sign in to your account!

Forgot Password,

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask a question.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

SAP EWM Help Latest Questions

  • 0
  • 0
DPM125

TMG ( Table Maintenance Generator ) Events

Purpose of TMG Events

Events in TMG are used to:

  • Validate data before it’s saved.
  • Set default values when creating entries.
  • Restrict access to rows based on user roles.
  • Log changes or trigger custom logic.
  • Enforce complex business rules beyond field-level checks.

Where You Configure TMG Events

  1. Transaction: SE54 (Table/View Maintenance)
  2. Choose: EnvironmentEvents
  3. Select your table/view and function group
  4. Choose the desired event number and implement the ABAP logic

TMG Events

Event No. Description
01 Before saving the data in the database (Insert or Update)
02 After saving the data
03 Before deleting a record
04 After deleting a record
05 Before saving data (used for custom validations)
06 After data retrieval (can filter rows or enhance data)
07 Before display of the maintenance screen (e.g., make fields read-only)
08 Fill hidden fields or dynamic fields before display
09 After entering maintenance screen
10 Before creating the new entry
11 Before changing an entry

Related Questions

Leave an answer

Leave an answer