Skip to Content
0
Former Member
Feb 24, 2010 at 04:08 AM

How to clear Parameters field upon selecting different Radio buttons

825 Views

Hi Gurus,

I have a small question.

I have 2 Radio buttons and 1 Parameters field on Selection screen.

PARAMETERS: P_RAD1 RADIOBUTTON GROUP PR.

PARAMETERS: P_RAD2 RADIOBUTTON GROUP PR.

PARAMETERS: GK_RUTA LIKE RLGRAP-FILENAME.

My requirement is that when I select

1.P_RAD1 and press ENTER

GK_RUTA should have the value C:\Documents and Settings\PR1

2.P_RAD2 and press ENTER

GK_RUTA should have the value C:\Documents and Settings\PR2

After Executing the program and coming back to the Selection screen I can clear my GK_RUTA.

What my concern is -

For Example, If I selected P_RAD1 and pressed ENTER my GK_RUTA gets populated with C:\Documents and Settings\PR1

and on the same selection screen if I select P_RAD2 (another Radio button) and press ENTER key the value of GK_RUTA should

change to C:\Documents and Settings\PR2.

So, what I require is when I select a different Radio button the value in GK_RUTA which is already existing should get cleared and new value should be populated.

Please advice how I can clear GK_RUTA if I select a different radio button on the same selection screen.

Thanks in Advance.

P.Madhusudhan Raju