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: 

validation for the select option value range of selection screen

Former Member
0 Kudos

Hi All.

if i wish to validate the selection screen parameter for a value range(select options),is it possible?

what should i write in code.Also,m using FM DD_DOMVALUES_GET to get the values for a specific domain name.

Please reply.

4 REPLIES 4

karthik_vardhan
Explorer
0 Kudos

parameters:val type mara-matnr value check . for parameters

for select-options check

CHECK SELECT-OPTIONS

or use this FM

FM_DOMAINVALUE_CHECK

0 Kudos

BUT I HAVE value range called status message and wish to output from this Fm only if it falls within the range.

please rpely with coding tips

Former Member
0 Kudos

Hiii,

Yes it is possible.... Can you give me the piece of code ... about the select option

and also the value range against which you want to validate the select option.

So that i can help you with the coding tips...

Thanks in advance..

Former Member
0 Kudos

Use the IN operator against the values retuned for the domain. s_option IN it_table. you need to fill it_table from the values obtained from the FM.

Regards,

Nilesh