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: 

maintenance view field validation

Former Member
0 Kudos
341

Hi all,

I've created a ztable that includes the field ekgrp with search help H_T024. I want to implement a check table...or some logic that will prevent my user from entering an invalid value as opposed to selecting a valid value from the search help list. Can someone point me to some documentation that talks this kind of an issue...or provide an example?

best reagrds,

Mat

3 REPLIES 3

Former Member
0 Kudos
285

Hi ,

You create the Check table relationship also for the field in your table with the check table as T024, Then the values will be restricted , Other wise you need to create the Events in your maintenance view

which is shown in below link.

[https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc]

Regards Rk.

0 Kudos
285

I go to SE11 and open my ztable. I select the Entry / help check tab and go into edit mode. It seems I cannot set a value for check table associated with the field ekgrp if I reference domain ekgrp or bkgrp for fieild ekgrp. Are you saying I need to create a new domain to associate with the ekgrp field...or is there an easier way to perform field validation? Is there any way to change the field characteristics so the user must select form the drop down as opposed to typing in the field?

0 Kudos
285

Hi ,

For this you need to create the Foreign key relation ship for that field

Just select the field and click on Foreign keys button and give the table T024.

Regards Rk