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: 

default cursor on a ssreen when selecting a radio button

former_member1125862
Participant
0 Kudos

Hi experts,

I am new for writing the module pool program can any one will help me in solving my requirement.

I am havine 3 radio buttons

1.begin

2.process

3.end.

I am keeping the default radio button on process and the cursor on the other field ( ex PONumber ).

Now, if i am selecting the bein or the end radio button the cursor is remain same on the begin or end radio buttons.

My requirement is, if i select the either begin or end button automatically the cursor have to jump automatically

to the other field ( ex PONumber ).

can any one help me in doing so.

Waiting for your replies.

Thanks,

Kruthik.

6 REPLIES 6

Former Member
0 Kudos

Use SET CURSOR FIELD

regards,

Prajwal K.

former_member188827
Active Contributor
0 Kudos

in PBO,check which radio button is selected and use SET CURSOR statement to place cursor on particular screen,

See documentation of SET CURSOR by pressing F1 on it.

0 Kudos

HI,

THANKS FOR THE REPLAY.

BUT THIS WILL WORK WHEN EVER WE FIRST ENTER INTO THE SCREEN.

BUT MY REQUIREMENT ME AFTER ENTERING INTO THE SCREEN IF I HAD SELECT THE OTHER BUTTON THE CURSOR AUTOMATICALLY JUMP TO THE FIELD( ex PONumber ).

THANKS,

KRUTHIK.

former_member1245113
Active Contributor
0 Kudos

Hi Kruthik,

1)In the Screen Painter define a radio button group
Select the Radio Butons --> Edit -->Grouping -->Radio Button group --> Define "(Without this you cant enter FCODE)
2) Enter a Fcode for the Radio Button " this triggers automatic PAI/PBO
3)in PBO 
module status_0100.

in program.

module status_0100.
if r1 = 'X' or r3 = 'X'.
set cursor field 'FIELD_NAME'. " This is the Screen Field name and Must be in Caps
endif.
endmodule

Cheerz

Ram

0 Kudos

hI RAM,

I HAD DONE THE SAME THING BUT ITS NOT SOLVING MY PROBLEM.

THANKS,

KRUTHIK

former_member1125862
Participant
0 Kudos

I got the solution