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

check domain values

Former Member
0 Likes
3,633

Hello Experts,

Is there any easy way to check if values right for domain type. I mean i wanna know when domain type is like int1 int2 int4 and when value is not numeric it will give me error. I know there is already function like CHECK_DOMAIN_VALUES but it looks working for DD07V fields. By the way i'll check all domain types not just integer.

Thanks,

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
2,075

To check whether a textual input value matches a data type, use the function module RS_CONV_EX_2_IN.


Hello Experts,

Is there any easy way to check if values right for domain type. I mean i wanna know when domain type is like int1 int2 int4 and when value is not numeric it will give me error. I know there is already function like CHECK_DOMAIN_VALUES but it looks working for DD07V fields. By the way i'll check all domain types not just integer.

Thanks,

3 REPLIES 3
Read only

Sandra_Rossi
Active Contributor
0 Likes
2,076

To check whether a textual input value matches a data type, use the function module RS_CONV_EX_2_IN.


Read only

0 Likes
2,075

Hello Sandra,

Thanks for your answer. This function was usefull. Its not working as correctly but i coppied code and made some changes now its working as i wanted to.

Read only

0 Likes
2,075

Good. I guess it's more "not working as you expected". If there was an error, it's a released function module, so customers are allowed to use it and so they can ask SAP support for corrections.