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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

MarcinPciak
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

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

Former Member
0 Kudos

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 -