04-07-2010 11:23 AM
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.
04-07-2010 11:30 AM
04-07-2010 11:30 AM
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.
04-07-2010 12:18 PM
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.
04-07-2010 11:37 AM
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
04-07-2010 12:16 PM
hI RAM,
I HAD DONE THE SAME THING BUT ITS NOT SOLVING MY PROBLEM.
THANKS,
KRUTHIK
04-08-2010 7:04 AM