Allow only a possible set of values to choose from while setting value in SAP ABAP


If you need to place a restriction as you said, you can go ahead with using predefined domains on the column or text field.

Select Table Field -> Data Element -> Specify Domain

While specifying the domain you can set the permissible set of values which you want the table field to be set.

However please don’t consider as a constraint that we place in database tables, the domain login can still be broken through code.

Updated on: 13-Feb-2020

313 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements