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

Cursor on a error-data field in the Selection-Screen

Former Member
0 Likes
626

Hi all,

I have a normal selection-screen in which I have 4 select-options.

I require that when user enters a wrong data in the 3rd field, the cursor should blink in that field.

I tried to use AT SELECTION-SCREEN ON fld event, but through this, the other's field input is disabled which I don't want.

What should I do?

Can I do it using SCREEN table?

Regards,

Saurabh A. Buksh

Hi all,

I have a normal selection-screen in which I have 4 select-options.

I require that when user enters a wrong data in the 3rd field, the cursor should blink in that field.

I tried to use AT SELECTION-SCREEN ON fld event, but through this, the other's field input is disabled which I don't want.

What should I do?

Can I do it using SCREEN table?

Regards,

Saurabh A. Buksh

2 REPLIES 2
Read only

Former Member
0 Likes
487

Hi Saurabd,

you could use the general event

AT SELECTION-SCREEN.

with no restriction on the fields. Then

SET CURSOR FIELD error_field.
MESSAGE Exxx...

Best regards,

Florin

Read only

Former Member
0 Likes
487

Saurabh,

use set cursor field before giving error message.

SET CURSOR FIELD 'S_MATNR-LOW'.

MESSAGE e002 WITH l_temp.

-Anu.

Message was edited by: Anupama Reddy