Option Required to remove one radio button in XXL_FULL_API
Hello Experts,
I want to download the data from internal table to excel sheet,
Here i am using the Function module XXL_FULL_API. It is looking good and it is having option like Pivote table also.
But, problem is at the time of execution it is giving one pop-up window with three radio buttons.
1) Excel SAP Macros
2) Table
and 3) Pivot table.
Here Excel SAP Macros option is not working for some systems and so i don't want that option in that window. Please help me how to remove one option from that Function module or Is any other way to get color ful excel sheet and Pivot table options.
Thanks in advance.
Regards,
Sandya.
XXL: "SAP macro" option is obsolete.
Refer SAP Note 526579 and apply the same.
I hope this helps.
Similar Messages
-
One radio button flag is stored as'Y' in backend
Dear All,
Good Evening
i have 5 radio buttonss,these radio buttons have one radio group,
i want to select only one radio button at a timee
before saving i select 1 radio buttonnn
no i don't want to store that record with first radio button valuee
so i select 4 th radio buttonnn
and save that recordd
that time i want to save only 4 th radio button value as 'Y'
remaining are nulll
but here both 1st and 4th radio button values are 'Y'
how to resolve this problemI did not think that it was Google, so I created a stripped-down version of the page, removing all scripts, Google and mine. The Google interface just selects a spot on the map. My script converts this to a UK Grid reference which is then fed to the form. In the stripped down version, the form is given a typical value.
The form will still will not perform as per spec, neither on my PC nor on my server.
Here is the form:
<pre><nowiki><form id="form1" name="form1" method="get" action="../cgi-bin/findPix.py">
<p><label>Grid reference <input name="gridref" id="gridref" type="text" value="TQ776887" /></label>
</p>
<p> <label>Enter maximum number of images to find:<br />
<input name="maxcount" id="maxcount1" value="1" type="radio" /> One
<input name="maxcount" id="maxcount5" value="5" checked="checked" type="radio" /> Five
<input name="maxcount" id="maxcount10" value="10" type="radio" /> Ten
<input name="maxcount" id="maxcount20" value="20" type="radio" /> Twenty
</label></p>
<p> <label>Enter the maximum distance to look from your
chosen point:<br />
<input name="maxdist" id="maxdist1" value="1" type="radio" /> One Km
<input name="maxdist" id="maxdist2" value="2" checked="checked" type="radio" /> Two Km
<input name="maxdist" id="maxdist5" value="5" type="radio" /> Five Km
<input name="maxdist" id="maxdist50" value="50" type="radio" /> Unlimited
</label></p>
<input name="button" id="button" value="Submit" type="submit" />
</form></nowiki></pre> -
How to disable when one radio button is selected
Hi Folks,
One of our requirement is as follows,
Scenario: We have two columns with radio buttons and two dropdown box for the same columns to select the values.
Requirement: When user select one radio button then the other radio button and its relevant dropdown both is disabled.
Radio Buttons:
Company
EmpNo
Dropdown Box:
Company
EmpNo
If CompName Radio button is selected then Radio Buttom and Dropdown Box for Policy Id is disabled.
Finally, The filter is applied on CompName to populate the values in dropdown
Thanks Guys,
KKlook for a function like setActive or setDisable
-
Select one radio button at a time
Hi all,
my webdynpro table contains 3 rows. each row contains one radio button. at a time i should select only one radio button and bydefault the first one should be select.
Thanks,
SagarikaHi,
when the view will load, bydefault radio button of first row of webdynrpo table should check. in this part i am facing problem.
in my onaction-method i wrote the down code for 'deselect radio button if i will select other one'.my node is 'paticipants'.
" Uncheck other Radio button if selected
DATA: lo_nd_participants TYPE REF TO if_wd_context_node,
lo_changed_elem TYPE REF TO if_wd_context_element,
lo_elem TYPE REF TO if_wd_context_element,
lt_elem_set TYPE wdr_context_element_set,
ls_chgd_participant TYPE LINE OF wd_this->elements_participants,
ls_participant TYPE LINE OF wd_this->elements_participants.
FIELD-SYMBOLS:
<fs_participant> TYPE LINE OF wd_this->elements_participants.
" Get the changed context row
CALL METHOD wdevent->get_context_element
EXPORTING
name = 'CONTEXT_ELEMENT'
RECEIVING
value = lo_changed_elem.
" Get static attributes
CALL METHOD lo_changed_elem->get_static_attributes
IMPORTING
static_attributes = ls_chgd_participant.
" Navigate from <CONTEXT> to <PARTICIPANTS> via lead selection
lo_nd_participants = wd_context->get_child_node( name = wd_this->wdctx_participants ).
IF lo_nd_participants IS INITIAL.
RETURN.
ENDIF.
" Get all the selected elements from the context
lt_elem_set = lo_nd_participants->get_elements( ).
" Process the elements
LOOP AT lt_elem_set INTO lo_elem.
CALL METHOD lo_elem->get_static_attributes
IMPORTING
static_attributes = ls_participant.
IF ls_participant-prim_userid NE ls_chgd_participant-prim_userid.
ls_participant-admin_ind = abap_false.
lo_elem->set_static_attributes( ls_participant ).
ENDIF.
ENDLOOP. -
Short dump ( PNP LDB )More than one radio button is active
Hello Guys!!!
I am working on HR report and Im using <b>PNP LDB</b> . on output when I select Current month and select personal area single values and hit execute button . Its giving me short dump <b>More than one radio button is active </b> . Why is that any body can help me ?
Cheers
UsmanAlso check on AT SELECTION-SCREEN OUTPUT. You`re not selecting any of them too...
Checkout this code ..
I declare PNP in attributes and AT SELECTION-SCREEN OUTPUT.
PNPTIMR5 = ' '.
PNPTIMR3 = 'X'. ( Just comment it or give error message )
its giving short dump ,if I try to do the same thing you describe in your post !
Hope thisll help you
Thanks
Saquib -
Disable only one radio button in a Radiogroup using Dynamic Actions.
Hello everyone,
I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit with Application Express 4.1.1.00.23
I have a radio group which has 3 radio buttons. Now in certain situations I want only one of the radio buttons to be disabled.
I don't want to resort to Javascript for this as that would mean another piece of code that can go wrong and introduce bugs.
Is this possible using a Dynamic Action? Although DA is also JS, I feel its much easier to maintain.
Regards,
ArijitI know, you did ask for DA
Try to put this code in DA and run this code on page load
=-==========================================
var pOption = 3;
var nameArray = $('input[name=p_v01]').map(function(){
return this.getAttribute('value');
}).get();
for (i=0;i<nameArray.length;i++){
if(pOption == nameArray[i]){
$("#P2_CHECK1_"+i).attr("disabled", true);
==========================================
Plain Javascript
<script type ="text/javascript">
function disableCheckBox(pOption){
var nameArray = $('input[name=p_v01]').map(function(){
return this.getAttribute('value');
}).get();
for (i=0;i<nameArray.length;i++){
if(pOption == nameArray[i]){
$("#P2_CHECK1_"+i).attr("disabled", true);
$(document).ready(function(){
var chkOption = 3;
disableCheckBox(chkOption);
</script>
Thanks,
Ramesh P. -
Single select option in table view as radio button without design
Hi,
When I use the Content design = "Design2002" or design = "Design2003" then I get a checkbox in table view by giving the single select option. But when I do not use any design for the Content then I get a radio button in the table view.
How do I get a radio button in the table view with Content Design = "Design2002" or design = "Design2003"?
Message was edited by: Brian McKellar
Assume you are asking about design=2002 versus 2003? Updated question.Hallo Sachin,
Later this afternoon I will check your question with a colleague for an answer. We are all offsite today.
Until then, it would be good if you review your questions Tableview radio button event..
++bcm -
Help with script to only allow one radio button
i have made a simple script that checks to see if a radio
button is selected or not, if more then one is picked it turns the
hilite of the others off. The problem is i have 28 radio buttons
over 7 scenes i want to allow one button to be on from each scene
but the way my code works now is it turns off every button apart
from the last one choosen. Is there a way to do this has one
behaviour or do i need to have a altered version on each scene?There are many ways to do this - one way or the other you
need to group the buttons
1) Based on your example you could simply use the member
names for grouping - instead of just comparing the name of the
clicked member, compare whether or not char[2] of the name is the
same as the clicked member. If so, deselect.
2) You have the me parameter in your code, which suggests you
are writing a behaviour which is attached to each radio on the
stage. You could use sendAllSprites from the clicked member to tell
other members to deselect. This way it will only affect any other
radios on stage at the time and you don't need to hard code.
Something like (pseudo-code)
on mouseUp me
clickedName = sprite(me.spriteNum).member.name
sendAllSprites(#radioclicked, me, clickedName )
end
on radioclickedme, clickedName
if sprite(me.spriteNum).member.name = clickedName then
sprite(me.spriteNum).member.hilite = 1
else
sprite(me.spriteNum).member.hilite = 0
end if
end
hth
johnAq -
How to enable/disable an image button when one radio button is checked?
The checked radio needs to equated with some value , if it returns true, then the Image button for submit should be disabled.otherwise, it needs to be disabled always.please help me to pass th' this requirement.
Thanks in Advancelook for a function like setActive or setDisable
-
How to handle Event when a radio button in selection screen is clicked
Hi all,
What is the Event generated when a radio button is clicked in the selection Screen. My requirement is .If one radio button is clicked a field in selection screen should be greyed.
Here I used AT SELECTION-SCREEN OUTPUT. but this event is generated only if i press 'ENTER' after clicking the radio button in the selection screen.
Is there any other way to process this radio button event?
Thanks&Best Regards,
Vishnuhi,
try like this
TABLES : kna1,lfa1.
SELECTION-SCREEN:BEGIN OF BLOCK blk1 WITH FRAME TITLE text-002.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : rad_but1 RADIOBUTTON GROUP one DEFAULT 'X' USER-COMMAND ucom.
SELECTION-SCREEN COMMENT 3(26) text-003.
SELECT-OPTIONS : kunnr FOR kna1-kunnr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : rad_but2 RADIOBUTTON GROUP one .
SELECTION-SCREEN COMMENT 3(26) text-004.
SELECT-OPTIONS : lifnr FOR lfa1-lifnr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN:END OF BLOCK blk1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF rad_but1 = 'X'.
IF screen-name = 'KUNNR-LOW' OR screen-name = 'KUNNR-HIGH' .
screen-input = '1'.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'LIFNR-LOW' OR screen-name = 'LIFNR-HIGH'.
screen-input = '0'.
REFRESH lifnr.
MODIFY SCREEN.
ENDIF.
ENDIF.
IF rad_but2 = 'X'.
IF screen-name = 'KUNNR-LOW' OR screen-name = 'KUNNR-HIGH'.
REFRESH kunnr.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
IF screen-name = 'LIFNR-LOW' OR screen-name = 'LIFNR-HIGH'.
screen-input = '1'.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
reward if usefull.... -
Radio button in a Table -Only one row/radio button selection to be possible
Hi experts,
I have a requirement from customer to have a radio button inside a table of a WebDynpro ABAP application. For example, a table containing list of mobile numbers.
The columns has
Mobile Model, Cost, Company name, and a radio button named choice.
Only one record and hence one radio button can be chosen at a given time.
When the user clicks on the radio button choice corresponding to the row of the mobile of his choice, the row should get lead selected .
When the user chooses a different choice radio button (corresponding to another mobile) the old radio button choice should get deselected, new row and its radio button should be lead selected.
Can you give me the code how to deselect the remaining radio buttons when a user selects on one Radio buttonHi Sandeep ,
Have a look at the events of table UI element and its paramaters , Here's the link.
[Link|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/2d/390e422dfcde2ce10000000a1550b0/content.htm]
The event 'Onselect' or 'OnLeadSelect' provides 4 standard paramaters , out of which , OLD_LEAD_SELECTION/OLD_ROW_ELEMENT is one of them.
So you could use this element and set the attribute value (Which is bound to the radio button) to abap_false.
Although I am not sure as to which event ight trigger ( ON_LEAD_SELECT / ON_SELECT ).:)
Thanks,
Aditya. -
Radio button and selection screen
hi
my requirement is that if the user enters some particular combination of value in the select options and clicks a particular radio button there should be an error message displayed.
1) I am getting the error message in the form a dialog box , but it has only option of exit , and the user is thrown of the screen. my requirement is that after the error message the user must still be at the same screen so that he can enter new values.
2) the code that i have written also has one more anamoly that the displaying of error depends upon the sequence of actions .
if i enter the value in the select option first and then click the radio button then the error message is displayed which is correct.
but it doesnt work i click the radio button first and then enter the value, the program is executed and NO ERROR message is flashed.
here is what i have written
SELECTION-SCREEN BEGIN OF BLOCK blk WITH FRAME.
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: p_year for s021-spmon obligatory ,
p_kunag FOR vbrk-kunag ,
p_matnr FOR vbrp-matnr ,
p_augru FOR vbrp-augru_auft modif id a1 ,
p_vbeln FOR vbrk-vbeln .
SELECTION-SCREEN END OF BLOCK blk1.
SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
PARAMETERS: nrw RADIOBUTTON GROUP g1 user-command check,
mwd RADIOBUTTON GROUP g1 ,
rws RADIOBUTTON GROUP g1 ,
edu RADIOBUTTON GROUP g1 ,
standard RADIOBUTTON GROUP g1 default 'X' .
SELECTION-SCREEN END OF BLOCK blk2.
SELECTION-SCREEN END OF BLOCK blk.
at selection-screen output.
loop at screen.
if nrw = 'X' and p_augru-low EQ 'MWD'.
MESSAGE e000(oo) WITH '<Please Enter the correct Order Reason>'.
endif.
endloop.
START-OF-SELECTION.
CASE 'X'.
WHEN nrw.
PERFORM set_dates_nrw.
PERFORM load_data_nrw.
PERFORM get_cust_info_nrw.
PERFORM set_alv_field_cat_nrw.
PERFORM display_alv_nrw.
endcase.Hi
Change this piece of code
at selection-screen output.
loop at screen.
if nrw = 'X' and p_augru-low EQ 'MWD'.
MESSAGE e000(oo) WITH '<Please Enter the correct Order Reason>'.
endif.
endloop.
by
<b>at selection-screen.
if nrw = 'X' and p_augru-low EQ 'MWD'.
MESSAGE e000(oo) WITH '<Please Enter the correct Order Reason>'.
endif.</b>
Reward points if useful.
Regards,
Atish -
Hi ,
My requirement is to have a radio button in a table .
scenerio : i have 3 coloumns in a table as shown below
From Date To Date Select
Select coloumn is a radio button . i made that coloumn to a radio button in table not in SALV .
Now , data will be fetched from the DB for first two coloumns and where the difference of FROMDATE AND TODATE will be greater or equal to 5 only those rows should have a active radio button which can be clicked .
Other rows should have disabled radio button.
Moreover , User can select only one radio button at a time .
if it can be possible with SALV , suggest me that option as well.
Thanks.Hello,
find the steps to achieve your requirement with normal table UI element. I'm not sure whether the same will work for alv. I expect it to work
1. Create one boolean attribute in the Table Context node to indicate whether the radio button should be enabled or not (Attribute name : say RB_ENABLED). Populate the value of this attribute based on your From_Date DIF TO_DATE >= 5.
2. Create a string attribute in the table context node to indicate the value for the radio button (Attribute Name: say RB_VALUE)
Populate the Value of this attribute like for first record say FIRST and second record say SECOND. Or if you have unique Id for each row then you populate the same here.
This attribute is required to identiy which radio button is selected by the user
3. Create a context node (say RB_SELECTED) of cardinality 1..1 and an attribute of type string (say RB_SELECTED)
4. In the table ui element, create a Radio button column and bind the following
enabled property to RB_ENABLED attribute
KeyToSElect to RB_VALUE attribute
SElectedKEy to RB_SELECTED.
So at runtime whenever the user selects a radio button, the correpsonding value will be set in the RB_SELECTED attribute. example if the user selects the radio button in the first row, the value 'FIRST' will be populated in the RB_SELECTED attribute.
BR, Saravanan -
Dialog Programming: Problem with Radio Buttons in a dialog screen.
Removed - Duplicate posting.
Edited by: miniSAP on May 14, 2009 9:05 AMHi,
go to se51 screen layou and select the four radio button and right click there is a option called assigned group name..
enter the group name..
from now onwards it allows you to select only one radio button at a time..
Regards,
Prabhudas -
Hello,
I am using Livecycle Designer 7.0 to create a form. I have a scenario where I have several options on a question where they choose one radio button. The last option of the radio button has a text box accompanying it and I only want it to be able to be filled out/typed into if that particular radio button is chosen. Not to be able to be typed into if that particular radio button is not chosen as an answer to that question.
How do I do that?
Also how to I do the same for a text box to be entered into and typed into only if the accompanying checkbox is checked?
Help?This forum is for the Adobe FormsCentral (formscentral.adobe.com) which is a service that allows you to create, collect and analyze data using an online web form. You should ask Designer related form questions in the Designer forums: http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_des igner_es
I'll move your post to that forum so you don't need to retype it. They can help you out...
Randy
Maybe you are looking for
-
Why - Separate Partnerlinks for same child process
Early in our development, we noticed that we had to have separate partnerlinks for the same service if two (or more) parallel paths were concurrently invoking the service receive. Our guess was the delivery of the child Async send required separate p
-
Oracle Connection - java.lang.ClassCastException
Hi there, I am trying to connect to Oeacle database from Java application( Webdynpro from SAP). I have created a datasource in J2EE Engine, and trying to connect with ffolowing code: InitialContext ctx = new InitialContext(); DataSource ds = (DataSou
-
R/3 Screen for a custom infotype must resemble same as IT0591.
Hi Guru's, I am having a requirement to create a custom infotype same as IT0591 in r3. I searched in forum for creating the infotype in such format and i found that table control using wizard is used to update the repetetive datas. I had created a t
-
Hello, I have a 15 digit code. It's of varchar data type. Now when i try to pull it into Obiee it's dropping off the trailing zero's. Is there a way to get them. I know we can get them in the report by using html tag. But i have this in the prompt. i
-
I just started having a problem where my Logitech mouse would freeze up and then would start to move again, I then started to get a quick series of windows openning that alerted: USB over current notice The USB device is currently drawing too much po