‎2008 Nov 20 3:06 PM
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.
‎2008 Nov 20 3:30 PM
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.
‎2008 Nov 20 3:32 PM
Tks for reply,
But, are you sure that not existe a way standard in the dynpro to make this control ( without code ) ?
tks,
‎2009 Jan 13 11:09 AM