‎2007 Dec 31 7:09 AM
Hi All
I am using table T510 for validation of slection screen select-options fields TRFST.......
i want to use keys fields as well to validate it...
wt shld be the code....
plz help me...
Rohit
‎2007 Dec 31 10:29 AM
Hi,
You can use the statement :
AT SELECTION-SCREEN ON <field-name>.
and write the code for validation, and can give error or warning messages accordingly to your requuirement.
Regards,
Renjith Michael.
‎2007 Dec 31 11:45 AM
Hi Rohit,
I will develop a small code for u check it once ok..
tables : t510.
select-options : s_trfst for t510.
at selection-screen on trfst.
select single trfst
from t510
into t510-trfst
where trfst in s_trfst.
if sy-subrc eq 0.
message s000. " write sucessful message class
else.
message e001. "write error message in the class
endif
Award points if helpful.
kiran kumar.G
Have a Nice Day..