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 focus in module pool

Former Member
0 Likes
1,410

Hi all,

I am developing one z transaction. In this I have 10 text fields. I want finctionality that when I put value in 1st field the cursor should be automatically shift to next field.

Is it possible? can anyone give me code for this..

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
800

Hi PKB,

Just after entering DATA in a I/O field, setting CURSOR in a

next I/O field is only possible when triggerring some USER COMMAND like pressing ENTER key.

In processing of that USER COMMAND, the target I/O field name can be determined and used in SET CURSOR statement

as last satement in PBO.

Regards,

R.Nagarajan.

-


We can -


3 REPLIES 3
Read only

MarcinPciak
Active Contributor
0 Likes
800

Use SET CURSOR [keyword|http://help.sap.com/abapdocu/en/ABAPSET_CURSOR_SHORTREF.htm]

Read only

Former Member
0 Likes
800

Hi,

you can use SET CURSOR statement to place the cursor in a field.

Read only

Former Member
0 Likes
801

Hi PKB,

Just after entering DATA in a I/O field, setting CURSOR in a

next I/O field is only possible when triggerring some USER COMMAND like pressing ENTER key.

In processing of that USER COMMAND, the target I/O field name can be determined and used in SET CURSOR statement

as last satement in PBO.

Regards,

R.Nagarajan.

-


We can -