Application Development 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: 

Set Cursor statement in table control

Former Member
0 Kudos

I am using SET CURSOR for validation in table control fields. Its working fine, but when I am scrolling down vertically the cursor is moving to the first field of table control. How to put cursor in my error field then?

3 REPLIES 3

Former Member
0 Kudos

hai

SET CURSOR FIELD <FIELD NAME> LINE <LINE NO>.

Regards

Sreenivasulu P

Lakshmant1
Active Contributor
0 Kudos

Hi Sagar,

Have a look at demo programs

DEMO_DYNPRO_GET_CURSOR

DEMO_DYNPRO_SET_CURSOR

Hope this provides some inputs.

Thanks

Lakshman

Former Member
0 Kudos

Catch the cursor position at the error line as follows

get cursor field itab-vbeln line line_cr.

now, in pbo use the SET CURSOR as usual.

Hope this will help u.

Reward points if it helps.