Populating cascading listboxes without processing the query in HIR 8.3
I have 2 listboxes. First listbox populated using Group Number. Second Listbox should contain all account numbers corresponding to the Group Number selected in the first listbox, I need to do this without processing the query. I tried this way :
1. Created a query section “Query” and in that created a limit Group Number. Through this limit I am populating the first lisbox.
2. Created another query section “Query2”. In that created Group Number as first limit and Account Numbers as another listbox.
3. After selecting the Group Number from listbox1, I am passing this value to the first limit of “Query2”.
4. I am doing RefreshAvailableValues on the second limit of “Query2”. Now I am expecting the records corresponding the selected account number in the second limit of “Query2”. But I’m getting all the available values.
What is wrong in the above or any better solution is available please suggest.
Edited by: user13386590 on Jul 12, 2010 9:32 PM
Why do you want to do this without processing a query.
Each time you execute the script RefreshAvailableValues you are essentially executing a query...look at the Query log.
As for the issue in # 4 you will want to change the properties on the Data Model. From menu select
DataModel
- Data Model Options
check the Filter/Limit tab and try out different options
--- below is from 11.1.1.1 help
Data Model Options: Filters
Use the Filters tab to specify filter browse level preferences and to select global filter options.
When you use Show Values to set filters, you may sometimes need to sift through a lot of data to find the particular values you need. Filter preferences enable you to dictate the way existing filters reduce the values available through the Show Values command.
For example, you want to retrieve customer information only from selected cities in Ohio. However, the database table of customer addresses is very large. Because Interactive Reporting applies a default filter preference, once you place the initial filter on State, the Show Values set returned for City is automatically narrowed to those cities located in Ohio. This saves you from returning thousands of customers, states, and from all sales regions.
You can adjust this preference so that the initial filter selection has no effect on the potential values returned for the second filter (all cities are returned regardless of state).
Filter Options
Show Minimum Value Set—Displays only values that are applicable given all existing filters. This preference takes into account filters on all tables and related through all joins in the data model (which could be potentially a very large and long running query).
Show Values Within Topic—Displays values applicable given existing filters in the same topic. This preference does not take into account filters associated by joins in the data model.
Show All Values—Displays all values associated with an item, regardless of any established filters.
Tip:
When setting these preferences for metatopics, be sure to display the data model in Original view.
Global Filter Options (Designer only)
Show Values—Globally restricts use of the Show Values command in the Filter dialog box, which is used to retrieve values from the server.
Custom Values—Globally restricts use of the Custom Values command in the Filter dialog box, which is used to access a custom values list saved with the Interactive Reporting document file or in a flat file.
Custom SQL—Enables the user to code a filter directly using SQL.
Note:
The Topic Priority dialog box is displayed only if you first select join in the data model.
Note:
Since most data models do not have the same set of topics, you cannot save changes to the topic priority as default user preferences. (For more information on default user preferences, see Saving Data Model Options as User Preferences.)Often times if I am trying to load controls for parameter screen I will have a seperate query and results section for that purpose. Then I use the Filter/Limit on the Results section to control the cascade feature you are trying to accomplish. In your case your results would contain the distinct list of Group Number and Account Number.
Wayne
Similar Messages
-
We have some custom entries in the file 'custom.ini' that are stored in
the Sybase database.
When I start a query for these custom attributes then I get the
following error message:
"Unable to process the query. Ensure that the database connection is up.
For more information, see the error message documentation at
http://www.novell.com/documentation."
The database connection is up and running because when I start a query
of a standard attributes of ZfD then I get a result.
I get this error message just on custom entries.
I have enable the debug logs, how explaned on the documentation, but
without positive results.
Any ideas?
PetePete,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at
http://support.novell.com.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
How i can obtain explain plan without run the query
Hello,
i need to know the result of explain of a query without run the query, it's this possible?
Thanks and best regards.explain plan for <your query>;
select * from table(dbms_xplan.display);Regards,
Rob. -
Copy a Query without opening the query
Hello,
is there a transaction / program with which I can copy queries, without having to open them? Namely that they remain partially in the 3.5 format.
Thanks.Hi,
It is better through RSZC only
source infocube and target Info cube give the same name
it shows all the reports , you can select which report do you want to copy , that one you can selct and it (system ) provides some name , that one you can change as per your requiremnt .
then you can do your security things on that query by authorizatons,
Thansk & Regarsd,
sathish -
How to get the query values from the url in a servlet and pass them to jsp
ok..this is the situation...
all applications are routed through a login page...
so if we have a url like www.abc.com/appA/login?param1=A¶m2=B , the query string must be passed onto a servlet(which is invoked before the login page is displayed)..the servlet must process the query string and then should pass all those values(as hidden values) to the login jsp..then user enters username and pswd, then there should be another servlet which takes all the hidden values of jsp and also username and pswd, authenticates the user and sends the control back to that particular application along with the hidden values...
so i need help on how to parse the query string from the original url in the servlet, pass it out to jsp, and then pass it back to the servlet and back to the original application...damnn...any help would be greatly appreciated...thanksok..this is the situation...Sounds like you have a bad design on your hands.
You're going to send passwords in a GET request as clear text? Nice security there.
Why not start with basic security and work your way up?
% -
Poor Performance of the query.
Hi all,
i am using this query
select address1,address2,address3,city,place,pincode,siteid,bpcnum_0, contactname,fax,mobile,phone,website
from (select address1,address2,address3,city,place,pincode,siteid,bpcnum_0, contactname,fax,mobile,phone,website,
row_number() over (partition by contactname, address1
order by contactname, address1) as rn
from vw_sub_cl_add1 where siteid=10 and bpcnum_0 = '0063') emp where rn =1I used explain plan for the query the result is
Plan hash value: 3976107967
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Inst |IN-OUT|
| 0 | SELECT STATEMENT | | | | 0 (0)| | |
| 1 | REMOTE | | | | | INFO | R->S |
8 rows returned in 0.04 seconds but, actually the query return 10 rows.
the view "vw_sub_cl_add1" is created using database links(remote database server).
this query i am using in for loop to retrieve the records and print it one by one.
The problem is : The perfomance of the query is so poor. it takes 1.08 sec to display all the records.
what are the steps i should do to minimize the retrival time.?
Thanks in advance
bye
SrikaviSince this is query that is processed completely on the remote site, there are at least two potential issues that you should check if you don't want to use the "materialized view" approach:
1. The time it takes to transport the result set to your local database, i.e. potential network issues
2. The time it takes to process the query on the remote site
Since you're only fetching 10 rows - if I understand you correctly - the first point shouldn't be an issue in your case.
If you have suitable access to the remote site you would need to generate an execution plan of the "local" version of the query by logging directly into the remote size to find out why it takes longer than you expect. Probably it's missing some indexes if the number of rows to process should be only a few and you expect it to return more quickly.
Here are simple instructions how to generate a meaningful execution plan if you want to post it here:
Could you please post an properly formatted explain plan output using DBMS_XPLAN.DISPLAY including the "Predicate Information" section below the plan to provide more details regarding your statement. Please use the \[code\] and \[code\] tags to enhance readability of the output provided:
In SQL*Plus:
SET LINESIZE 130
EXPLAIN PLAN FOR <your statement>;
SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);Note that the package DBMS_XPLAN.DISPLAY is only available from 9i on.
In previous versions you could run the following in SQL*Plus (on the server) instead:
@?/rdbms/admin/utlxplsA different approach in SQL*Plus:
SET AUTOTRACE ON EXPLAIN
<run your statement>;will also show the execution plan.
In order to get a better understanding where your statement spends the time you might want to turn on SQL trace as described here:
[When your query takes too long|http://forums.oracle.com/forums/thread.jspa?threadID=501834]
and post the "tkprof" output here, too.
Regards,
Randolf
Oracle related stuff blog:
http://oracle-randolf.blogspot.com/
SQLTools++ for Oracle (Open source Oracle GUI for Windows):
http://www.sqltools-plusplus.org:7676/
http://sourceforge.net/projects/sqlt-pp/ -
"GO" button without process can show the result?
hi,
I am a fresh APEX user. I am reading and practicing the "Application Express Advanced Tutorials"
I am reading "3 How to Create a Parameterized Report" (http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10497/rprt_query.htm#BGBEEBJA) and I have a question here.
I don't understand why I create the "GO" button in the "Search" region and I do not need to add any process, the result table in the "Query" region will be shown when the button is clicked.
Please help, thanks a lot.
cheers,
ypcThe Go button submits the page and that saves the search criteria into the search item. The page then branches back to itself and the report region runs using the value of the search item.
Scott -
How can I move my iPhoto Library from one Mac to another without losing the comments on the individual photos in the process? The source Macbook (OS 10.4.11 and iPhoto 6.0.6 (3.2.2.)) is with my husband in Germany, the target MacBook Pro (OS 10.8.5, iPhoto 11) is with me in Japan. Thanks for your help.
I copied the iPhoto Library to a CD and from there to the new MacBook
If you copied the library to the CD via the Finder it would be no different than the methods Terence suggested. If you used the Share ➙ Burn menu option from inside iDVD you'll get a mini library that has to be accessed from the open library and the events/alubums copied into the destination library. Not the same as the other methods.
The Share ➙ Burn method is no longer supported with iPhoto 9 and later.
OT -
Use HCM processes and Forms without using the Enterprise Portal
is it possible to leverage existing HR Admin Services (HCM processes and Forms) functionality without using the Enterprise Portal?
1) Create an Adobe form and Interface using SFP
2) Set up ISR and Form Scenario
3) Set up Forms configuration to use existing Backend and generic Services
4) Set up workflow to updated Backend using Services
is it possible to do the above steps and not use the Portal? If Yes, how do we present the forms to the Manager, and provide different buttons that appears on the Portal by default?
Any ideas will be greatly appreciated.
Thanks,
SaurabhHi Saurabh,
your assumptions and findings (items can not be started from the backend workflow inbox etc.) are correct: These processes can not be started without the Portal and it is not intended to do this.
The above mentioned backend report are only forseen for implementation and testing purposes and not for productive use.
In addition to the fact, that you already can't execute the work items a lot of other features of the framework (Process Browser etc.) are only available through the Portal.
Best Regards
Michael Bonrat - Solution Manager HCM Processes and Forms
Info about HCM Processes and Forms:
www.service.sap.com/erp:
- SAP ERP Human Capital Management -> Workforce Process Management -> HCM Processes and Forms -
BW Analysis Process - Extended Settings in the Query
Hello,
I am trying to find out more about the effect of different parameter settings in an APD. Against a query, properties, there is extended settings, with a number of parameters, Partitioning Characteristic, Package Size and Server Group.
When running the query in parallel as part of a process chain, I am finding that the process starts off lots of work processes, and as a result there are a lot of memory problems that are occurring. I think what is needed is for the query to run fewer work processes at any given time, and to keep the size of those work processes down as well.
Is there a clear write up anywhere on how to achieve this?
Thanks.Cote,
it is a while ago now, and I don't have access to a BW 7 system anymore, but I did figure out what needed to be done in the end.
There is a transaction called RZ12. Here you can define server groups, and also restrict how much resource that they take.
In the APD you define which server group you want to use when running process in parallel.
I think I would advise experimenting with this in a test environment, and find out which settings restrict the number of processes that the APD starts up to the optimum level. -
RPM - How to re-process prices without using the front end.
Hi all,
There is a way of re-processing prices without using the front end? For instance, using the front end, a new clearance is created state in rpm_clearance ‘pricechange.State.conflictCheckforApproved’ and changed for ‘pricechange.State.worksheet’ after the conflict check.
Now, I want to re-process the same clearance without using the front end. I’ve tried to change again the STATE to ‘pricechange.State.conflictCheckforApproved’ but no success. Any suggestions?
Thanks in advance.
RegardsCan you please attach your VI?
Prashanth N
National Instruments -
Compiling a package without disturbing the load process
Hi,
I need to compile a package, with the changes, in the database without stopping the load process that is using this package. Please let me know if any one has any ideas.
Thankssdk11 wrote:
Hi,
I need to compile a package, with the changes, in the database without stopping the load process that is using this package. Please let me know if any one has any ideas.
ThanksIf you mean: "I need to create or replace a package", while some session is still running code of that package.
Then sorry: nocando.
Unless you are on 11.2, in which case you could (with the necessary preparation/configuration done first) create a new version of the package in another edition than the session is using. But the session will have to finish its work using the package as-is currently. -
How to send the idoc to 12 status, without processing with RSEOUT00 and RBD
Hi All,
How can I change the status of IDoc to 12 without processing with the programs RSEOUT00 and RBDMOIND programs, only with using the partner profiles. Help needed ASAP.
Thanks,
sreenivas.Then you need to use fm
call function 'MASTER_IDOC_DISTRIBUTE'
exporting
master_idoc_control = wa_edidc
tables
communication_idoc_control = i_edidc
master_idoc_data = i_edidd
exceptions
error_in_idoc_control = 1
error_writing_idoc_status = 2
error_in_idoc_data = 3
sending_logical_system_unknown = 4
others = 5.
then you want to change status
try to submit the above said program
a® -
I want single update query without use the function.
I want to update sells_table selling_code field with max date product_code from product table.
In product table there is multiple product_code date wise.
I have been done it with below quey with the use of function but can we do it in only one update query
without use the function.
UPDATE sells_table
SET selling_code = MAXDATEPRODUCT(ctd_vpk_product_code)
WHERE NVL(update_product_flag,0) = 0 ;
CREATE OR REPLACE FUNCTION HVL.maxdateproduct (p_product IN VARCHAR2) RETURN NUMBER
IS
max_date_product VARCHAR2 (100);
BEGIN
BEGIN
SELECT NVL (TRIM (product_code), 0)
INTO max_date_product
FROM (SELECT product_code, xref_end_dt
FROM product
WHERE TO_NUMBER (p_product) = pr.item_id
ORDER BY xref_end_dt DESC)
WHERE ROWNUM = 1; -- It will return only one row - max date product code
EXCEPTION
WHEN OTHERS
THEN
RETURN 0;
END;
RETURN max_date_product;
END maxdateproduct;
Thanks in Advance.Hi,
Something like this.
update setlls_table st
set selling_code =(select nvl(trim(product_code)) from
(select product_code
, rank() over (partition by item_id order by xref_end_dt DESC) rn
from product
) pr
where rn =1
and pr.item_id = st.ctd_vpk_product_code
) where NVL(update_product_flag,0) = 0 ;As such not tested due to lack of input sample.
Regards
Anurag Tibrewal. -
Using the client result cache without the query result cache
I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
This is done using a result_cache hint in the query.
select /*+ result_cache */ * from table
As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
Thanks.e3a934c9-c4c2-4c80-b032-d61d415efd4f wrote:
I have constructed a client in C# using ODP.NET to connect to an Oracle database and want to perform client result caching for some of my queries.
This is done using a result_cache hint in the query.
select /*+ result_cache */ * from table
As far as I can tell query result caching on the server is done using the same hint, so I was wondering if there was any way to differentiate between the two? I want the query results to be cached on the client, but not on the server.
The only way I have found to do this is to disable all caching on the server, but I don't want to do this as I want to use the server cache for PL/SQL function results.
Thanks.
You haven't provided ANY information about how you configured the result cache. Different parameters are used for configuring the client versus the server result cache so you need to post what, if anything, you configured.
Post the code you executed when you set the 'client_result_cache_lag' and 'client_result_cache_size' parameters so we can see what values you used. Also post the results of querying those parameters after you set them that show that they really are set.
You also need to post your app code that shows that you are using the OCI statements are used when you want to use client side result cacheing.
See the OCI dev guide
http://docs.oracle.com/cd/B28359_01/appdev.111/b28395/oci10new.htm#sthref1491
Statement Caching in OCI
Statement caching refers to the feature that provides and manages a cache of statements for each session. In the server, it means that cursors are ready to be used without the need to parse the statement again. Statement caching can be used with connection pooling and with session pooling, and will improve performance and scalability. It can be used without session pooling as well. The OCI calls that implement statement caching are:
OCIStmtPrepare2()
OCIStmtRelease()
Maybe you are looking for
-
How to connect 22" Apple Cinema Display with ADC to Mini DisplayPort?
What are my chances to connect a 22" Apple Cinema Display with ADC connection to my new MacBook Pro with its Mini DisplayPort? Is there a combo possible of some adapter with some cable for instance?
-
How do I upgrade from OS 10.4.11 to 10.6.8?
I recently reset my imac 2 GHz Intel Core Duo to factory settings to completely erase the hard drive and start over. In doing so, I also deleted the OS 10.6.8 operating system that I had upgraded to. I had purchased the upgrade from the app store a
-
Best practice for moving from a G5 to a new Mac with SL
I am receiving my new iMac today (27") and am very excited However I want to move over using the best practices to assure that I remain excited and not frustrated My initial thoughts are to boot it up and doe the initial set up - to move my iPhoto li
-
Problem connecting a webservice to a mysql database
Hi, I am trying to connect a webservice to a mysql database. I am using sun application server 8.1 and Mysql 4.1. I have been using the application servers examples to achieve my goals thus far. I have made the following progress. - I have got a simp
-
SAP NetWeaver and SAP ERP Central Component 6.0 installed or not,how to fin
Hello Friends, I would like to know that in my system whether <b> SAP NetWeaver and SAP ERP Central Component 6.0</b> Installed or not?How to check whether these are installed or not? and where can i Find in the system? Regards Preethi