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

Set Cursor statement in table control

Former Member
0 Likes
487

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
Read only

Former Member
0 Likes
456

hai

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

Regards

Sreenivasulu P

Read only

Lakshmant1
Active Contributor
0 Likes
456

Hi Sagar,

Have a look at demo programs

DEMO_DYNPRO_GET_CURSOR

DEMO_DYNPRO_SET_CURSOR

Hope this provides some inputs.

Thanks

Lakshman

Read only

Former Member
0 Likes
456

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.