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

Matchcode - data wrong

Former Member
0 Likes
565

Hi all,

I have a input field in abap dynpro ( builded by se80 ), this input field is linked a

DB-field via a matchode ( to find data ).

My problem is:

The system allow a wrong value in the filed ( wrong value = value not it matchcode data's list ) ,

I would that the system show an error = data not allowed ( for example )

Hoe I can do it ?

tks,

bye.

3 REPLIES 3
Read only

former_member156446
Active Contributor
0 Likes
400

you need to do validation for the field..

parameter: pa_werks type marc-werks.

at selection screen <<<<<<<<PBO

select single werks

from t001W

where werks = pa_werks.

if sy-subrc NE 0.

Error message...

endif.

Read only

0 Likes
400

Tks for reply,

But, are you sure that not existe a way standard in the dynpro to make this control ( without code ) ?

tks,

Read only

Former Member
0 Likes
400

I used the check table.