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
Beginner

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

Related Questions

Leave an answer

Leave an answer