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 clear Parameters field upon selecting different Radio buttons

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member1245113
Active Contributor
0 Kudos

Hi Madhu,

AT SELECTION-SCREEN OUTPUT. " This should be in At selection Screen output Means PBO 

IF  P_RAD1 = 'X'.
GK_RUTA = 'C:\Documents and Settings\PR1'
ELSEIF P_RAD2 = 'X'.
GK_RUTA = 'C:\Documents and Settings\PR2'.
ENDIF.

Cheerz

Ram

2 REPLIES 2

former_member1245113
Active Contributor
0 Kudos

Hi Madhu,

AT SELECTION-SCREEN OUTPUT. " This should be in At selection Screen output Means PBO 

IF  P_RAD1 = 'X'.
GK_RUTA = 'C:\Documents and Settings\PR1'
ELSEIF P_RAD2 = 'X'.
GK_RUTA = 'C:\Documents and Settings\PR2'.
ENDIF.

Cheerz

Ram

0 Kudos

Hi Ram,

It solved my problem.

Thank you so much.

Madhusudhan