Prompt: Restriction on multiple values selection
Hi All,
I want to restrict number of values selection on multi value selection prompt.
How could I achive that,Please guide.
Thanks in advance.
Amruta
Amruta,
Amr is right, however, if your requirement is that the user is to select no more than two at any time, you might try this approach:
Use the prompt but the operator is "=" (equal) versus "in" and use two prompts connected with an "or". If the user only wants to select one item, then they can be told to use the same value for the first prompt and second prompt (choose "lion" first, and choose "lion" second) -- because they are connected with an "or" there is no ill effect other than an inefficient "where" clause generated.
If you are required to provide more flexibility than just two items, then you are stuck in being able to limit selections when a list is presented and you're using "in" as the operator.
Thanks,
John
Similar Messages
-
Multiple values selection implementation in VC
Hi
I am working with VC. We are trying to implement an multiple input selection.
Our first option was to use the Help value wizard but i saw in this forums that is just possible with BI systems (we are using BAPI thus R/3 system).
Now, we are trying to change de BAPI and put the input in tables. This goes well in R/3.
Howeaver when we implement in VC this BAPI and fill the input table in the screen and send a submit message those table values are not sent.
Any idea what is going on ? Is there a way to implement our requirement the multiple value selection using BAPI ?
Best regards
CarlosCarlos,
As Marcel said it can be a lot of things. It is hard say. But I can tell from my experience that when you charge a BAPI in your source system you dont grab this change in VC. You should try to save your BAPI under other name and re-import it to VC.
Do you how to debug using SE73? This should help you also to follow your BAPI behaviour and also see if VC is really executing your BAPI.
Regards,
Gilson -
Multiple value selection lists - Problem filtering
I'm builing a news application with publisher, and one of the fields is a multiple value selection list. We're filtering news stories to different pages based on the values. Problem is, I can't get the right content items to display. I did it no problem with a single selection box. The code I'm using is:
<pcs:foreach expr="folderByPath(folder, '../../Articles')" var="articles">
<pcs:foreach expr="articles" var="art">
<pcs:if expr="art.testkeyword == 'choice2'">
</pcs:value>"><pcs:value expr="art.headline"></pcs:value></a><br />
</pcs:if>
</pcs:foreach>
</pcs:foreach>
So if 'choice2' is in a single select list, no problem. If it's part of a multiple select, I get nothing. I'm thinking I'm missing something really easy, like logic operators. But I couldn't find anything of help in the documentationHi,
Make use of contains function.
Syntax : contains(string1,string2) this returns true if string 1 has string 2
Usage
<pcs:if expr="contains(test,'A')">
</pcs:if>
** 'test' is the name of the multi select box
Edited by bharatkarthik at 06/22/2007 4:10 PM -
Crystal Token (Multiple Values Selection)
Hello Experts,
I am using a view for a custom report and have a problem with token i have defined. I would like to Token to display multiple value selection list so user can check the style he need.
Ex: When i use select * from OITW the token displays item code selection list but when i am using view crystal does not display selection list. Does the tokens respect Views? Please advise.Hi Praneeth
Try this
code@select T1.V1_code, T1.V1_name FROM OADM T0 CROSS JOIN View1 T1
It seems that putting a B1 table in there makes it work. The same applies to selection from UDT's
Hope this helps
Rob -
BSP: multiple values selection in select-option
Hi,
Our customer requires multiple values selection in BSP pages as he is used to in standard SAP GUI.
I found it's impossible in standard.
Could it be possible to used javascript for this ... each select-option would have its own script that would pass table with selected values as parameter to HTTP request?
thanks
JurajOf course this is possible, you have HTML in the frontend, so you can do as much as HTML allows you. If you know DHTML you can play with it and create almost every layout you want, but then you have to keep in mind that you will have to take care about everything behind, starting from conversions (input/output), formatting, validation and so on.
-
Multiple values selection in Selector Component of Xcelsius
I wanted to select Mutiple values in Selector Component?I dont want List Builder..I wanted to Select multiple values in Combo box or List box..
Is there any way?
Thanks in Advance..
MiniHi Mini,
First of all check your version of Xcelsius ( open Xcelsius -> got to Help tab ->About Xcelsius check the version) if it is 5.3.3.0 then its ok...otherwise open the below link to download the HotFix-
[https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
the functionality is offered in latest Fix Pack only. After you install the fix, you will get an additional functionality of multiple series selection in Combo Box as well as in List Box.
Add as many series as you want for multiple value selection.
Good Luck. -
Enhancing standard (single select)search help for Multiple value selection
Hi,
Standard search help for Business Partner (in cProjects) allows only single value selection for input fields. I want to make this multiple selection.
Is there a way to do it.
I used an OVS and built a similar search but its difficult to get the standard options like saving to personal value list etc in it.
It would be good if there is a way to modify the standard search help to allow multiple selection. Any ideas??
Appreciate your help,
Thanks,
Sri
Edited by: Sri on Sep 9, 2010 8:50 PM
Edited by: Sri on Sep 9, 2010 8:52 PMAs far as I know you can't make a standard ABAP dictionary search help return multiple entries - where you get this sort of functionality the searches don't use the standard Elementary search help framework (e.g. organisational structure searches)
Given that the WDA search help relies on these dictionary based searches, I'd think very much that you couldn't enhance it to return multiple. how you could even return multiple entries into a single UI element input field is also confusing to me.
I'd suggest creating a freely programmed value help, it would certainly take quite some effort to recreate those personal value lists etc, but it could be done - I don't like OVS, but that just me. -
Contents of second prompt list based on value selected in first prompt?
I need to display two prompts: "Product Family" and "Products". When the user selects a product family, I need the list of products to be filtered to the selected product family. In other words, the contents of the second prompt's list needs to be based on the value selected in the first prompt. Can this be done in Web Intelligence?
Hello Waters,
Yes, this can be done in web intelligence if you apply cascading prompts at universe level
or
Yes, the second way is use element link in report block between 2 tables one for product family and one for product list ( you don't need prompts in this case...)
Regards
Subbarao M -
Search help multiple values selection problem
Hello Friends,
I am using FM f4_if_int_table_value_request FM to display multiple values on selection screen
in AT-selection-screen on value request event.
Multiple values are getting displayed perfectly .
Then after that I am using DYNP_VALUES_UPDATE FM to return the values back to screen.
But the problem is in the select-option field . It only picks the last value selected.
I have a row:
I EQ 'last value selected from F4 help screen''.
Is there a way to update multiple rows in the select option selection screen field.
Thanks.Hi Suhas,
you may try the following:
TABLES spfli.
SELECT-OPTIONS: s_carrid FOR spfli-carrid.
SELECTION-SCREEN: PUSHBUTTON /1(20) but1 USER-COMMAND carr.
INITIALIZATION.
but1 = 'Choose CARRID(s)'.
AT SELECTION-SCREEN.
CASE sy-ucomm.
WHEN 'CARR'.
TYPES: t_return_tab TYPE ddshretval.
TYPES: BEGIN OF ty_line,
carrid TYPE spfli-carrid,
carrname TYPE scarr-carrname,
END OF ty_line.
DATA: it_list TYPE STANDARD TABLE OF ty_line,
wa_return_tab TYPE t_return_tab,
i_return_tab TYPE STANDARD TABLE OF t_return_tab,
v_repid TYPE sy-repid,
v_dynnr TYPE sy-dynnr.
v_repid = sy-repid.
v_dynnr = sy-dynnr.
SELECT carrid carrname
FROM scarr
INTO TABLE it_list.
IF sy-subrc = 0.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CARRID'
dynpprog = v_repid
dynpnr = v_dynnr
* dynprofield = 'S_CARRID-LOW'
value_org = 'S'
multiple_choice = 'X'
TABLES
value_tab = it_list
return_tab = i_return_tab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc = 0.
s_carrid-sign = 'I'.
s_carrid-option = 'EQ'.
LOOP AT i_return_tab INTO wa_return_tab.
s_carrid-low = wa_return_tab-fieldval.
APPEND s_carrid.
ENDLOOP.
READ TABLE s_carrid INDEX 1.
ENDIF.
ENDIF.
ENDCASE.
What I have done is:
- not linking the result of the F4 search to field S_CARRID-LOW
- inserting this F4 search into event AT SELECTION SCREEN. This allows to see the select-options filled when its contents are actually populated.
I hope this helps. Kind regards,
Alvaro -
Search Help and Multiple Value Selection?
Hello
Is it possible to select more than one entry in a search help popup? If so, what do I have to do in the context attribute to be able to handle multiple return values from the search help popup?
Regards,
Mathiashi matthias.....
you cannot select multiple lines in a search help. because... you are going to return to only one field... else what you can do is. have a small button which acts as a search help and pop up a window which has a table in it. so you can select multiple values.
---regards,
alex b justin -
Multiple value selection in List Box
Hi Experts,
In the selection screen of a report program, I have created a list box for countries as below:
PARAMETERS p_contry TYPE zcountry AS LISTBOX VISIBLE LENGTH 20 OBLIGATORY. " Country
While executing, I want to select multiple countries using CTRL key. is it possible if so then I can get it.
Thanks
Deep.Try with something like this:
select-options s_contry for <your table name>-<field name > NO-INTERVALS.
In the selection screen, you can see a button next to the select-option.
If you click on that, you can enter multiple values, ranges, and values to exclude or ranges to exclude.
Regards,
ravi -
Multiple value selection from a base query to jump query in Web
Hi ,
System info
SAP BW 3.5 level-9
PI_BASIS -2004_1_640 level-8
SAP_ABA -640 Level-11
SAP_BASIS-640 Level-11
We have an inventory query with Profit Center,Plant & Material as characteristic. When we run the query, for example we get 10 materials for a plant. We want to keep those materials as filter value for material & want to jump to another query. The Jump query will only execute for those selected materials.
We can able to do the above scenario in BW BEx analyzer but we are not able to do in the web. Any input to resolve the issue are welcome.
example
Query A
Profit Center Plant Material
PC12345 P542 M1
PC12345 P542 M2
PC12345 P542 M3
PC12345 P542 M4
PC12345 P542 M5
PC12345 P542 M6
PC12345 P542 M7
PC12345 P542 M8
PC12345 P542 M9
PC12345 P542 M10
Select M1 to M10 & right click "Keep filter value"
Then remove Material from the drilldown.
The query looklike this:
Query A
Material M1....M10
Profit Center Plant
PC12345 P542
Then right click on P542 "Goto" jump query B.
Query B get executed on those selected materials(M1...M10) as we have a material variable in query B which is mandatory.
In a nut we are selecting more then one value & going to another query.
Regards
Mahendrawhen u select KEEP FILTER VALUE at tat instance u can select only 1 value
HOW DID U SELECT M1 & M10 bot within one hit.
instead of using this option.... did u try restriction
wat i mean is when u know before hand that u need only m1 & m10
remove material first from the display
it will automatically reside in Free chars
right click material and hit RESTRICT
select m1 & m10
hit okey
now u will see desired result...
now try jump query...
try removing the material variable from query b , just for experiementing purpose
and then repeat above exercise...
let us know how u go with it -
Custom property renderer for multiple value selections of property metadata
Hi,
We have created custom predefined metadata properties and fetching data from SAP to display values while uploading a document from KM.Everything is working fine and values are being displayed in a dropdown.
The standard property multi-valued displays values in checkboxex but the requirement is to allow for multiple selections in dropdown using shift ot ctrl key.
We started creating our own property renderer by decompiling classes like allowedvalues_multivalued
but we could not see the property on the upload screen.
Any help is greatly appericiated.
Thanks,
Vasu.Vasu,
Try changing the property renderer setting in your custom property. There might be one which allows a multiple select box. If not, you can always create your own. The following links are helpful:
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5800
https://www.sdn.sap.com/irj/sdn/nw-cm?rid=/library/uuid/f7b176eb-0701-0010-2b84-8edb1f76771d
Andrew -
Multiple value selection in view criteria bug in 11.1.2
I've also encountered this problem in 11.1.2:
Feature Obsolete in JDev. 11.1.2?
Is there a bug number I can track for this?
Thanks,
BobBug 12419026: DOING MULTIPLE SELECTION IN ADF QUERY PANEL, OPERATOR DOES NOT EQUAL GENERATES E
-
OBIEE 10g Dashboard Prompt Multiple Values
A dashboard prompt is applied to filter on Regions, however the issue we're facing is that the region values show up multiple times (1000's). We want to show each value once and I read about 2 solutions:
1) Apply a select distinct SQL on the prompt - This does not work for us since the region is also a key field in the drill down (region consists out of states), the drill down overrules the select distinct and the prompt still shows multiple values. Any ideas?
2) Apply a cast to char on the dashboard prompt field - The values show up only once, however now the dashboard prompt does not get applied to the reports. Looking at the SQL nothing seems to come back from the database. This might have to do with the fact that the region data type in the business layer is VARCHAR with a max of 30, thoughts? I tried updating the cast to varchar(30) but that had no effect.
The cast sql is simple and looks like this:
SELECT CAST ("zzz"."Region" as char) FROM ...
Hopefully anyone can help us with this problem. Thanks!Thanks for the tips!
1. No, it does not happen when the column is the only item in a report
2a. I updated the cast to a varchar and added the distinct because that seemed easier than changing the field types in the rpd. The new SQL looks like this:
SELECT DISTINCT CAST("zzz.Region" AS varchar(10)) FROM ...
2b. Also joining to a table with extra region information (the sequence how we present the values to the customer) provided unique values:
Select "zzz.Region" FROM ... ORDER BY "zzz."Region Sequence"
With both solution we force OBIEE to execute the SQL differently so that the key field in the dimension does not throw off the numbers
Maybe you are looking for
-
How to put a JPanel in a JTable
I have been having problems with using a JPanel in each cell in a column of a JTable. I have a class "myPanel" which extends JPanel and has an overridden paint() function. In each row I want the "myPanel" to be displayed in the cell. I've read all th
-
How do i redownload Mac App store?
I accidentally deleted the app store from my MacBookPro. How do I re-download Mac App store? Please help
-
My sent emails are not being saved in the sent folder. When Mozilla indexes the sent folder, it simply deletes them from the folder.
-
Trouble setting the session state of a select item.
Hi, I have a requirement whereby I need to change the session state of a select list item in my form without the need to submit. I am using Application Express 4.1.0.00.32. I thought this would be straight forward using a dynamic action or javascript
-
Posting key X Field status group
Hello, How is it possible to define Field status group depending on Posting key. Field status group is assinged to GL account. However I can see that when I E.g. post to a customer account - when using different posting keys there are different field