2009 Feb 01 7:59 AM
Hi,
Here the part of my selection screen.,
parameter XYZ radiobutton group rad1 default 'X'.
selection-screen comment 4(30) text-066....Every thing is working fine.,
But, while doing the code inspecter check I am getting Radio button XYZ related errror, not sure how to rerctify that, here I am giving that error.,
> Program ZABOVEPROGRAM screen 1000 I/O field (Inputfield) XYZ has no accessable label
What to do? suggest me.,
Thanks,
Naveen Inuganti
2009 Feb 01 8:16 AM
Hi:
try to modify as it.
Follow the link.
on ur program editor screen.
GOTO---> Text Elements -
> Text SYmbols
and modify here the length field and save and activate it
Hi, Naveen Inuganti
Test the following code may it will help you to solve your problem, and one more thing which i want to know that do you have any other parameter or select-option on the screen?
selection-screen begin of block b2 with frame title text-065.
selection-screen begin of line.
parameter XYZ radiobutton group rad1 default 'X'.
selection-screen comment 4(30) text1."text-066. "It conatins label for XYZ
selection-screen end of line.
selection-screen begin of line.
parameter AB radiobutton group rad1.
selection-screen comment 4(30) text2."text-067. "It conatins label for AB
selection-screen end of line.
selection-screen end of block b2.
INITIALIZATION.
text1 = 'Lable 1 Lable 1 Lable 1'.
text2 = 'Lable 2 Lable 2 Lable 2'.waiting for your reply,
Kind Regards,
Faisal
2009 Feb 01 8:16 AM
Hi:
try to modify as it.
Follow the link.
on ur program editor screen.
GOTO---> Text Elements -
> Text SYmbols
and modify here the length field and save and activate it
2009 Feb 01 8:18 AM
Hi:
Here is sample code.
hope it will help
selection-screen begin of block a with frame title text-001.
select-options: mydate for sy-datum no-extension obligatory.
parameters: g250 radiobutton group a,
g1000 radiobutton group a.
selection-screen end of block a.
2009 Feb 01 8:49 AM
Hi.,
Anyother answers?
Here I am attaching my code once again...!
selection-screen begin of block b2 with frame title text-065.
selection-screen begin of line.
parameter XYZ radiobutton group rad1 default 'X'.
selection-screen comment 4(30) text-066. "It conatins label for XYZ
selection-screen end of line.
selection-screen begin of line.
parameter AB radiobutton group rad1.
selection-screen comment 4(30) text-067. "It conatins label for AB
selection-screen end of line.
selection-screen end of block b2.For XYZ and AB , I am getting same error at code inspecter checks,
"Program ZABOVEPROGRAM screen 1000 I/O field (Inputfield) XYZ has no accessable label
"Program ZABOVEPROGRAM screen 1000 I/O field (Inputfield) AB has no accessable label--Naveen Inuganti
2009 Feb 01 9:01 AM
Hi, Naveen Inuganti
Test the following code may it will help you to solve your problem, and one more thing which i want to know that do you have any other parameter or select-option on the screen?
selection-screen begin of block b2 with frame title text-065.
selection-screen begin of line.
parameter XYZ radiobutton group rad1 default 'X'.
selection-screen comment 4(30) text1."text-066. "It conatins label for XYZ
selection-screen end of line.
selection-screen begin of line.
parameter AB radiobutton group rad1.
selection-screen comment 4(30) text2."text-067. "It conatins label for AB
selection-screen end of line.
selection-screen end of block b2.
INITIALIZATION.
text1 = 'Lable 1 Lable 1 Lable 1'.
text2 = 'Lable 2 Lable 2 Lable 2'.waiting for your reply,
Kind Regards,
Faisal
2009 Feb 01 9:29 AM
Hi faisal,
I tried as you said, but no use..,
Here I am giving code: just copy and paste in your new program editer, and active it after assigning the tewo text sympbols and also do code inspecter check for this.
selection-screen begin of block b2 with frame title text-065.
selection-screen begin of line.
parameter xyz radiobutton group rad1 default 'X'.
selection-screen comment 4(30) text-066.
selection-screen end of line.
selection-screen begin of line.
parameter ab radiobutton group rad1.
selection-screen comment 4(30) text-067.
selection-screen end of line.
selection-screen end of block b2.---You will get same two errors.
Those are i am looking to resolve,
--Naveen Inuganti
2009 Feb 01 9:38 AM
Hi Naveen:
Code which u have pasted , i copied it and check it in my editor.
it is giving no error here and when i execute it , it show 2 radio buttons with no label
2009 Feb 01 10:20 AM
check the info (Symbol I ) for that error in code inspector...u ll cklearly understand as why that error is coming.It is simply because u havent defined the text-065 as a label to the radiobutton,but just as a comment line.The ideal way is to declare the label of an input field through a selection-text.
But if you have to use it like comment then u can go ahead ,and ignore that error,its not gonna create any problem in smooth execution of your program
2009 Feb 02 6:24 AM
Hi,
PROBLEM SOLVED.
Thanks,
You are right!
Now I declared text as Selection-text.
I am not getting any error.
The reason why I decalred as comment line because that code is in between Begin of line and End of line, ofcourse now I removed that code too.
__Naveen Inuganti
2009 Feb 01 8:43 AM
Hi
Maybe it expects a label for your radiobuton group also in addition to a label for each radio.
selection-screen comment 4(30) text-065. " tells what the radiobuttons are for: Eg: Gender
parameter XYZ radiobutton group rad1 default 'X'. " First radio button
selection-screen comment 4(30) text-066. " tells what option XYZ represents. Eg: Male
Hope this helps
Regards,
Jayanthi.K
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |