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

Get & set cursor in subscreen

SharathYaralkattimath
Contributor
0 Likes
1,593

Hi ,

I have 2 subscrens , each contain fields.

I am calling both the subscreen from my main screen.

I used GET cursor in all the PAI modules of all screens.

by default cursor is at 1st field of subscreen1.

If cursor is at any other field , after pressing enter or any PAI event it should stay at that field only.

Get & set cursor is not working properly for me.

Any other suggestions?

3 REPLIES 3
Read only

Former Member
0 Likes
1,052

Hi Sharath,

Use set cursor syntax in pbo module.

Then it will work fine.

Regards,

BALAJI.

Read only

0 Likes
1,052

Hi Balaji,

Get cursor in subscreens is not returning any value,

sy-subrc = 4.

Read only

0 Likes
1,052

Sharath,

Try this FM --->    DYNP_VALUES_READ