‎2010 Feb 01 8:16 AM
Hi,
i created two rado buttons r1 and r2 with group rg1 in screen painter.
when i am wrinting logic in se38 i am using the statement : IF R1 = 'X'.
then i am getting an error. -- FIELD 'r1' is unknown.
how to proceed . Please help me.
‎2010 Feb 01 8:25 AM
Hi,
Since you are using screen painter for radio button,So u need to declare in Main Prgram.
e.g.
data : r1 type c,
r2 type c.
Regards
Arbind
‎2010 Feb 01 8:26 AM
Hi,
i have to define global data.
DATA:
r1 TYPE flag,
r2 TYPE flag.
Marcel
‎2010 Feb 01 8:33 AM
Hi,
You have created the radiobuttons in Screen painter
You must declare them in the program with the same names
DATA: R1 TYPE C,
R2 TYPE C
‎2010 Feb 01 9:32 AM
See when we are using Screen Painter all the elements which you are using in screen -painter must be declared in your Main Program then only system transfer their value into the program
So do the declaration of your elements in the main program,
Since it is radio button the return value will be a single character, so declaration must be as follows,
data: rad_1 type c,
rad_2 type c.
This will do it.
Hope this helps you,
Regards,
Abhijit G. Borkar
‎2010 Feb 01 11:49 AM
Hi likrahul ,
First u need to declare the radio buttons ,
if u r not declare in se38 u will the error like unkown
Regards
Surendra