02-24-2010 4:08 AM
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
02-24-2010 4:28 AM
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
02-24-2010 4:28 AM
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
02-24-2010 4:33 AM