WHERE using results from another querie
Hi,
Example:
<cfquery name="QUERY 1" datasource="MyDatabase">
SELECT Table1ID, A, B, C
FROM Table1
WHERE A = #Form.A#
<cfoutput query="QUERY1">#A#<br></cfoutput>
It returns:
3
4
<cfquery name="QUERY 2" datasource="MyDatabase">
SELECT Table2ID, A, Z, Y
FROM Table2
WHERE A IN (3,4)
<cfoutput query="QUERY
2">#Table2ID#</br></cfoutput>
It returns:
a
b
c
d
e
f
But if I make QUERY2 as:
<cfquery name="QUERY 2" datasource="MyDatabase">
SELECT Table2ID, A, Z, Y
FROM Table2
WHERE A IN (#QUERY1.A#)
it returns only:
a
b
c
The values a,b,c are the Table2ID's where A=3
The values d,e,f are the Table2ID'a where A=4
How can I make return all values?
Hope you understand.
Thanks
Manel
Think about what you are doing for a second. You are
selecting multiple rows of data with your first query. Then you are
using a cfloop to loop through each row returned from that first
query to perform another query that uses the value returned in the
A column. The problem is that you are executing your second query
once for each row returned by your first query, and you really
aren't saving that result anywhere, since each iteration of the
loop causes your cfselect to overwrite your previous results. You
can create a list variable and populate it with the results from
your first query, but I have to ask, unless you need the results
from your first query for something else, why don't you just join
the two tables and use on equery?
Based on what you have, something like this?
<cfquery name="QUERY 2" datasource="MyDatabase">
SELECT T2.ID, T2.A, T2.Z, T2.Y
FROM Table2 T2
INNER JOIN Table1 T1 ON T2.A = T1.A
WHERE T1.A = #Form.A#
</cfquery>
Phil
Similar Messages
-
Can we use Result from another query in Webi using Bex uery universe?
Hi,
Can we use Result from another query filter option in Webi to create a report using a Bex Query universe?
I need to create a report using two universes, one is Bex Query Universe and the other is Orcle universe. I have two queries, one is using Oracle universe; the other using Bex Query universe. I need to pass the Oracle data from the Oracle query to the Bex Query query to get the matched data from SAP Bex query.
I used Result from another query in the query filter panel for the query using Bex query universe. But I got an error saying that 'A filter contains a wrong value. you cannot run this query. (Error: WIS 00007). The data used in the filter on both sides are the same. they are char.
I have tested by using two queries from the same Bex query universe to see if the Result from another query filter option works. And I got the same error.
Has anyone run into the same issue and if this is possible and what should be the solution?
Thanks in advance!
Edited by: BO_Haiyan on Oct 6, 2010 3:47 PMIn that situation:
Create two queries : Oracle and BW query.
@ Report:
As you have to see result set from both the Dataproviders, correct? To achieve thise one must have common dimension objects to merge them at report and use Objects those are coming from both queries to use them in single Table/Report.
Unless you don't use Merge Dimensions, you don't get a chane to use both queries objects in single Table/Report. (It will give tooltip saying: You can't drop here -- Incompatable Objects)
In case, if you don't have common dimensions, change object definitions to Detail objects, for those required.
Hope it helps you.
Thank You!! -
Unicode String Issue while Using Results from Another Query
Hi All,
In a webi report i have 2 queries say Sales Out and Investment. I need to have only those chains which are in Investement in Sales Out.
So in Sales Out query i am using the option Results from another Query. The Chain values are in Unicode format.
Though in universe i have Set Parameter Unicode_String ='Yes', this does not get applied when using option Results from another Query.
Is there any solution to resolve this problem.
Thanks
Madhuraleonhardtk wrote:
I need to take values from the column of one table that meets certain critera, and create inserts into another table that includes this data.
For example...
{code}
select emp_last_name from emp where emp_first_name like 'B%';
Duncan
Fitzgerald
Johnson
Smith
{code}
I then want to insert these values into another table:
{code}
insert into My_table values (
sequence.nextval,99,99,[last_name]);
{code}
In the example above, I need it to insert a new row into My_table for where the "last_name" is each of the names from the select statement above (Duncan, Fitzgerald,Johnson,Smith).
Based on other similar forum questions it looks like I should be doing something like:
{code}
INSERT INTO MY_TABLE
(SELECT sequence.nextval,
99,
99,
(select EMP_LAST_NAME
FROM EMP
WHERE EMP_FIRST_NAME LIKE 'B%')
{code}
But this (obviously) doesn't work!
Appreciate any assistance on this!
KSL.
Hi,
Created this test data
create table plch_test (name varchar2(50));
insert into plch_test values('AKSHAY');
insert into plch_test values('RAHUL');
insert into plch_test values('APARNA');
output
1 AKSHAY
2 RAHUL
3 APARNA
created another destnation table(in your case "my table")
create table plch_test_1 (id number,name varchar2(50));
created another sequence to generate employee ids
create sequence test_seq;
Now populated the desination table
insert into plch_test_1(select test_seq.nextval,name from plch_test);
verify the destination table
select * from plch_test_1
1 AKSHAY
2 RAHUL
3 APARNA
Hope this helps
Regards,
Achyut Kotekal -
How to use Results from Another Query for SAP BW universes
Hi Everyone,
I have two SAP BI universes.In my First universe I have Sales Doc no (dimension) and Orderqty (Measure) and in my second universe I have Sales Doc no(Dimension) and BillQty (Measure).
Here in my first dataprovider I have 1200 rows of data and in second dataprovider I have 75,000 rows. The report should fetch only the BillQty details that matches to corresponding Sales doc no in first data provider.
I want to place all these fileds into a single report like as shown.
(Datarpovider1) (Datarpovider1) (Datarpovider2)
*Sales Doc No* Orderqty BillQty
Here I am able to generate single report using merge dimension but it is leading to performance issues. I want to restrict the values at query level by passing the First dataprovider Sales doc no to second Data provider Sales doc number using Results from Anothery Query feature so that It can fetch only the matching records.
I tried it but it was giving the follwing error:
A filter contains a wrong value. You cannot run this query. (Error: WIS 00007)
How Can I get rid of this error. Can we use Results from Anothery Query option for OLAP universe. Are there any limitation on it.
All this I am doing in Webi Rich Client.
Appreciate your help
Thanks &in Advance
Kiran SakaHi Kiran,
I think the filter has a wrong operand. For example, a filter with an empty constant, or a filter that deals with numeric values is defined with an alphanumeric value.Check out for this.
Regards,
Neeraj -
Issue with Results from Another Query (Error on Null value)
Hi All,
We have a WebI report using "Result from Another Query" option of BO XI R3.1. The report was running fine till recently the dimension object using result from another query had a null value. Report suddenly throwed error as the query filters are invalid.
Is there a way to make this filter optional if no data/null value is there ? Because we need those null values in report as well.
Thank you for your time.
Thanks & Regards
LNHi Vivek,
It was not directly solved but I applied alternate logic to over come the issue.
Here's what I did to overcome:
I used a sub query in place of the whole result from another query.
For Ex:
Dim1 inlist result from another query1
I made it as
Dim1 inlist (Dim0)
where Conditions.
Here Dim0 is the object which we use for Result from another query and Conditions will be the necessary filter conditions to arrive proper Dim0. Make sure proper context is formed for the sub query.
Even though it resolved my problem, It introduces an new issue. It causes increase in query run time when huge set of data is returned from sub query.
Please let me know if i haven't explained clearly.
Hi Aris_BO,
Sorry for not responding earlier. The logic would probably make more queries null & not null. Thats why I was not advised to use it.
Thanks
LN -
Is it possible to create a new Grid in the same analysis where calculated/Grand Totals columns/rows may be used?
I understand there is a feature use results from another analysis but wonder if it can be used in the same. Thanks.
AdiHi,
Say you have a report for retrieving Sales by Products for a company and showing up grand total of sales for all products too in the same report. So, how about a case where you would like to see each product's contribution to the whole sales numbers? For this, a new column could be something like
Measures.Sales*1.0/SUM(Measures.Sales)
Here Measures.Sales is the sales for each product and SUM(Measures.Sales) is nothing but the total sales ie grand total.
Hope this helps.
Thank you,
Dhar -
Query on results from another query
Post Author: Duncan1980
CA Forum: Crystal Reports
Is it possible to query on the results from another query. I have a query that produces a list of document numbers. I want to use the output from that query as the filter criteria in a another query in the same Universe.
The output from the first query can be as much as 2000, so it would be very time consuming to cut and paste these into a filter.
Both reports are built, but can not figure out how to link the first report output to the filtering criteria on the second report. I
I am using business objects XI release 2 web intelligence 11.5.3.417 enterprise.Hi Vivek,
It was not directly solved but I applied alternate logic to over come the issue.
Here's what I did to overcome:
I used a sub query in place of the whole result from another query.
For Ex:
Dim1 inlist result from another query1
I made it as
Dim1 inlist (Dim0)
where Conditions.
Here Dim0 is the object which we use for Result from another query and Conditions will be the necessary filter conditions to arrive proper Dim0. Make sure proper context is formed for the sub query.
Even though it resolved my problem, It introduces an new issue. It causes increase in query run time when huge set of data is returned from sub query.
Please let me know if i haven't explained clearly.
Hi Aris_BO,
Sorry for not responding earlier. The logic would probably make more queries null & not null. Thats why I was not advised to use it.
Thanks
LN -
Results from another Query - not available
HI,
My environment is Business Objects XI 3.1 SP2 Edge series , i have below quereis with web Intelligence Reports
1. not available the functions/options Results from another Query(Any) or Results from another Query(ALL) at Query Level.
2. not getting list of Values for pronpt until i refresh values for prompt?
Please suggest me is there any fix packs available for the same to availle that functionality.
Best Regards,
Reddeppa Knot getting list of Values for pronpt until i refresh values for prompt?
There is option called "Automatic refresh before use" for the object properties available in the universe designer.
Please check the box for the object you are using for populating the list of values and export the universe.
not available the functions/options Results from another Query(Any) or Results from another Query(ALL) at Query Level.
There is a limitation for the query on query functionality that the both the queries can-not be from the OLAP universe.
I guess the query which needs to be filtered should be built on universe from the relational data base.
Regards,
Rohit -
Combine query, result from another query on SAP BI query Universe?
Hello all,
We are using SAP BI queries as datasource for our universes. Is the combined query option disabled for webi reports written on such universes?
result from another query - is this option active for such webi reports? I see both these options greyed out so wanted to check.
One last thing what is really difference between subquery and results from another query? subquery - you can use filters from that one data provider only right? or can you use a different data provider/report in sub query?
Thanks a lot for all the replies.Hi,
in BO 3.1 Combined query and result from another query options are not available in webi report on OLAP Universes (SAP BW Universe.)
Thanks,
Amit -
OBIEE Report - filter based on the result from another analysis
Hi,
I am using OBIEE 11g,
I am trying to use a filter which is based on the result from another analysis. I have an analysis A which is as table 1, and I want to filter the respective columns of analysis B (Table B) based on analysis A to remove the duplicates for march 01, 02, and 07 , but it is not working properly. I took a max of start and end time when I created analysis A. Please let me know if I did anything wrong. thanks.
Table 1
Employee Number
Date
IN
Out
Start Time
End Time
xxxxxxx
2015-02-26
9:00
13:00
00:00:00
00:00:00
2015-02-27
12:00
18:00
00:00:00
00:00:00
2015-02-28
8:00
14:00
00:00:00
00:00:00
2015-03-01
14:00
20:00
14:00:00
20:00:00
2015-03-02
16:00
20:00
16:00:00
20:00:00
2015-03-07
14:06
20:02
14:00:00
20:00:00
2015-03-11
16:00
20:00
16:00:00
20:00:00
2015-03-14
8:00
14:00
00:00:00
00:00:00
2015-03-25
14:00
20:00
16:00:00
20:00:00
Table 2
Employee Number
Date
IN
Out
Start Time
End Time
Hours
xxxxxxx
2015-02-26
9:00
13:00
00:00:00
00:00:00
-3
2015-02-27
12:00
18:00
00:00:00
00:00:00
6
2015-02-28
8:00
14:00
00:00:00
00:00:00
6
2015-03-01
14:00
20:00
00:00:00
00:00:00
6
14:00:00
20:00:00
6
2015-03-02
16:00
20:00
00:00:00
00:00:00
4
16:00:00
20:00:00
4
2015-03-07
14:06
20:02
00:00:00
00:00:00
6
14:00:00
20:00:00
6
2015-03-11
16:00
20:00
16:00:00
20:00:00
4
2015-03-14
8:00
14:00
00:00:00
00:00:00
6
2015-03-25
14:00
20:00
16:00:00
20:00:00
4Why avg here?
What columns you want to show in the report?
for a employee for given date if he have 2 rows then you may sum up hours right?
Employee Number
Date
IN
Out
Start Time
End Time
Hours -
How to use results from first select to run from second select w/subselect?
-- I create a table with three fields: Name, Amount, and a Trans_Date.
CREATE TABLE TEST
NAME VARCHAR2(19) NULL,
AMOUNT VARCHAR2(8) NULL,
TRANS_DATE DATE NULL
-- I insert a few rows into my table:
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/01/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '20', TO_DATE('06/02/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/03/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '21', TO_DATE('06/04/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '68', TO_DATE('06/04/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/05/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '20', TO_DATE('06/06/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '43', TO_DATE('06/07/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '77', TO_DATE('06/08/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '221', TO_DATE('06/09/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '43', TO_DATE('06/10/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '73', TO_DATE('06/10/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
commit;
-- These are the current select statements I am using:
-- Last 10 days
SELECT SUM(t.AMOUNT) AMOUNT10, NULL AMOUNT5, NULL AMOUNT3
FROM test t
WHERE t.NAME = 'Bill'
AND t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
UNION ALL
-- Last 5 days
SELECT NULL AMOUNT10, SUM(t.AMOUNT) AMOUNT5, NULL AMOUNT3
FROM test t
WHERE t.NAME = 'Bill'
AND t.TRANS_DATE >= TO_DATE('06/06/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
UNION ALL
-- Last 3 days
SELECT NULL AMOUNT10, NULL AMOUNT5, SUM(t.AMOUNT) AMOUNT3
FROM test t
WHERE t.NAME = 'Bill'
AND t.TRANS_DATE >= TO_DATE('06/08/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am');
-- This is the current output:
AMOUNT10 AMOUNT5 AMOUNT3
916 NULL NULL
NULL 477 NULL
NULL NULL 414
Is there a way to combine these statements to speed up performance?
I'm thinking there should be a way to select all the rows in the last tens days, and then just from those results, run another select to get the results for the last 2, 3, or 5 days using subselects in some way. Any help is appreciated. Thanks.
I don't mind getting results in one row like this:
AMOUNT10 AMOUNT5 AMOUNT3
916 477 414Thank you for providing create table and insert scripts, along with the query so far. It makes providing an answer so much easier.
Does this help?
SQL> select sum(amount10) amount10, sum(amount5) amount5, sum(amount3) amount3
2 from
3 (
4 select
5 case when
6 t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
7 AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
8 then
9 amount
10 end amount10,
11 case when
12 t.TRANS_DATE >= TO_DATE('06/06/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
13 AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
14 then
15 amount
16 end amount5,
17 case when
18 t.TRANS_DATE >= TO_DATE('06/08/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
19 AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
20 then
21 amount
22 end amount3
23 from
24 test t
25 where
26 t.name = 'Bill'
27 AND t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
28 AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
29 );
AMOUNT10 AMOUNT5 AMOUNT3
916 477 414
SQL>Message was edited by:
3360
Durn, pipped by flakey forums and the return of v garcia. -
Using methods from another Form C#
Hello!
I'm having some trouble using methods from one Form in another one. Here's the deal:
This is a snippet from my 'main' form:
public partial class PRINCIPAL : Form
//some variables here
Form2 Config = new Form2();
Form3 Cadastro = new Form3();
public PRINCIPAL()
InitializeComponent();
//code goes on and on
//Here's the method I want to call on the other forms (Form2 and Form3)
public void salva_banco()
this.Validate();
this.projetoBindingSource.EndEdit();
this.modulosBindingSource.EndEdit();
this.funcaoBindingSource.EndEdit();
this.estadosBindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.database1DataSet);
//And here is where I show Form3
private void projetoDataGridView_CellDoubleClick_1(object sender, DataGridViewCellEventArgs e)
Cadastro.ShowDialog();
//And here is where I show Form2
private void funcaoDataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
Config.ShowDialog();
}// And the code keeps on going}
And this is a snippet from Form3:
public partial class Form3 : Form
public Form3()
InitializeComponent();
private void Form3_Load(object sender, EventArgs e)
this.projetoTableAdapter.Fill(this.database1DataSet.Projeto);
this.modulosTableAdapter.Fill(this.database1DataSet.Modulos);
private void btnOK_Click(object sender, EventArgs e)
if (projetoTextBox.Text == "")
MessageBox.Show("some text here");
else
////// HERE IS THE PLACE WHERE I WANT TO CALL THE METHOD! "salva_banco()"
I've read lots of suggestions but none satisfied my condition.
I appreciate any help.
Thanks.You need to find the instance of the PRINCIPAL form to call the method on. If you know there will always be exactly one open you can use:
var principalForm = Application.OpenForms.OfType<PRINCIPAL>().Single();
principalForm.salva_banco();
David
David http://blogs.msdn.com/b/dbrowne/ -
Accessign webservice result from another mxml file
HI,
I have an mxml application that uses the <mx:webservice
function to load a wsdl and get some values. I have tested the code
and it works fine and i can get the result and fault methods
correctly.
I would now like to call this service from another mxml file
and use access the result or fault string accordingly.
example scenario would be that when i load my main page, i
would like the lookup values obtained from using the webservice to
be available.
i tried the following but didnt get any luck. Here lookup is
the mxml file which contains the webservice, which i am importing
in this file. GetLookValuesWithAuth is the operation name.
var l:lookup=new lookup;
var s:AsyncToken=l.es.GetLookupValuesWithAuth.send();
s.addResponder(new mx.rpc.Responder(onSResult,onSFault));
public function onSResult(e:ResultEvent):void{
Alert.show("value is");
var xy:XMLList=XMLList(e.result);
lplist=xy.descendants("LOOKUPVALUES");
Alert.show("lookup is
"+lplist.toXMLString()+xy.toXMLString());
public function onSFault(e:FaultEvent):void
Alert.show("Fault is "+e.toString());
An example of the webservice call in lookup.mxml is shown
below
<mx:WebService id="e1" wsdl="{wsdl "
result="resultHandler(event)"
fault="mx.controls.Alert.show(event.fault.faultString.toString())>
<mx:operation name="GetLookupValuesWithAuth"
resultFormat="e4x">
<mx:request>
<databaseName>{database name}</databaseName>
<userName>{username}</userName>
<password>{password}</password>
<lookupID>05855b98-75c7-4117-a91c-db59e9ea0204</lookupID>
</mx:request>
</mx:operation>
Any suggestions?"amthekkel" <[email protected]> wrote in
message
news:g9ovt2$e63$[email protected]..
> HI,
> I have an mxml application that uses the
<mx:webservice function to load a
> wsdl and get some values. I have tested the code and it
works fine and i
> can
> get the result and fault methods correctly.
> I would now like to call this service from another mxml
file and use
> access
> the result or fault string accordingly.
> example scenario would be that when i load my main page,
i would like the
> lookup values obtained from using the webservice to be
available.
>
> i tried the following but didnt get any luck. Here
lookup is the mxml file
> which contains the webservice, which i am importing in
this file.
> GetLookValuesWithAuth is the operation name.
> {
> var l:lookup=new lookup;
> var s:AsyncToken=l.es.GetLookupValuesWithAuth.send();
> s.addResponder(new
mx.rpc.Responder(onSResult,onSFault));
> }
>
> public function onSResult(e:ResultEvent):void{
> Alert.show("value is");
> var xy:XMLList=XMLList(e.result);
> lplist=xy.descendants("LOOKUPVALUES");
> Alert.show("lookup is
"+lplist.toXMLString()+xy.toXMLString());
> }
>
> public function onSFault(e:FaultEvent):void
> {
> Alert.show("Fault is "+e.toString());
> }
>
> An example of the webservice call in lookup.mxml is
shown below
>
> <mx:WebService id="e1" wsdl="{wsdl "
result="resultHandler(event)"
I have no idea about web services, but it seems to me you
should have a
closing curly bracket in the wdsl property.
HTH;
Amy -
Sales using plan from another company code
Hello Gurus,
will you please provide some detail about customizing " inter-company sales processing", mainly about how to get plant from another company code?
thanks very much!Hi
explaining you in brief, the basic requirments for intercompany sales is,
Both the company codes should belong to the same company
The material should be existing in both the company codes
Configuration Settings :
1. The material should be extended to the Ordering company and while extending the plant and storage location should be maintained same(that of Delivering)
2. An Internal Customer should be created in the Delivering Company Code. Use the Delivering Company code and ordering sales area.
3. In the path IMG - Sales and Distribution - Billing - Intercomapny Billing -
1. Define Order types for Intercompany Billing - where you have to assign the Billing type IV to the sales Order types.
2. Assign Organisational units by plant - where you have to assign the Delivering plant to the ordering sales area
3.Define Internal Customer number by Sales Organisation - where you have to assign the Internal Customer number to the ordering sales organisation
In addition to this you have to define the plant as the Delivering Plant by maintaining the assignment of plant to Sales Organisation and Distribution Channel (of Ordering in enterprise structure)
Now you can create an order and in that you have to change the plant manually and save.
Thanks,
Ravi -
JBO-33035: Row currency has changed; Using snapshots from another DB
I receive this error due to a snapshot performing a complete refresh. It is not due to the user hitting the Back button in the browser. How can you get around this scenario. The page has been rendered, the user navigates somewhere else via some link, and the jbo-29000 and 33035 errors get thrown because of the snapshot having refreshed. It's not an option to stop using the snapshot. I have already tested setting 'Enable Token Validation' to false on the object. Still get the error. Any suggestions?
Hi,
I assume you use JavaServer Faces, correct ? In this case go to the starting page's pagedef file and opn the Structure Window
- select the "bindings" node and create an "action" that you bind to the ViewObject execute() operation (If you use EJB or POJO, crate a methd binding)
- in the "executables" section create an "invokeAction" pointing to the action created before
- under refresh conditions, add #{!adfFacesContext.postback} so the iterator is refreshed when you navigate back from another page.
This should solve the problem
Frank
Maybe you are looking for
-
Error while upgrading to 11.1.0.7 on RHEL 5 x64
Hi, I'm trying to upgrade Oracle Database 11.1.0.6 to 11.1.0.7 but the installer fails in the linking stage. Please see details below. Platform: RHEL 5.3 x64 Error details: Error in invoking target 'client_sharedlib' of makefile '/u01/oracle/database
-
How to extract table from oracle in to delimited flat files
Hi i have the following requirement.i tried one dump procedure but i could extract table one by one.i need to do extract on regular basis using plsql procedure. Data will be extracted from production tables in Oracle into pipe delimited flat files th
-
Jpd client requests with attachments
I'm currently attempting to wrap a custom control in a jpd file for the added benefits of a Java process. The problem I'm encountering is due to the fact that the control I'm using takes file content as input (I'm currently using the DataHandler type
-
Error in a formula function (routine ROUTINE_9998), record 0
Hi Experts, i have an issue while loading from cube to ODS. The load fails with the following message: Data records for package 1 selected in PSA - 1 error(s) Record 0 :Error in a formula function (routine ROUTINE_9998 ), record 0 Please help me... T
-
Did update - now my default is another wireless network?
Did the update and now whenever I re-boot, the default wireless network is someone else's in my building. How can I change this to recognize my own trusted network as a default???? Somewhat related question - Also, when someone is at my place (before