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

Function Module to validate a value against domain fixed values

shalabh_jain
Product and Topic Expert
Product and Topic Expert
0 Likes
5,457

Hi,

Could anybody please let me know if there is a standard Function Module that takes a Value and Domain name as an input and checks if the input value exists in the Fixed Values of the domain.

Thanks,

Shalabh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,104

Hi,

you can use fm FM_DOMAINVALUE_CHECK. Pass parameter values for I_DOMNAME and I_DOMVALUE.

If the value is invalid, exception VALUE_NOT_ALLOWED will occur.

Regards,

Klaus

2 REPLIES 2
Read only

Former Member
0 Likes
2,105

Hi,

you can use fm FM_DOMAINVALUE_CHECK. Pass parameter values for I_DOMNAME and I_DOMVALUE.

If the value is invalid, exception VALUE_NOT_ALLOWED will occur.

Regards,

Klaus

Read only

Former Member
0 Likes
2,104

Hi,

Not aware that any standard function module available or not.

But you can write your own Z Function module to check the input values against the fixed values of a domain.

Rgs,

Lokesh