NO-DISPLAY option for Radio buttons
Hi All,
I want to hide the 2 radio buttons on the selection screen using the NO-DISPLAY option. when i worked with that its giving an error like 'no-display and radio button group can be specified together'.
my question was is it possible to use NO-DISPLAY option with radio buttons?
Thanks
Kumar.
See this sample code
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-h01.
*Radio button for Process PO invoice
PARAMETERS : rb_po RADIOBUTTON GROUP inv USER-COMMAND rad.
" PO Invoice
*Radio button for FI Invoice
PARAMETERS : rb_fi RADIOBUTTON GROUP inv.
" FI Invoice
*Radio button for Process PO & FI Invoice
PARAMETERS : rb_pofi RADIOBUTTON GROUP inv.
" PO & FI Invoice
SELECTION-SCREEN END OF BLOCK b3.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS:
s_bukrs FOR rbkp-bukrs, "Company Code
s_ekorg FOR ekko-ekorg NO INTERVALS MODIF ID md2,
"Purchasing Org.
s_ekgrp FOR ekko-ekgrp NO INTERVALS MODIF ID md2,
"Purchasing Group
s_werks FOR rseg-werks NO INTERVALS MODIF ID md2,
"Plant
s_lifnr FOR rbkp-lifnr NO INTERVALS,
"Vendor
s_matkl FOR ekpo-matkl NO INTERVALS
MODIF ID md1,
"Material Group
s_belnr FOR rbkp-belnr NO INTERVALS,
"Invoice Number
s_ebeln FOR rseg-ebeln NO INTERVALS MODIF ID md2,
"Purchasing Document No
s_gjahr FOR rbkp-gjahr NO INTERVALS,
"Fiscal year
s_budat FOR rbkp-budat NO INTERVALS,
"Posting date
s_blart FOR bkpf-blart NO INTERVALS,
" Document Type
s_bldat FOR bkpf-bldat NO INTERVALS,
" Invoice Date
s_usnam FOR rbkp-usnam NO INTERVALS.
"User
*Report type
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
SELECTION-SCREEN BEGIN OF LINE.
*Radio button for User Report
PARAMETERS : rb_user RADIOBUTTON GROUP za DEFAULT 'X' <b>USER-COMMAND rad MODIF ID md2.</b>"User report
SELECTION-SCREEN COMMENT 3(20) text-003 FOR FIELD rb_user MODIF ID md2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
*Radio button for Managing Report
PARAMETERS : rb_man RADIOBUTTON GROUP za
<b>MODIF ID md2.</b>
"Management Report
SELECTION-SCREEN COMMENT 3(20) text-004 FOR FIELD rb_man
MODIF ID md2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN OUTPUT.
* Checking Radiobuttons and modifing Material Group field .
PERFORM f13000_check_radio.
FORM f13000_check_radio.
* When the FI button is selected hide the fields under group md1 and MD2
LOOP AT SCREEN.
IF screen-group1 = 'MD2'
OR screen-group1 = 'MD1'.
IF rb_fi = c_x
OR rb_pofi = c_x.
screen-active = 0.
ELSE.
screen-active = 1.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
* If the user output radiobutton is checked then make the screen
* input of Material Group off
<b> LOOP AT SCREEN.
IF screen-group1 = 'MD1'.
IF rb_user = 'X'.
screen-active = 0.
ELSE.
screen-active = 1.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.</b>
IF rb_user = 'X'.
* When display for material group is off
* then refresh the select option for material
* group
REFRESH s_matkl.
ENDIF.
ENDFORM. " f13000_check_radio
hope this helps.
Similar Messages
-
When in settings on display list is option for radio how do you get it to work or is it possible. When centre button is pressed a tick appears beside it.
The Palm Desktop is available to download from the Palm site:
http://www.palm.com/us/support/macintosh/mac_desktop.html
though this doesn't list the Clie devices and you may need to check which version you should be using. The Desktop will run on 10.4.
The 'Apple' key is the Command key.
You may need USB Overdrive - a useful program - unless the mouse comes with a Mac driver (some Miscrosoft mice do). Apple's Might Mouse will work fine.
USB overdrive usefully allows you to assign the same mouse click to do different things in different programs. -
Why not autoskip for radio buttons? and the update_allowed FALSE issue
I would so dearly love there to be autoskip for radio buttons. (forms 11.1.1.4 jre 6...24) There is no autoskip property for the radio group nor for the individual buttons.
I don't find an easy way to emulate it either. Or am I missing something?
Anyone else solve this problem already? When the user selects a radio choice I want the focus to move
to the next enabled item on the form. You can do this with text items but not with radio groups. (In some cases the radio group has a when-radio-changed trigger
that enables/disables following items). This would all be a lot easier if radio groups just had autoskip. I wonder why they don't?
BTW the following has cost me a huge amount of time. In 6i it was the case in my experience that if you
disabled an item like this:
PROCEDURE disable_item (myitem in varchar2) IS
BEGIN
copy(null,myitem);
set_item_property(myitem,enabled,property_false);
set_item_property(myitem,visual_attribute,'DISABLED');
END;Then that could be reversed as so (the weird thing was you had to set navigable also despite not
having changed it yourself.
PROCEDURE enable_item (myitem in varchar2) IS
BEGIN
set_item_property(myitem,enabled,property_true);
set_item_property(myitem,navigable,property_true);
set_item_property(myitem,visual_attribute,'ENABLED');
END;But in 11.1.1.4 I had lots of trouble with Lov's not rising after the item had been disabled and then
re-enabled. No error message. Just didn't do it. Eventually I figured out that what happens is that
after disabling an item the item as also non-updateable. This was not the case in 6i. So then
the enable item code has to be something like this: [Note despite that not update_allowed it did not
automatically grey out the item firefox 3.6.17 and it still has to be done programmatically.]
PROCEDURE enable_item (myitem in varchar2) IS
BEGIN
set_item_property(myitem,enabled,property_true);
set_item_property(myitem,navigable,property_true);
set_item_property(myitem,visual_attribute,'ENABLED');
set_item_property(myitem,update_allowed,property_true);
END;Well right now 11.1.1.4 for autoskip for radio buttons this seems to be working ok. Crossing my fingers!
a block level when-radio-changed trigger with after scope (where item level when-radio-changed triggers
have before scope) with a simple next_item in there.
Where I was having problems before was next_item-ing onto disabled items. There was some kind of issue
with lov's. I'm having less trouble raising the lov programmatically. but also I had the problem that
items were getting set non-update_allowed without my realization.
when new item instance:
declare
currfield varchar2(70) := null;
begin
currfield := :system.trigger_field;
if (get_item_property(currfield,UPDATE_ALLOWED) = 'TRUE')
and (get_item_property(currfield,UPDATE_PERMISSION) = 'TRUE') then
list_values;
else
mess(currfield || ' UPDATE not allowed');
end if;
end;(mess is my program to display alerts.) -
ADF 10.1.3 - Default value for radio button
Hi
How to set the default value for Radio button?
I have Yes and No fixed values for a radio button, and couldn't find any option to set the default value.
How can I set Yes as default value?
Appreciate your help.FrameworkSpl,
What are you using for the model layer? If you are using ADF Business Components, simply set the default value for the attribute upon which you are basing the radio buttons.
John -
How to set value for radio button in sap crm survey suite
Hi ,
I created a survey in CRM Service, in which I added a question with answer as '10 Selection Button Group ('radio button'). And answer has 11 answer options (which means 11 radio buttions). Now when we test the survey, the value for the radio buttons is appearing like 'id_0050569b03091ee480a29d8ee61e953c'. But i want to set a specific value for each radion button (from 1 to 11). So, how to set value for radio button in sap crm survey suite???.
Thanks & Regards,
SeshuHi,
I found solution myself. Click on Goto -> Editing Mode -> Expert Mode. Now you can set value for radio button.
Regards,
Seshu -
Dynamic-actions/expressions for Radio button in VC
Hi,
I would like to know whether dynamic actions for radio-buttons are possible in VC??
I have a situation where, i have to display/hide an input-field according to the radio-button that i select.
Is this possible in VC??
Because, i do not find any place where i can write expressions for a radio-button so that it can take actions accordingly.Actually its possible.
Here is the sample code for this.
tables : kna1.
parameters : chk1 radiobutton group g1 user-command abc,
chk2 radiobutton group g1.
parameters : chk3 type kunnr.
at selection-screen output.
loop at screen.
if chk1 = 'x' and screen-name = chk3.
chk3-active = '0'.
endif.
endloop.
In this way you can hide a input-field on the screen. -
Func- Code for Radio-button in Module-pool Prg.
Hi Friend's.
I have define 2 Radio button
on Module-pool screen.
I am not been able to triger the Radio button in
Pai .
How can i assign the function code for
radio-button in module-pool.
pls can any one help meHi,
For radion buttons, what ever the name you will give that name only will hold that value ( Either selected or not ). But this variable should be declared as global variable in main program.
Still if you want to assign function code, you can assign one like other fields on the screen. -
Want to create F1 Help for radio button in my report
Hi All,
I want to create F1 Help for radio button in my report program. Which function module should i call in <b>at selection screen on help-request</b>
Also do I need to define the texts somewhere or I can pass it directly to the function module.Try DYN_FIELD_F1_HELP,
~Suresh
that is only for Dic fields..
Pl take alook at this<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/34a243d9b511d1950e0000e8353423/frameset.htm">SAP Help</a>
~Suresh
Message was edited by: Suresh Datti -
Global binding for radio buttons needs tweaking
When selecting global binding for a text or numeric field, its corresponding field with the same name also changes to global binding.
However when doing this for radio button exclusion groups, the other radio button groups don't automatically change to global. You have to do it manually.Found the problem in another topic:
scott sheck - 1:30am Jun 29, 07 PST (#6 of 7)
A pasted radio button is automatically added to an existing exclusion group if the last added item was a radio button. This is in the help.
I wish there was a default to turn this off because I don't want to add a temporary item just to get a new exclusion group. -
IOS 7 feature request: Option for home button to home not folder.
IOS 7 feature request: Option for home button to home not folder. Maybe for some this workflow is good but not for me. To many clicks. At least give the option to have my home button take me to my home page. 9 times out of 10 that's where I want to go. Not back to my folder.
send your feedback here http://www.apple.com/feedback/
-
Display Yes / No instead of True or false for radio buttons in SSRS 2008R2
Hi All,
I have one report with two radio buttons as parameters. In the report display I see True / false beside the radio buttons. Is there a way where I can display it as
YES instead of True and NO for False beside radio buttons?
Thanks,
RH
sqlHi sql9,
According to your description, you want to show "Yes" and "No" in Boolean parameter instead of "True" and "False". Right?
In Reporting Services, it doesn't has any property for the text of radio button in a Boolean parameter. So we can't modify the "True" and "False" into "Yes" and "No". For your requirement, a workaround is changing the type into drop down
list and put the "Yes" and "No" into values.
Reference:
SSRS boolean
parameter Yes and NO instead of True and False in prompt area
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
RADIO BUTTON TALLY -Auto count & display ticked/selected radio buttons
Hi, feels like this should be simple & straight forward, but obviously for me.
I have a Questionnaire with say twenty YES or NO answers.
I've used grouped Radio Buttons as fields so as to pick one or the other.
I have a read only "YES Tally" text field at bottom of questionaire, formated as 'Number'.
I want the form to automatically calculate & display the number of YES answers (radio buttons) selected or ticked.
How can i achieve this?
ZB.If you have your export value for the buttons set to "1" then you only need to use the calculation option "the field is the sum of: " calculation option., or you can use the 'simplified field notation' to sum the field names. If you use and a different value for the export value,then you need to write a custom script and either test for the export value of the "Yes" button or test for the export value not be "Off".
-
Numeric Value for Radio Buttons
This should be easy for the experts:
I got a bunch of 10 exclusion groups containing 3 radio buttons each. Every radio button got a numeric value associated, meaning the user is picking a numeric value by selecting a given radio button pretty much like the tests on the magazines in which the people pick options like "single= 10 points, married=5 points, engaged=1 point)
In the bottom part of the same form I got a table of one one column and 10 raws sumarizing the 10 already mentioned above.
The aim: to place the value coming from the radio button in the specific cell of the table.... in short, I want a script that allows me to palce the value of the selected radio button somewhere else in the same form, a numeric field for example.
Thanks,Hi try67,
Thank you so much for your help. Your code has brought me one step closer, I would never have gotten even this far without it!
Initially, it was giving me and error, so I added a ")" and now it does display "Mastery", but I cannot get it to display the other two ("Acquiring" and "Practicing"), it just displays a blank space but does not give me an error. I tried to fix it on my own by searching for some help, so I found and started playing around with jsbeautifier.org and JSLint. However, since I really don't know much about coding or syntax I hope these were not harmful. So now the code looks like this:
// name for the text box field;
var cTextBox = "Firm-Wide Talent Strategy Knowledge - Totals";
// get the value of the field with the name in cTextBox;
var sTextBox = +this.getField(cTextBox).value;
if (sTextBox >= 1 && sTextBox <= 2) {
event.value = "Acquiring";
if (sTextBox >= 3 && sTextBox <= 4) {
event.value = "Practicing";
if (sTextBox >= 5 && sTextBox <= 6) {
event.value = "Mastery";
} else {
event.value = "";
Do you know what I might be missing that prevents "Acquiring" and "Practicing" from displaying?
Thank you so much again for your help,
Chris -
Hello All,
I am getting F1 help when the radio buttons are in display mode but i am not getting F1 help when the buttons are in input mode. what cud be the problem?
can anyone please help me. required urgerntly
Thanks & Regards
Amarender Reddy BHi,
use event
at selection-screen on HELP-REQUEST FOR
rb_radio
As with the addition ON VALUE-REQUEST the field psel_low_high
is either the name of a report parameter or of the form sel-LOW
or sel-HIGH, where sel is the name of a selection criterion.
When the user presses F1 on the relevant field, the subsequent
processing block is executed. You can thus implement a
self-programmed help for the input/output fields of the
selection screen. If the program contains such an event and the
user presses F1, the system processes this rather than
displaying the documentation of the Dictionary field - even if
the report parameter or the selection option with LIKE or FOR
points to a Dictionary field.
Regards
amole -
How to set a default pre-select for radio buttons?
Hi
I have some text form fields that I've set up to display some paired variables stored in a .txt file. When the swf loads, the form fields are populated with the text.
I've also set it up so that if you change the text and hit a submit button, the .txt file gets updated.
I'm now tryng to set it up so that I can store radio button selections in the .txt file too.
I've started doing it a certain way, but am wondering if there is a more straightforward way of doing ?
Here's what I've done...
I've set up the butttons to spit out "on" or "off" depending on the selection, and apply that to the variable that gets stored.
Now, in the same way I loaded the variables into the text form fields when the swf is refreshed, I want to load the on/off variable, and then somehow apply it to the radio buttons so that one of them is pre-selected.
So my questions are a) how do I take that loaded variable, and use an if statement to make it pre-select the button, and b) is there a simpler way to pre-select a button based on an external variable?
Thanks
ShaunNevermind guys - I did it using the 'rb_on.selected' command on the "on" radio button if the .txt file variable was "on", else the "off" radio button is selected.
Thanks for taking a look though!
Shaun
Maybe you are looking for
-
I need to transfer a mac iMovie video to the camera roll of my iPad, is this possible?
I have a MacBook Pro with iMovie, an iPad 3 and a PC. I took video on the iPad, created a movie on the Mac with iMovie and now I want to save that movie back to the camera roll in the iPad so I can transfer it to the PC and share it with others on P
-
Z77A-G43 - No signal from GTX 460 HAWX
Hello, I'm hoping it's just something that I'm doing wrong as this video card works fine in another motherboard. The problem is the only way I can get video is by plugging the DVI cable into the integrated graphics, it will not detect the video card
-
I just discovered yesterday that the adjustment brush in 100% saturation mode affects an image differently than using the saturation control alone: Case 1: All adjustments default, Adjustment brush, custom mode, saturation 100, everything else 0 Case
-
Registering a UK cell but my location isn't in the...
Hi hi, I'm trying to register my new UK cell to use Skype-to-go, but the drop down menu doesn't have Oxford cells (0755) on there. I'm not sure what to do. Any ideas?
-
Changes taking place in BWD Infoobjects without actually changing them.
Dear Experts We have have made certain changes ( like making them Authorization Relevent or Unit conversion ) in the Standard Infoobjects like in 0Material l, 0Plant, 0Bus_area etc. and tranported them to BWQ and BWP. Few days back I noticed that all