Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Field validation in TMG

0 Kudos
183

I have 2 fields company code and percentage. So i have a requirement that I should show a error message when the percentage is not equals to 100 for a particular company code.

So how to achieve this in 01 event of TMG.

I am new to ABAP. I am not getting how to achieve this .

Thanks in advance.

3 REPLIES 3

Sandra_Rossi
Active Contributor
0 Kudos
125

Can you explain what you already did, and what is your current issue? Note that there are lots of questions and answers in the forum, even some blog posts:

tmg tmd event 01 save site:sap.com

0 Kudos
125

I have creared the table with contains some fieds including Bukrs and percentage.I have also created a TMG. Now I have a requirement that the addition of percentage value must be 100 . if not then there will be error.

Sandra_Rossi
Active Contributor
0 Kudos
125

Okay so I think you can follow the blog post (first result of the search above) you should find easily in SAP Community: "Update and Create Events in Table Maintenance Generator"