2007 Sep 07 7:48 AM
Im just giving a name to one of the items of my radio button. one of the item was named STRAWBERRY. I compiled the program and got this error:
The parameter name ("STRAWBERRY" here) can be up to 8 characters long.
Does this mean ABAP cant allow more than 8 character on an item name of a radio button? Doesnt sound good and logical for me. im just a newbie. how to solution this? What if i need a name longer than 8 characters or what if I need 3 words on that name?
thanks for the help.
2007 Sep 07 7:52 AM
HI,
Eg:
go to se38..
parameters: p_mypar TYPE C LENGTH 15,
rd1 TYPE flag RADIOBUTTON group g1," default 'X' MODIF ID ID1 ,
rd2 TYPE flag RADIOBUTTON group g1 MODIF ID ID2 ,
rd3 TYPE flag RADIOBUTTON group g1 MODIF ID ID3.
Save it.
<i>In the program Parameters allows you only 8 character lenth. instaed you can go to text elements and give your text..</i>
Now on top <b>GOTO --> TEXT ELEMENTS -- > selection text</b>
and write <b>strawberry</b> in RD1.
and activate it and also the program.
It allows yyou 30 character length.
you will get the text for radio butoon.
rewards if useful,
regards,
nazeer
2007 Sep 07 7:51 AM
wen u use parameters statement regardless of whether u r using 'as radiobutton ' addtion or not, it allows only names with eight characters,,same holds true for select-options as we..
2007 Sep 07 7:52 AM
HI,
Eg:
go to se38..
parameters: p_mypar TYPE C LENGTH 15,
rd1 TYPE flag RADIOBUTTON group g1," default 'X' MODIF ID ID1 ,
rd2 TYPE flag RADIOBUTTON group g1 MODIF ID ID2 ,
rd3 TYPE flag RADIOBUTTON group g1 MODIF ID ID3.
Save it.
<i>In the program Parameters allows you only 8 character lenth. instaed you can go to text elements and give your text..</i>
Now on top <b>GOTO --> TEXT ELEMENTS -- > selection text</b>
and write <b>strawberry</b> in RD1.
and activate it and also the program.
It allows yyou 30 character length.
you will get the text for radio butoon.
rewards if useful,
regards,
nazeer
2007 Sep 07 7:53 AM
2007 Sep 07 7:53 AM
HI,
Sounds strange but that is a fact , you can not specify more than 8 char for any selection parameters..
Work-around : You can write a comment for that radio-button.
*hope this helps.
2007 Sep 07 7:54 AM
In the program, on the top
Goto->text elements->selection text
there you can write whatever you want in the text field which corresponds to each parameter.
Please reward the helpful entries.
Regards,
Raman.
2007 Sep 07 7:54 AM
Hi,
As per Abap naming space the length of parameter should not be more than 8 characters.
You can create with 4 to 5 characters and you cnange in selection text more than 8 charcters.
Hope this info will help you.
Rewards points if helpful
With Regards,
K K V
2007 Sep 07 7:56 AM
hi,
You name your radio button inside the program as r_1 or whatever you want but length within 8.To display the name you wanted for example strawberry,follow this process.
In abap editor ,Goto->text elements->selection texts.Enter the text you wanted next to the radio button
2007 Sep 07 8:00 AM
hi,
in abap the name for parameter should be upto 8 characters only. it doesn't mean that u can have have only 8 characters. i.e for declaring it takes maximum as 8 characters and so u declare within of 8 characters but when displaying the selection screen for u can give ur own length and name for that declared parameter as
after u code ur program -> click on goto -> text elements -> select selection texts -> give ur name of wished length -> save n activate -> back -> activate ur program.
in o/p screen that name is displayed for u.
for ex:
parameters: strawber type radiobutton group g1 ///// name of radiobutton is strawber in ur program
after u did above navigation n can change that radio button name from strawber to strawberryyyyyyyyyyyyyy in that o/p selection screen.
if helpful reward some points.
with regards,
Suresh Aluri.
2007 Sep 07 8:02 AM