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

controlling data

Former Member
745

is there a method to check that a data entered by input must respect the length of the domain of the data element in order to display an error in output?

3 REPLIES 3
Read only

FredericGirod
Active Contributor
664

It is not an easy task.

Maybe you could try to catch the exception CX_SY_CONVERSION_ERROR and manage the error.

I am not sure it will work for example if the domain contains possible values

Read only

Sandra_Rossi
Active Contributor
0 Likes
664

List of domains and their attributes like output length and conversion exit = table DD01L

Read only

gayathri_jayajeevan2
Participant
0 Likes
664

Hi,

Your question is not clear to me.

If your input field is created with reference to a domain/data element, then then system will not allow you to enter more than the defined length.