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 on particular text field in calling screen in module pool program

Former Member
0 Likes
1,444

Am calling screen 200 from screen 100. as screen get loaded cursor should be focusing on particular field.

kindly help.

any command.\

thx in advance.

1 ACCEPTED SOLUTION
Read only

awin_prabhu
Active Contributor
0 Likes
612

Hi Deshmukh,

Simply try like below.

In PBO of screen 200 use SET CURSOR statement like below,


PROCESS BEFORE OUTPUT.
 MODULE STATUS_0200.

MODULE status_0200 OUTPUT.
  SET CURSOR FIELD 'CUR2'.        " CUR2 is field name in layout. Declare it inside program also.
ENDMODULE.                 " STATUS_0200  OUTPUT

Thanks,

Am calling screen 200 from screen 100. as screen get loaded cursor should be focusing on particular field.

kindly help.

any command.\

thx in advance.

1 REPLY 1
Read only

awin_prabhu
Active Contributor
0 Likes
613

Hi Deshmukh,

Simply try like below.

In PBO of screen 200 use SET CURSOR statement like below,


PROCESS BEFORE OUTPUT.
 MODULE STATUS_0200.

MODULE status_0200 OUTPUT.
  SET CURSOR FIELD 'CUR2'.        " CUR2 is field name in layout. Declare it inside program also.
ENDMODULE.                 " STATUS_0200  OUTPUT

Thanks,