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: 

how to set cursor after submit via selection-screen

Former Member
0 Kudos
92

hi guys,

i would like to set cursor to certain field, after submit via selection-screen.

eg.

SUBMIT z_mm_kbr_gr_label_01

VIA SELECTION-SCREEN

WITH p_mblnr = p_mblnr

WITH p_zeile = p_zeile

WITH p_gjahr = p_gjahr

WITH p_ccode = p_ccode

WITH p_dcode = p_dcode

WITH p_crt = p_crt

WITH p_print = p_print.

i want to set cursor field 'p_ccode' after going back to

z_mm_kbr_gr_label_01. the program always go to the first field on the screen whatever i do.

may i know how to do this?

thanks.

4 REPLIES 4

Former Member
0 Kudos
51

Hi,

try using the SET CURSOR command.

0 Kudos
51

hi, i already tried the command. it doesn't work.

it's not the commnad problem. it always get reset to first field when comes back from submit.

0 Kudos
51

Hi,

Please try like below .

at selection-screen output.

SET CURSOR FIELD 'P_CCODE' .

Former Member
0 Kudos
51

hi all,

i managed to solve the problem by submit to Z_MM_KBR_GR_LABEL_02 instead of Z_MM_KBR_GR_LABEL_01. And set cursor on the particular field of Z_MM_KBR_GR_LABEL_02.

thanks.