Displaying multiple values in auto-complete item
All,
iam creating multiple entries for autopopulate item as shown in this jquery plugin link below but iam trying to change this so values come from table query. how can i achieve this even using web services in apex 4.1.1 but iam trying NOT to use remote url or external file?
http://jqueryui.com/autocomplete/#multiple
regards
Hello,
I recently created an APEX 4.2 item type plugin which supports the selection of multiple entries and has autocomplete functionality built-in. The plugin is based on Select2; a popular jQuery plugin to enhance select lists. All details on the Select2 APEX plugin are available here.
Kind regards,
Nick
Similar Messages
-
Displaying Multiple XML Data on List Item List
Hi there..
Is it possible to display multiple XML Data on List Item List. I mean like the example below.
and how to programatically load image that depends on the XML data value (0=down arrow, 1=up arrow) and also how to refresh data every 1 second.
Thank you very much...Hi Ann,
Write a Forms procedure and in that open a cursor fetching all data you want to show in the list element and populate the list within the loop using Add-List-Element built-in. Call this procedure in When-New-Form-Instance trigger. Whenver form will be opened the your list element will be populated automatically.
Hope that helps you. -
Displaying Multiple Values on GUI components - best way to implement
Hi,
my program needs to implement a basic function that most commercial programs use very widely: If the program requires that a GUI component (say a JTextField) needs to display multiple values it either goes <blank> or say something more meaningfull like "multiple values". What is the best way of implementing it?
In particular:
My data is a class called "Student" that among other things has a field for the student name, like: protected String name; and the usual accessor methods (getName, setName) for it.
Assuming that the above data (i.e. Student objects) is stored in a ListModel and the user can select multiple "Students", if a JTextField is required to display the user selection (blank for multiple selections, or the student "name" for a single selection), what is the best (OO) way of implementing it? Is there any design pattern (best practice) for this basic piece of functionality? A crude way is to have the JTextField check and compare all the time the user selections one by one, but I'm sure there must be a more OO/better approach.
Any ideas much appreciated.
Kyri.Ok, I will focus on building a solution on 12c.
right now I have used a USER_DATASTORE with a procedure to glue all the field together in one document.
This works fine for the search.
I have created a dummy table on which the index is created and also has an extra field which contains the key related to all the tables.
So, I have the following tables:
dummy_search
contracts
contract_ref
person_data
nac_data
and some other tables...
the current design is:
the index is on dummy_search.
When we update contracts table a trigger will update dummy_search.
same configuration for the other tables.
Now we see locking issues when having a lot of updates on these tables as the same time.
What is you advice for this situation?
Thanks,
Edward -
Date range to be displayed & Displaying multiple values on the report
Hi,
I have date range parameters, but I also need it to be displayed it on the report. Is there any way I can display it. E.G If a parameter is created one can drag and drop it on the report if it needs to be displayed on the report, I tried to do the same for the date range parameter but it does not work.
Also If a parameter is created by selecting the option 'Allow Multiple Values', and if you drag and drop it on the report only the first value is displayed and the rest does not show. Has anyone tried this before and been successful in displaying multiple values in the report.
Thanks in advance.Hi,
A multi-value parameter is actually treated as an array in Crystal Reports.
To display the values selected in the parameter, create a formula from the Field Explorer and type this code:
Join({?ParameterName},",");
Place this formula on the header or the footer sections of the report.
Regarding the date range issue, please follow Sastry's advice and it should work fine.
Make sure you're using the parameter in the Minimum and Maximum functions. For eg: If I was to create a date range parameter called OrderDate, my formula to show the start date would look like this:
Minimum({?OrderDate})
-Abhilash -
Hello,
I have a form with 3 tab pages, in which I am able to display multiple values from the table, but I need to display multiple values for a particular employee. I tried using a loop but it didn't work, and without a loop it only shows one record for an employee.
Thanks,
NikitaHello,
I want to make an LOV for a tab page. The LOV will find an employee and display all the skills for that employee in a scroll bar . However my LOV displays only one skill for the employee eventhough the employee has three skills in the database. Is there any way to display all three skills?
Hopefully this makes it more clear.
Nitika -
Interactive Report Displaying Multiple Values (Chart)
Hi guys,
Is there a way to display multiple values into a chart report. Normally there is a combobox and you can only select one value. But i want to display multiple values into one chart and i have to use interactive report because sql report is not enough for me.
Apex product build is 4.0.2.00.07.
ThanksAny ideas ?
Thanks. -
Display multiple values for a characteristic for Equipment.
Hi is there any way to display multiple values for characteristics of an equipment. Ex. An equipment (Presss) produces multiple ROH Parts. The class VN_TOOl with charactersistic "Part Produced" . When I run IH08 and execute the query, >Show , hide classification I can only get just one part instead of multiple parts. How do I get multiple values for the characteristic
Yes Chandra,
You are not getting it in IH08, but you are getting it in IE07. See this.
IH08
IE07
If you want the report in the ALV layout, then you need to go for a development using FMs in Classification areas such as:
'BAPI_OBJCL_GETCLASSES' 'ALM_ME_CLASS_CHAR_GETDETAIL'
Jogeswara Rao K -
Since upgrading to Firefox 4 I've been unable to select search items from the google drop down box in the toolbar. Instead, I have to retype my search item completely as I also unable to select 'auto-complete' items as they appear.
Known problem with the Google Toolbar extension. <br />
http://www.google.com/support/toolbar/bin/static.py?page=known_issues.cs -
Additional Field Infoset - how to display multiple values
Hi all,
I have created an extra field in an infoset and I can succesfully retrieve the value I need (with coding), only now I loop over a selection and then the last value that is retrieved is being displayed. How can you display all values of the selection, so you get several lines in the output?
Many thanks!
NathalieI have a item list box and i have 3 enteries in it .If suppose i click on the first entry with out the action being called it displays the message but the same case is not getting happened with multiple value selection..means when i am clicking all the three fields none of the value is getting displayed. There is no action or no button created in for displaying the value which u click on.Can you tell me how to go on with this???
-
Searching a Table field with multiple values using a shuttle item
Hello All,
I have a shuttle item whhich of course users can select multiple values:
eg: Orange:Pear:Banana
Now I have a table where I want to get the Crate Numbers where these fruit items reside.
The Fruit field has multiple stored values
eg:
Crate Fruits
=== ====
12487 Apple:Orange:Pear:Banana
17653 Orange:Pear:Grapes
12874 Apple:Banana
13655 Grapes:Watermelon:Pineapple
87643 Pear:Banana
53626 Strawberries:Apple
I would like to see a final report similiar to this
Crate Fruit
=== ===
12487 Orange
12487 Pear
12487 Banana
17653 Orange
17653 Pear
12874 Banana
87643 Pear
87643 Banana
I thought maybe this needs to be done using collections but I am not familiar with this function, if their is another way I would appreciate it
Hope u can help
FrankHi Frank,
I find that in this sort of case, it is easier to create a link table containing the individual values rather than lumping them into one column.
so the data is stored in the 'Crate, Fruit' format, rather then the 'Crate Fruits' format.
It is a bit more work maintaining the link table when the values are amended and populating the shuttle, but it is a 'proper' relational table then.
Regards
Michael -
How i can assign multiple values to tabuler text item (Help)
HI
IM PROGRAMMING ONE FORM AND I PUT THERE TABULER TEXT ITEM
I WANT ASSIGN 63 VALUES TO THIS TEXT ITEM ONE BY ONE BY CODE I MEAN PUT FIRST VALUE IN THE FIRST TEXT ITEM ROW THEN SECOND TO THE SECOND TEXT ITEM AND LIKE THIS UNTIL I REACH TO THE LAST
I MAKE LOV PUT I CAN ASSIGN ONE VALUE BY ONE VALUE EACH TIME DOUBLE CLICK ON THE TEXT ITEM ASSIGN ONE VALUE THEN DOUBLE CLICK ON THE SECOND ROW PUT MY BOSS WANT ASSIGN ALL VALUES 63 FROM ONE CLICK ON BUTTONThen you will have to create a when-validate-item trigger with a cursor based on your selection of your LOV . Loop through that cursor assigning the next in the next record by using the built-in function next_record. (put you selection for you value in a hidden item for example.
something like this:
Declare
cursor c is
select returnValueFromLOV
from <yourtable>
where yourdisplay value = :hidden_tem;
begin
for r in c loop
next_record;
item := r. returnValueFromLOV;
end loop;
exception
when no_data_found
your error handling;
end;
Hope it put you on the road to reach what you want
Erwin -
Map default values in Header based on multiple values in the line item
Hi
I have a scenario in which the Header field of an IDOC should be populated with some default values based on some mixed mvt types in the line items.
eg:
Header -
> Delivery type -
> needs to be mapped to A (for X of line item 1)or B (for Y of line item 2) or C (for Z of line item 3 )
based on line items field
line item1---> mvt type---> X
line item 2-->mvt type----->Y
line item 3 -
> mvt type -
> Z
mvt types doesnt necessarily have to come in that order and even the same mvt type can repeat in multiple line items.
Can we achieve this logic in XI ?I think if you include removeContext, Sort, SplitByValue (on Value Change), CollapseContext to mvt type in all line items and then use ifelse condition to achieve your result.
I will give an example of line Item1
mvt type --->RemoveContext ->Sort>SplitByValue(on value change) --> CollapseContext
Use the above mapping to IF function and check if it is having X, Y or Z then map the appropriate value to target field.
Do the same for rest of the line items. -
Display constant values in header and items from table in ALV
Hello all,
I have to dispaly the header and Item entires in the output . and the point is header values are all constant and they are not related to item data . item data is to dispalyed from VBAP table .
so how can i achive this .. can i use this FM REUSE_ALV_HIERSEQ_LIST_DISPLAY ...
example of outpput..
Header inforamtions..
name city areacode areazone postzip
abcde xyz 1244 abc 123456
and the item details should be right below the header details
Cnt Vbeln vkorg vtweg matnr etc etc
1 xxx xx xx xxxx xxx xxxx
2 xxx xx xx xxxx xxx xxxx
3 xxx xx xx xxxx xxx xxxx
4 xxx xx xx xxxx xxx xxxx
5 xxx xx xx xxxx xxx xxxx
6 xxx xx xx xxxx xxx xxxx
I am able to dispaly the line items with the FM 'REUSE_ALV_GRID_DISPLAY' plz advice the best solution to achive this
thanks
Raj
Edited by: abaprthree on Oct 28, 2009 12:30 PMHi,
For this you will need to define header for the ALV. Here is a simple example how to do this:
First you need to write one Header form like following:
FORM f004_header USING it_head TYPE slis_t_listheader..
DATA : wa_line TYPE slis_listheader.
CLEAR wa_line.
wa_line-typ = 'H'. " H = Header, S = Selection, A = Action
wa_line-info = 'List of Sales Orders'.
APPEND wa_line TO it_head.
" Here type out all the required data one by one in work are and append it to internal table
ENDFORM. "f004_header
before calling REUSE_ALV_GRID_DISPLAY you need to call following
TO HEADER EVENT
FORM f006_top.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_header.
ENDFORM.
and for REUSE_ALV_GRID_DISPLAY call as following
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_top_of_page = 'F006_TOP'
it_fieldcat = t_fieldcatalog[]
TABLES
t_outtab = it_data.
Let me know if any other help is needed. -
How to Display "Zero Value" or "No Data" Items in a Chart
Hello All,
I need to create a chart that displays the number of jobs per hour over a 24 hour period. I can determine the hour the job was created and I have no trouble making a chart with a count of jobs per hour. The problem is that I also want to display the hours that have no jobs on the chart. I am currently converting all hour data to the text format "00:00". For example, 9:35am would display as 09:00 (as would all jobs between 9:00am and 10:00am) and this is the value that I want displayed under each bar on the chart (x axis).
Any suggestions would be much appreciated.Thanks V361,
I was hoping to avoid adding a table to the DB with each hour. I thought there might be a tricky way using arrays that I would be able to accomplish the report. I have done a test using Excel and I can get the results that I wanted, so I will now probably add the table to the DB.
Thanks for your input. -
Display multiple values in a column in ALV
I need to display plant order number from AFPO and PLAF table in reference to Goods Recepient(WEMPF) field.
now in final internal table I assign AFPO--> Plant number value to PLNUM column of ALV.
how do I add value to same column based on WEMPF common value for both table and append value to PLNUM column below value fetched from AFPO table.
code for getting value from PLAF table.
SELECT WEMPF PLNUM
FROM PLAF
INTO TABLE IST_PLAF
FOR ALL ENTRIES IN IST_AFPO
WHERE PLNNO = IST_AFPO-WEMPF
AND ......
Point is for some WEMPF field entried their will be number of entries in AFPO and PLAF table (in PLNUM column) so how I do displaying entries from both tables in single row??Hi Ankitkumar Dineshkumar Gautam,
SAP would say: "This is a consulting issue". I would say: What's your problem? Look at some samle programs.
Regards,
Clemens
Maybe you are looking for
-
ExtendTCP service times out for unknown reason
In our coherence setup, clients restart the ExtendTCP (and the corresponding NamedCaches) after logging a request timeout (see log excerpts below). However, the network itself shows no indication of errors or lags, there was no full GC on either the
-
Hi, As far as I remember there are best practices templates (AIO). I am not able to find the location to download these atl files though. Thanks, Pramod
-
Why is Easter 2013 missing from iCal
I noticed that many other days are listed on the 2013 calendar, ie: Ground Hog day St. Patricks day Presidents day Valentines day April Fools day But I don't see EASTER (March 31st) listed and wonder why not? Harold
-
Adding round image to a JButton...facing probelms
Hi everybody, I am making a Jbutton to which i have to add a round image. The problem here is that "onclick" gets triggerd not only by clicking on the round image, but also on the rectanle in which that round image is contained. Can some one plaese h
-
HT204088 How to return music from iTunes Store?
Can you return music that I bought from iTunes Store?