Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

set cursor field after selection screen field check?

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.

Tags:
replied

Hi,

Please check like this : set cursor field 'S_TYPE-LOW'.

Regards

Kiran

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question