Result table data to be populated based on selection in the result list
Hi,
We have a parent data source "P" containing all the record types. Further we have two child data sources each having filters on exclusive record types(for ex. child1 containing record types X, Y, Z and child2 containing record types A, B).
In our page we have a result list associated with data source child1(record types X, Y, Z) and result table associated with data source child2(record types A, B). There exists common attributes among the attributes present in result list and in the result table.
Rest of the containers in the page namely search, breadcrumbs, guided navigation point to the parent data source("P") containing all the record types.
Whenever we select a value from the guided navigation using the common attributes both the result list and result table are getting filtered.
What we require is that, whenever an attribute(common attribute) is clicked in the result list, the data in the result table needs to get filtered based on the value of the attribute that is clicked.
Is this possible? If so, pl. suggest how.
Take a look at the Studio release notes for EID 2.4 http://docs.oracle.com/cd/E35976_01/studio.240/RELNOTES.txt a lot of little bugs like the one you describe have been resolved. If you haven't already done so you should upgrade to 2.4.
Similar Messages
-
Viewing the Result Table Data?
Hello,
Please let me know the steps how to see the result table data after running the Remuneration Statement or before running the Remuneration Statement.Hi,
Payroll result will be available after running the payroll in live mode.
then go to pc_payresult, or PC00_m40_clstr, eneter the personnel number for whom you want to see the result and then select the period.
Regards
Devi -
How to handle tables data in XML schema based adobe form
Hi all,
I am working on the CRM business partner creation by using Interactive adobe form with following steps:
1) Uploaded the offline Interactive adobe form to online interactive adobe form via WebDynpro ABAP;
2) Capture XML data into corresponding BAPI structures;
3) Save all the changes to database via BAPI.
The adobe form contains customer information as well as several table views which are bind with the context created in WebDynpro: Node NEW_BP_NODE cardinality 1:1 with single attributes and table type attributes (1:n): COLOUR_COMP, MEN_COMP etc.
While converting the xml format data to SAP context format, It is fine to use following routine to find the single attribute and map to the BAPI structure to do the database update.
NODE = DOCUMENT->FIND_FROM_NAME( NAME = 'XYZu2019).
XYZ = NODE->GET_VALUE( ).
Question: how to convert the xml table data to SAP context format in WebDynpro ABAP?
The XML table data looks like below.
<?xml version="1.0" encoding="UTF-8" ?>
<NEW_BP_NODE>
<COLOUR_COMP>
<DATA>
<ZZTFLD0W2AQW />
<ZZTFLDRZ2AQX>000</ZZTFLDRZ2AQX>
<ZZTFLDVD2TQW />
<ZZTFLDQK2HQX />
<ZZTFLDEL2XQX />
<ZZTFLDTC2DQX>000</ZZTFLDTC2DQX>
<ZZTFLDOR2UQX />
</DATA>
<DATA>
<ZZTFLD0W2AQW />
<ZZTFLDRZ2AQX />
<ZZTFLDVD2TQW />
<ZZTFLDQK2HQX />
<ZZTFLDEL2XQX />
<ZZTFLDTC2DQX />
<ZZTFLDOR2UQX />
</DATA>
<DATA>
<ZZTFLD0W2AQW />
<ZZTFLDRZ2AQX />
<ZZTFLDVD2TQW />
<ZZTFLDQK2HQX />
<ZZTFLDEL2XQX />
<ZZTFLDTC2DQX />
<ZZTFLDOR2UQX />
</DATA>
</COLOUR_COMP>
<MEN_COMP>
<DATA>
<ZZTFLD4V2V7V />
<ZZTFLDYD2N7W>000</ZZTFLDYD2N7W>
<ZZTFLDX32I7W />
<ZZTFLD2D2W7W />
<ZZTFLDGD2A7W />
</DATA>
<DATA>
<ZZTFLD4V2V7V />
<ZZTFLDYD2N7W>000</ZZTFLDYD2N7W>
<ZZTFLDX32I7W />
<ZZTFLD2D2W7W />
<ZZTFLDGD2A7W />
</DATA>
</MEN_COMP>
Thanks in advance for your help.
MichelleHi,
Just follow these steps:
1. Create interactive form UI element in your view.
2. Now provide Datasource and PDFSOURCE to it in form properties.
3. Now give a template name prefix with 'Z' or 'Y'.
4. Double click on it. It will prompt for interface name.
5. Provide interface name prefixed with 'Z' or 'Y'.
6. Click on Context button in the Pop up window and provide the node you have selected as DATASOURCE.
7. Click ok and it will open the form designer.
8. In this way you can create a XML Schema based Form.
9. Activate the interface and design the form providing layout type and other details.
Hope it will help.
Regards,
Vaibhav -
Make Results Table data more narrow (Hyperion 9.3.1 IR)
We have data in a results table that looks something like this:
SurveyName Date Response1 Response2 Response3
dataA dataB dataC dataD dataE
dataA dataB dataC dataD dataE
dataA dataB dataC dataD dataEand we want to make the table more narrow so it looks something like this:
SurveyName Date Data Response
dataA dataB Response1 dataC
dataA dataB Response2 dataD
dataA dataB Response3 dataE
dataA dataB Response1 dataC
dataA dataB Response2 dataD
dataA dataB Response3 dataE
dataA dataB Response1 dataC
dataA dataB Response2 dataD
dataA dataB Response3 dataEThis seems like there should be an easy answer to this, but I'm totally drawing a blank.Create an Append Query - aka Union Query
Wayne Van Sluys
TopDown Consulting -
How to input data from labview to executable application and export the results back to labview
I have a simple function written in m file under Matlab enviornment,
function [c]=myadd2(a,b)
c=a+b;
I built it into a executable file (.exe), then I want to call it in labview and get the results.
I followed this tutorial and some other information on line:
http://digital.ni.com/public.nsf/allkb/5CF9526FF069EA8E862564C400579DBA
But I didn't see any telling me how to get the Labview array data input to the EXE file and return the results data back to another indicator in labview.
Any one have some idea?
I appreciate the help very much.
ArnoldYou probably need to include some command line arguments on your executable that would be the name of a file to get the data from. You could also include a command line argument telling that exe where to store the results.
I am not familiar with Matllab to give you advice on how specifically to do that with your exe though.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot -
Display a value based on Text value selected in the dropdown list
I am newbie in creating PDF forms.. I recently created a form patterned with Purchase Order Form sample that came along with the LiveCycle installation.. I can say I am doing good as I was able to create a functioning form with hours of triasl and errors. Now, I got stucked with my table calculations.. The first column is a dropdownlist with refreshment Items, the 2nd is the quantity column, 3rd is the unit price column and last is the amount column. After so many days and hours of trying to make the unit price display automatically after you select an item. I am not an expert in scripts or in PDFs for that matter.. Can somone please help me with my problem.. My dropdownlist is populated by script but by the object pallete in LiveCycle.
Hi thanks for the reply... I practically copied the script from the form you made, I removed the other array... But I can't make it work, been working on it since you replied on this thread. Please check my script below and find out what or where is the error.
RefreshmentOrderform.RefreshmentOrder.Header.#variables[0].Myitems - (JavaScript, client)
var Itemdesc = new Array(
"Apple",
"Grapes",
"Banana",
"Melon",
"Grapefruit"); //5
var MyUnitPrices = new Array(
"1.90",
"8.95",
"1.00",
"3.90",
"2.90"); //5
function PN_Populate(dropdownField)
for (var i=0; i < Itemdesc.length; i++)
dropdownField.addItem(Itemdesc[i]);
function PN_ReadOut(Item_Alias, Price_Alias)
for (var i = 0; i < Itemdesc.length; i++)
if (Itemdesc[i] == Item_Alias)
Price_Alias.rawValue = MyUnitPrices[i];
break; -
Javascript needed - need checkbox to check automatically based on selected item from dropdown list
I am building a fillable form. In this form, I have created items in a dropdown list. Based on the item picked from the dropdown list, I need a corresponding checkbox to be checked. I am certain there is an easy javascript to resolve my current problem. Please assist.
For example: dropdown list field (SubSupplier1) - Demolition export value 2
Rough Carpentry Labor export value 4
Rough Carpentry Material export value 3
I need the corresponding checkbox (SalesTax1) to automatically be checked when Demolition (export value 2) or Rough Carpentry Material (export value 3) is selected.
Thank you,
JenniferHi Jennifer,
This should help you do what you need. Place it in the Custom Calculation property of the dropbox and select "commit selected value immediately" in the fields options:
var drop = this.getField("SubSupplier1");
var check = this.getField("SalesTax1");
if ((drop.value == 2) || (drop.value == 3)){
check.checkThisBox(0,true);
else {
check.checkThisBox(0,false);
The code is asking if the export value of the field is either '2' or '3' and if so, check the box.
Otherwise uncheck the box.
If you don't want it to uncheck on other selections, remove the 'else' section of code. -
How to populate table of values based on selected value of dropdown list
Hi
I have an urgent requirement.
Whenever I select a value in Dropdownlist, Based on the selected value I need to display serveral values in tabular form.
I have created a dynamic LOV and created the actionListener
I have created a table by dragging the ViewObject and i have set the partialTrigger attribute value to the LOV Id.
Now My doubt is What should I return in the actionListener method
ThanksHi,
So get the value what i tried is ,bind the list item of the select one choice ,
and then i used the method something like this
UISelectItems see=getSelectItems1();
System.out.println("Selected Value"+ see.getValue());
but it returns me something like this
Selected Value[javax.faces.model.SelectItem@b20090, javax.faces.model.SelectItem@431753]
Don't know what are those ,hoe can i get the display value.Please help.
Thanks -
Getting the result ALV ready for input to be able to maintain the result
Hi guys,
i did follow and implement this program to mass maintain variables in a broadcasting setting and save the new values back.
The program allows maintenance of infoobjects or variables via the selection screen. What i want to have is just to select a or many broadcast settings. After executed i can see all infoobjects, variable names and variable values in an ALV. The values for the variables used in the broadcast settings all begin with var_value then the value of that variable.This is the value i want to change therefore i need to have all fields after var_value input ready and maintainable there.
How can i get these field editible?
The thing is that the ALV result looks like
Var_name_1 name of variable 1
Var_name_2 name of variable 2
Var_name_3 name of variable 3
... so on till all variable names are listed in rows
Then further below the all the variables get their value.
Var_value_1 value for the variable_1
Var_value_2 value for the variable_2
Var_value_3 value for the variable_3
... so on till all variables have their value.
All these rows are not editable as a result of ALV. I want the Var_names be not editable as it is now but i want the Var_value fields be editable so we can change them in the ALV result and save them back.
How can i do this approach?
Any help, idea, hints appreciated.
Thanks and kind regards,This issue is solved.
-
Need applescript to search Itunes then prompt for a selection from the results of the search.
I have included my script below:
set myPrefsFile to (choose file with prompt "Select a file to read:")
set notfound to ((path to desktop folder) as string) & "notfound.txt"
open for access notfound with write permission
open for access myPrefsFile
set AppleScript's text item delimiters to {","}
set prefsContents to read myPrefsFile using delimiter {","}
close access myPrefsFile
set x to 0
set theplaylist to "Temp"
tell application "iTunes"
make new user playlist with properties {name:"Temp-1"}
end tell
repeat number of items in prefsContents times
set x to x + 1
set track_name to item x of prefsContents
tell application "iTunes"
get view of front window
tell library playlist 1
set search_results to (search for track_name)
copy search_results to theplaylist
end tell
repeat with a_track in search_results
duplicate a_track to playlist "Temp-1"
end repeat
end tell
if search_results = {} then write track_name to file notfound
end repeat
close access file notfoundProximity will become available if you're using a index (Tools > Document Processing > Full Text Index with Catalog), which you can create with Acrobat Pro for just this single document if you place it in a folder by itself. You will also have to select "match all words" or whatever the exact wording is in the advanced seach panel.
-
Problem with OVS search result table..pls hlp
Hi friends,
I have crated an OVS search help. .and its working fine when i hit F4.
but when i hit search button.. the result table is showing more number of rows(blank), though the result has just 2 records returned.
there are many no of blank rows. i wnat to get rid of this.
i also tried to give the default no of rows in my componet (OVS), layout table.
but still its not decreasing.
can someone help me howto solve this.
NirajaHi Niraja,
When you implement event handler for OVS search, you must have seen the code that gets automatically generated when you assign OVS event to that event handler. i.e.
case ovs_callback_object->phase_indicator.
THE FIRST PHASE WHICH SET CONFIG PARAMETERS
when if_wd_ovs=>co_phase_0. "configuration phase, may be omitted
in this phase you have the possibility to define the texts,
if you do not want to use the defaults (DDIC-texts).....
and so on.......
so here inside co_phase_0 you can set the requried data by calling this method:
ovs_callback_object->set_configuration(
label_texts = lt_label_texts
column_texts = lt_column_texts
group_header = lv_group_header
window_title = lv_window_title
table_header = lv_table_header
col_count = 2
row_count = 20 ).
Here I have hard coded no. of rows to 20 you can just set it to variable which may be holding your rowcount.
I hope this will help you.
Regards,
Neha Modi -
Which result source defines the results of osssearchresults.aspx?
Hi,
I wonder Which result source defines the results of osssearchresults?
Is it based on any of the result sources defined on site or site collection settings?
Thank you,Hi allan48,
The osssearchresult.aspx result is based on the result sources defined in the Site Settings->Search Result Sources.
The by default result sources in Manage Result Sources is “Local SharePoint Result”, I have site without video items, when I change the result sources to “Local Video Result”, I have search result in my search result page ossearchresult.aspx,
please have a try on this.
The result source is a definition that specifies the following:
A search provider or source URL to get search result form.
A protocol to use to get search result.
A query transform, which can narrow results from the given search provider or URL to a specified subset.
To get better understanding about this, I would suggest you to go through the following article, Understanding result sources for search in SharePoint Server 2013:
http://technet.microsoft.com/en-us/library/dn186229.aspx
Thanks,
Qiao Wei
TechNet Community Support -
Is it possible to name the results table.
Hi, I'm new to java and have hit a brick wall devloping a GUI which access a SAPDB database.
They layout of the GUI is:
have a awt lists in card layout, which is populated with the results of a SQL query to table REGION.
However the number of results returned can be greater then 1Mill. To minimise the mem useage, i'm using the ResultSet absolute(), first() etc methods to collect and display small chunks of the data, for the different card in the gui. This works fine :)
However, the user is able to select an item from the list to perform a new query, which the results a presented in a dialog box, not dependent on the parent frame. Works :)
But, when the user (I) try to move anothe card in the parent frame I get this error:
SAP DBTech JDBC: Object is closed
com.sap.dbtech.jdbc.exceptions.ObjectIsClosedException: SAP DBTech JDBC: Object is closed
at com.sap.dbtech.jdbc.ConnectionItem.assertOpen(ConnectionItem.java:54)
at com.sap.dbtech.jdbc.ResultSetSapDB.beforeFirst(ResultSetSapDB.java:177)
at blastDb.Table.getResultSetSize(Table.java:205)
at blastDb.Table.setCursor(Table.java:227)
at ViewDatabase$RegionPanel.setRegionList(ViewDatabase.java:354)
at ViewDatabase$TabPanel.showRegionList(ViewDatabase.java:180)
at ViewDatabase$TabButtonListener.actionPerformed(ViewDatabase.java:289)
at java.awt.Button.processActionEvent(Button.java:381)
at java.awt.Button.processEvent(Button.java:350)
at java.awt.Component.dispatchEventImpl(Component.java:3526)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
After some reading I have come up with this hypothesis:
In the parent frame there is the object (class) RegionTable, which contains the ResultSet (rsR) of the sql query generated by it.
In the dialog box there is the object (class) ProteinTable which also contains the ResultsSet (rsP) of the sql query generated by it.
So when RegionTable querys the database the rsR points to the results table in the SAPDB. All good.
However when ProteinTable querys the database, rsR closes and rsP is valid ie. points to the results table in the SAPDB.
Thus after the second query RegionTable.rsR is unable to collect the results of its query. BAD :(
From what i have read, if the results table is named for the first query, the second call which results table is named something diff then rsR will not close, as the results table is not destroyed, thus rsR can read it's results after the second qury.
This problems occours when the objects share the same connection or diff connections.
As far as I'm aware i'm using JDBC 1.2 drivers and SAPDB latest build.
I know i could hold the results in a view, but that requies more coding, being able to name the results table in the SAPDB make it alot easier.
So my question is:
1. Are my assumptions correct??
2. is there a SQL statement to name the results table for a given query?
From SAPDB:
A result table name identifies a result table (see table).
Syntax
<result_table_name> ::= <identifier>
And I've got no idea what is beging impiled beyond that it is possible to name a results table. Obtained from :
http://www.sapdb.org/htmhelp/da/ed9036dfe4b903e10000009b38f889/frameset.htm
If anyone can help, that would be fantastic!!!
Cheers
fauxnI've check the code, when the dialog box is opened a new connection is made, and i still get the same error:
SAP DBTech JDBC: Object is closed
com.sap.dbtech.jdbc.exceptions.ObjectIsClosedException: SAP DBTech
JDBC: Object is closed
at com.sap.dbtech.jdbc.ConnectionItem.assertOpen(Connection
Item.java:54)
at com.sap.dbtech.jdbc.ResultSetSapDB.beforeFirst(ResultSet
SapDB.java:177)
at blastDb.Table.getResultSetSize(Table.java:205)
at blastDb.Table.setCursor(Table.java:227)
at ViewDatabase$RegionPanel.setRegionList(ViewDatabase.java
:354)
at ViewDatabase$TabPanel.showRegionList(ViewDatabase.java:1
80)
at ViewDatabase$TabButtonListener.actionPerformed(ViewDatab
ase.java:289)
at java.awt.Button.processActionEvent(Button.java:381)
at java.awt.Button.processEvent(Button.java:350)
at java.awt.Component.dispatchEventImpl(Component.java:3526
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Ev
entDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Even
tDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThr
ead.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThr
ead.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.jav
a:98)
when i ask rsR to collect the results from it's query.
Dosen't make sence, unless its they way I'm implementint the GUI???
I'll look into the JDBC driver bug.
Cheers -
How to migrate 'table' data type into oracle solution?
Say, I have following sample code in Sql Server:
Declare @v1 table(old_value int, new_value int)
insert into @v1 select old_value, new_value from aTable where....
declare cur cursor for
select new_value from @v1 where old_value=...
what should I use in oracle to convert above code? I was thinking about nested table, but it seems not very suitable here. Any better solutions out there?It's been a while since I've done any SQL Server development, but if I recall correctly, a table data type in Transact SQL is used for storing temporary result sets.
In your example, you seem to be temporaily storing the results of a query in a Transact SQL table, and then opening a cursor to iterate over the results.
In Oracle PL/SQL, there is usually no need to do this, just open a cursor:
create or replace procedure test_proc as
begin
for curs_rec in (select old_value, new_value from myTable) loop
... process each row ...
end loop;
end test_proc;
If you really want your results in an array which your code can iterate over, look into the BULK COLLECT clause of the SELECT statement:
create or replace procedure test_proc as
TYPE array_type IS TABLE of myTable%ROWTYPE INDEX BY BINARY_INTEGER;
my_array array_type;
begin
SELECT * BULK COLLECT INTO my_array FROM myTable;
for idx in my_array.FIRST..my_array.LAST loop
dbms_output.put_line(my_array(idx).col1);
end loop;
end test_proc;
Note that I have not actually compiled the above code, so there may be syntax errors :)
Also, prior to 9i you can not BULK COLLECT into a table based on a rowtype (you need to created an array for each attribute).
SQL Server also allows function which return table types. This is similar to PL/SQL pipelined table functions (available in 9i and higher - see the PL/SQL guide), which can be used to materialize rows which can be processed like any other result set.
SQL Server also has a concept of temporary tables which is totally different than Oracle's temporary tables. SQL Server developers must often resort to using temporary tables in their stored procedures; in Oracle, this is rarely necessary. -
Loading Access 2000 table data hangs
I am able to successfully create a model of my Access database but when it gets to the point of transfering the table data into my Oracle 8.1.6 database the OMWB hangs. The error log contains the following message:
EXCEPTION : LoadTableData.run() : [Microsoft][ODBC Microsoft Access Driver] You do not have the necessary permissions to use the 'C:\Projects\BMS\MARRS\CORE Files\new\CORE.mdb' object. Have your system administrator or the person who created this object establish the appropriate permissions for you.
I have tried exporting the Access tables to a new database and migrating from there with the same results. Any ideas?Post Author: Toby Legg
CA Forum: Data Connectivity and SQL
I've managed to figure this one out myself.
To link the tables without crashing CR, I have to follow the following steps.
File / New Blank Report.
In the Database Expert that pops up, select the IMAGESQL database table I want to use and the MS Access Table I want to use.
Click Finish. Clicking anything else here like the Next button or the Link button will crash CR.
Place the desired fields on the report.
Select the Database Expert and click on link. CR will then allow me to manually specify the link.
Create my selection criteria.
Save the report which will refresh the data.
This seems to work correctly every time.
Maybe you are looking for
-
Converting a binary string to a number...
Hi guys, I'm trying to convert a binary string into a decimal integer. I'm not sure if LabVIEW has a VI that does that. I haven't found one yet. Basically, say I have the string '0101'. I want to convert that to the value '5'. Or say I'm using hex, I
-
Fetching xml node nth value using Xpath
HI Experts , with reference to below question, i have one more doubt. https://social.msdn.microsoft.com/Forums/en-US/f894e5e2-8926-4604-9171-616da3f00cd7/xpath-to-fetch-value-in-flatfile-schema?forum=biztalkgeneral I used below xpath to fetch nth val
-
Not a valid Win32 application error when starting javahost
Hi, I am getting the error below. I have searched this forum and the web and found some mentions of it here and there, but no solutions (by the way I am not using MS IIS). OBI EE is installed on Windows Server 2003 Standard x64 Edition with Service P
-
When I click on 'reply' in my yahoo, it loads and loads but won't do it, eventually stops loading. If I click on a facebook link in an e-mail, the facebook page will not load. Neither will it if I manually type in facebook.com same with a few other w
-
Use of CRMD_ORDER_PA
Hi Gurus, What is the use of CRMD_ORDER_PA or CRM_1O_FRAME_PA. Thanks NM