10-14-2008 10:36 AM
Hi,
I'm doing a check on a field of the selection screen. When the user is not giving a valid value for the field, I am displaying a warning, but I would like the cursor to be set on the field as well.
So I tried the 'set cursor field', but it's not working. Can someone tell me how to get the cursor on the right field? Here's my code.
At selection-screen.
select single lgtyp from lagp
into walgtyptest
where lgtyp = s_type.
if sy-subrc > 0.
set cursor field 'S_TYPE'.
message e002(00).
endif.
10-14-2008 10:37 AM
Hi,
Please check like this : set cursor field 'S_TYPE-LOW'.
Regards
Kiran
10-14-2008 10:37 AM
Hi,
Please check like this : set cursor field 'S_TYPE-LOW'.
Regards
Kiran
10-14-2008 10:40 AM
Hi,
try this,
At selection-screen on s_type.
select single lgtyp from lagp
into walgtyptest
where lgtyp = s_type.
if sy-subrc NE 0.
message e002(00).
endif.
Hope it wil work.
10-14-2008 10:40 AM
Hello,
try :
at selection-screen on s_type.
<your coding>
regards
Wolfgang