Application Development and Automation 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: 
Read only

Compare two fields validation in TMG using Events

nirojan_vel
Participant
0 Likes
1,177

Hi friends,

Data element : EQUI-MATNR & EQUI-SERNR

My question is how to validate serial no?

Condition:

1. When user enter the material code and serial number, the serial number should be that material code serial number. if its wrong serial number. it should through the error message.

Guide me how to do this using events.

Hi friends,

Data element : EQUI-MATNR & EQUI-SERNR

My question is how to validate serial no?

Condition:

1. When user enter the material code and serial number, the serial number should be that material code serial number. if its wrong serial number. it should through the error message.

Guide me how to do this using events.

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
1,084

You may search the forum/SAP Web site with your favorite Web search engine. I see many answers for search below. Based on the results, if it still doesn't solve, you may anyway refine your query/provide more information.

event before save 01 "LOOP AT total." site:sap.com
Read only

RaymondGiuseppi
Active Contributor
1,084

What is the purpose of this customer defined (I hope) table and its maintenance dialog?

  • Could you consider defining foreign key relations / creating a maintenance view to check your table with EQUI table (you should even get a free F4 search help if you do well)
  • Else, look at online documentation for available events to add some code