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 position in a subscreen ?-

HelgaRaemaekers
Participant
0 Likes
1,514

Hi,

I have a screen which uses a subscreen with input fields. When an input field on the subscreen has a wrong value, i would like to give an error message and position my cursor on the field in question on the SUBscreen ...

Can anyone help me with this one?

set cursor field in the pbo of the screen doesn't work.

set cursor field in the pbo of the subscreen doesn't work either ...

*#* If nothing goes right, just go left *#*
1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
944
can you post the code..

in pai

if screen-field ne 'XXXX'.    " condition

   SET CURSOR FIELD 'SCREEN-FIELD'.
   message e001 ,...........

endif.

Hi,

I have a screen which uses a subscreen with input fields. When an input field on the subscreen has a wrong value, i would like to give an error message and position my cursor on the field in question on the SUBscreen ...

Can anyone help me with this one?

set cursor field in the pbo of the screen doesn't work.

set cursor field in the pbo of the subscreen doesn't work either ...

2 REPLIES 2
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
944

Hi

Please SAP Report 'DEMO_LIST_SET_CURSOR_2 ' which will help you to sovle the problem.

Regards,

Sree

Read only

Former Member
0 Likes
945
can you post the code..

in pai

if screen-field ne 'XXXX'.    " condition

   SET CURSOR FIELD 'SCREEN-FIELD'.
   message e001 ,...........

endif.