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 command

Former Member
0 Likes
794

Hi experts,

I want to position the cursor in a screen field.

I gave SET CURSOR FIELD GS_ASSEMBLY-SERNR in PAI.

But still the cursor is not in required position.

Pls help me to do this.

Thanks.

1 ACCEPTED SOLUTION
Read only

former_member491305
Active Contributor
0 Likes
753

Hi,

If it is single i/o field then there is no need for <b> line</b> statement.i think you have to give it in quotes.

SET CURSOR FIELD 'GS_ASSEMBLY-SERNR'.

6 REPLIES 6
Read only

Former Member
0 Likes
753

Your syntax is wrong....

Try this

<b>SET CURSOR FIELD <f> LINE <lin> [OFFSET <off>].</b>

Regards,

Pavan P.

Read only

0 Likes
753

Please tell me what meant for line.

Here the field i have to set the cursor in GS_ASSEMBLY-SERNR.

Thanks.

Message was edited by:

Murugan Arumugam

Read only

Former Member
0 Likes
753

Hi Murugan,

Set the cursor field in PBO.

Example:

SET CURSOR FIELD 'ZRFQ-SUBMI'.

ZRFQ-SUBMI - FIELD NAME.

IF USEFULL REWARD

Read only

former_member491305
Active Contributor
0 Likes
754

Hi,

If it is single i/o field then there is no need for <b> line</b> statement.i think you have to give it in quotes.

SET CURSOR FIELD 'GS_ASSEMBLY-SERNR'.

Read only

Former Member
0 Likes
753

Hi Murugan ....

in the screen example 100- > in <b>Attribute's tab</b> ( first tab ) there is Other Attriubutes block which is 3rd selection screen in the screen..

<b>Exactly below the <b>Next Screen</b> field that is the <b>Cursor position</b> .

<b>for setting the cursor on the screen</b>

<b>there do the F4</b> it will show the <b>list of the fields which are all declared in the screen by you ..</b>

<b>just select the field</b> ..... inwhich field you want to set the cursor .</b>then <b>activate</b> it ... execute and see ...

the cursor will be there on the cursor selected field .

reward points if it is usefull ...

Girish

Read only

Former Member
0 Likes
753

Hi Murugan,

Write your SET CURSOR command in PBO.

Regards,

Hari krishna.