Error on Query which is based on Infoset.
Hi SAP Gurus,
We have created the Query based on 2 ODS and one Infoobject.
ODS2 is joined to ODS1
Infoobject is joined to ODS1
both the joins are outer join...
We are getting the error when we are executing the Query
Error is " SQL error for Info providre"
When we went and checked the ODs in RSRV we found couple of SID are missing but when we saw in the table we found the SID exists against that number... even when i listed the ODS data with SID i found SID against that...
Anyone faced such problme..
Quick help is appreciable..
Thanks
Hi Sonu,
Please chk the OSS Note 558933 which explains this error.
This error can have several causes.
1. Selections were defined on an InfoObject that was connected via a left outer join.
2. An InfoObject was connected via a left outer join, and the flag 'Most recent reporting for InfoObjects' is set.
Kindly implement the support package and the solution mentioned in the OSS note.
Regards,
Mansi
Similar Messages
-
I am facing a problem in a crystal report which is based on Infoset query
Hi All,
I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1
Best Regards,
SrinivasHi,
I would first of all suggest you don't open the same question twice. this looks like a duplicate to this entry:
Best Practices v3.31 - SAP InfoSet Query connection
Did you assign the queries and the infosets to an InfoSet user group and you assign the SAP account to it as well ?
Ingo -
I am facing a problem in a crystal report which is based on Infoset query.i
Hi All,
I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1Please re-post if this is still an issue to the Business Objects Integration Kits - SAP Forum or purchase a case and have a dedicated support engineer work with you directly
-
How to restrict keyfigures in my bex query which is built of infosets?
Hi all,
How to restrict keyfigures in the query which is built of infosets?
the query display likes
cost taxamount units
1000 100 10
i want my report to be displayed like this
cost taxamount units
100 10 1.
I have used conditions by restricting using units. like
units equal to 1. but still it display like the above one.
can anyone help me on this??
thanxs
harithaHi Haritha,
Do u want to display units 10 as 1?????
If this is the requirement then u can write a new formula by using IF condition.
Khaja -
Out of memory Error while querying SQL Script based Calculation View
Hi All,
I wanted to test the performance of Graphical and SQL Script based Calculation views.
Created Graphical (CA_GRPH) and SQL Script (CA_SQL) Calculation views.
Analytic View (AN_GRPH) for both Calculation views are the same which is Graphical based (90 Attributes and 5 Measures)
In Analytic View data foundation I have a Fact table which has 1.5 Billion records and 9 Dimension Tables –collectively 500 million records (7 Attribute Views). 9 Referential joins with cardinality N:1 and 1 Referential join with cardinality N:N.
I wanted to keep (CA_GRPH) and (CA_SQL) as a base Calculation views and leverage those to create various calculation views (Will be creating different Calc views for respective Business segments)
In order to test this I have created below calc views on top of base calc views.
Graphical Based: Created (CA_GRAPH_XYZ) by having CA_GRPH in projection with 30 Calculated Columns. – This retrieves data in 13 secs
SQL Script Based: Created (CA_GRPH_ABC) by having CA_SQL in projection view with 30 calculated columns – This errors out after 1.50 mins.
Could not execute 'SELECT "COLUMN_A","COLUMN _B"," COLUMN _C"," COLUMN _D", SUM("COLUMN _REVENUE") AS ...' in 1:50.480 minutes .
SAP DBTech JDBC: [2048]: column store error: [2048] column store error: search table error: [1000002] Error executing physical plan: exception 1000002:
ltt/impl/memory.cpp:63
Out of memory ; $size$=1507711; $name$=ihm; $type$=pool; $inuse_count$=170104; $allocated_size$=219215007925
exception 1000002:
Any suggestion / help in fixing this issue will be greatly appreciated.
Regards,
AvHi Raj,
Thanks for your time, please find edited snap hot of Analytic View (AN_GRPH) below,
Calculation view(CA_SQL)
/********* Begin Procedure Script ************/
BEGIN
var_out =
SELECT
"COLUMN_1"
"COLUMN_2",
"COLUMN_84",
"COLUMN_85;",
SUM("REVN") AS "REVN",
SUM("MGN") AS "MGN",
SUM("ORD_QTY") AS "ORD_QTY",
SUM("SYS_QTY1") AS "SYS_QTY1",
SUM("SYS_QTY") AS "SYS_QTY"
FROM
"_SYS_BIC"."XYZ/AN_GRPH"
GROUP BY
"COLUMN_1"
"COLUMN_2",
"COLUMN_84",
"COLUMN_85";
END
/********* End Procedure Script ************/
Later i have built one more Calculation view(CA_GRPH_ABC) using (CA_SQL)in projection. i have 30 calculated measures in this final calc view. this final calc view is throwing above mentioned error.
Not sure if i can use SQL script based calc view in graphical based calc views?
Regards,
AV -
Error querying OLAP universe based on BEx query
Hi all,
I have a problem extracting larger (more than 80 000 rows) amounts of data through querying an OLAP universe with WebI.
The error is:
Query 1 - NAME_OF_THE_QUERY
A database error occurred. The database error text is: Error in MDDataSetBW.GetCellData. &INCLUDE INCL_INSTALLATION_ERROR. (WIS 10901)
The error occurs when I define larger scope of analysis in the query (four levels). With more modest scope (three levels or less) it's working OK. I need larger data set (more than 200 000 rows) to be populated at night through scheduling the report. We can't afford shrink the scope of analysis because it will hit the BW server during the day when it's needed by other users.
Besides this the speed of the report refresh is very slow - more than 3 minutes per just 400 rows of data. I'm still unable to identify the source of the problem with this slowdown. Executing the same query over the web through the SAP BW BEx Viewer is much much faster - just 3 seconds. Maybe the reason for this is that the BEx viewer aggregates data on the higher level of the hierarchy rather than down to transaction level (like we do by expanding the scope of analysis).
Anyway, if anyone have ideas about the error above I'll be very grateful if you share your thoughts. Thanks!
Our environment:
BO EDGE BI 3.1, standard
SAP BW 3.0
SAP Integration Kit (all transports installed)
BW user with full accessIngo,
Could you point me to an official SAP document regarding the 1 million cells limitation, which describes the exact version and patch level for SAP BW which removes this limitation? It will be very helpful for me because I have to convince the client to migrate BW from 3.0 to 7.01 if it will solve this limitation.
Thank you in advance!
Ivan
BTW I have installed SP2 + FP2.1 and now the SAP integration is not functional, but I have opened another thread for this problem. -
Variables in the query based on infoset
Dear all,
I defined a variable on an infoObject in the query designer. However, when this infoObject was used in the infoSet, the variable I defined could not be seen. So in the infoset how can I use the variable I defined in other query not based on infoset? Please advise. Thanks.
Jin MingI have the same problem:
I created an Infoset where I am using an Infoobjet that is used in a Cube.
I have defined variables on this Infoobjet but one of them cannot be used in the new Infoset even if in the new Infoset the links between infoobjets are the same as in the Cube.
Thank you for any help.
Stanislas -
Error when querying REST web services from web-based InfoPath form 2013 environment
Error when querying REST web services from web-based InfoPath form 2013 environment, we are trying to consume REST web service in InfoPath form ( SharePoint 2013 version)
http://spapp/sites/litigation/Intake/_api/web/lists/getbytitle('Email%20Profiles')/items(1)
it works in preview but does not when it is published. because of claim based authentication i m getting below error
The form cannot run specified query, the underlying connection was closed. An expected error occurred
same works in 2010 environment .. are we missing anything in 2013 servers?? please let me know how we can resolve it.. thank you
gurueveryone face this issue, nothing in event viewer, its easy to reproduce error at ur end also..
just you need to use below web service in infopath and populate some data on form load like id = 1 pull the title and try to set in form any field...the
list has one item thats all
guru -
Trying to pivot based on a dynamically created query which generates XML data
Hi there,
Hope someone can help
I'm trying to pivot row data into a pivot type result set where the records for a given employee are pivoted to a single row.
To do this, I've declared a dynamic query to retrieve the GUID values of the different training course- the actual course names are full of SQL escape characters e.g. ', (,) which I thought might mess up the dynamically generated query
I've got as far as writing
DECLARE
@employeeidsVARCHAR(10)
DECLARE
@coursesVARCHAR(max)
DECLARE
@queryVARCHAR(max)
SELECT
@courses=STUFF((SELECT
DISTINCT[TRAIN_ID]
FROM
[Megapay_IWA].[dbo].[HRS_TRAINING]
FORXMLPATH('')
),2,0,'')+']'
SET
@query=
'SELECT * FROM
( SELECT t.TRAIN_TRAINING,
EMPL_EMPLOYEE_ID
FROM
[Megapay_IWA].[dbo].[HRSTRNDONE] as tc
left join Megapay_IWA.dbo.PAYEMPL as e on tc.TRND_ONRID = e.EMPL_EMPLOYEE_id
left join [Megapay_IWA].[dbo].[HRS_TRAINING] as t on tc.TRND_TRAIN_ID =t.TRAIN_ID
) t
PIVOT (COUNT(EMPL_EMPLOYEE_ID) FOR TRAIN_ID in
+@courses+'))
AS pvt'
EXECUTE
(@query)
which generates a dynamic query along the following lines but how to I update the query to correctly read the train_id values in the xml
SELECT * FROM
( SELECT t.TRAIN_TRAINING,
EMPL_EMPLOYEE_ID
FROM
[Megapay_IWA].[dbo].[HRSTRNDONE] as tc
left join Megapay_IWA.dbo.PAYEMPL as e on tc.TRND_ONRID = e.EMPL_EMPLOYEE_id
left join [Megapay_IWA].[dbo].[HRS_TRAINING] as t on tc.TRND_TRAIN_ID =t.TRAIN_ID
) t
PIVOT (COUNT(EMPL_EMPLOYEE_ID) FOR TRAIN_ID in
<TRAIN_ID>F607BA64-BD24-4C6F-810E-001E7487FB4B</TRAIN_ID><TRAIN_ID>784EF318-628F-407E-8844-0049E3DD8F86</TRAIN_ID><TRAIN_ID>C7F3B365-7E6C-4CDF-9F0C-010207D1E493</TRAIN_ID><TRAIN_ID>7A82C4C1-5A9F-4EB0-9988-018405D3347A</TRAIN_ID><TRAIN_ID>E3FC88F5-AF5F-4D75-816A-02085190FC5C</TRAIN_ID><TRAIN_ID>BEB39D10-7887-494C-ADCC-0254A1514D06</TRAIN_ID><TRAIN_ID>6D870918-CFA1-4ADA-8427-049FF01902AC</TRAIN_ID><TRAIN_ID>61D1B40A-A9B6-4835-82C4-04FDCCAF7E6D</TRAIN_ID><TRAIN_ID>CA6D6B7-5ACA-4BE0-8A08-0EE87F77F10E</TRAIN_ID><TRAIN_ID>F86E6E93-544E-43F5-A97A-10E96834C781</TRAIN_ID><TRAIN_ID>EB898326-705F-4E70-B7BB-119B8953DFA9</TRAIN_ID><TRAIN_ID>491BFC77-0FA9-42C5-A255-11C49AA28CDD</TRAIN_ID><TRAIN_ID>C7A972FB-1E73-41FC-A4EF-12F5811C9853</TRAIN_ID><TRAIN_ID>3FD2CEE3-E85F-4624-87D7-13767D2DB391</TRAIN_ID><TRAIN_ID>F8A784C0-6E56-4769-92D2-1480BCAB2BEA</TRAIN_ID><TRAIN_ID>60D36A51-E642-40A2-A2F7-14D158B59781</TRAIN_ID><TRAIN_ID>67ED29A3-E2AD-42EC-8312-156084C0BB26</TRAIN_ID><TRAIN_ID>64B637B9-CC7D-47C8-9220-15D5FA76E65F</TRAIN_ID><TRAIN_ID>59B5D61C-4228-485D-89EE-185B74E42F3C</TRAIN_ID>
Note I'm also fine with updating the dynamic query to generate a statement that generates a normal where in constraint e.g.
PIVOT (COUNT(EMPL_EMPLOYEE_ID) FOR TRAIN_ID in
('F607BA64-BD24-4C6F-810E-001E7487FB4B','784EF318-628F-407E-8844-0049E3DD8F86')
Thanks
JohnThanks guys, that helped immensely,
For the record here is the slightly modified version [made generic to show the overall principle] that got it working for me in the end
DECLARE @ColumnList VARCHAR(MAX) = '';
DECLARE @query VARCHAR(max);
WITH Data AS (
SELECT columnname
FROM dbo.table
SELECT @ColumnList +='[' + [columnname] +'],'
FROM Data;
SET @ColumnList = STUFF(@ColumnList, 2, 0, '');
SET @ColumnList = LEFT(@ColumnList, LEN(@ColumnList) - 1)
--print @columnlist
SET @query=
'SELECT otherfields, ' +@ColumnList +' FROM
( SELECT otherfields,columnname, datefield
FROM dbo.table
) t
PIVOT (max(datefield) FOR [columnname] in (' +@ColumnList + ')
) AS pvt'
execute (@query) -
Hi experts,
I have face an error stating that "R3TRELEM3U9HDF8LLE8RUUZZK035MNT3B original object cannot be replaced" while transporting a query from One BW Dev to Other BW Dev system.
I also have ckecked this element is a reusable Variable element and also checked there is no request in target system in modifiable state in target system.
please help me out to resolve it.
Thanks in advance
JitendraHi Jit,
Pls do the following.
1. Try re collecting the BEx dependent objects including the missed variable objects in new request.
2. While grouping the objects consider only necessary objects and the again re check whether the missed objects has been checked with tick mark.
3. Make sure that this missed object has not been locked by other owner.Since this variables are re-usable component which is based on infoobject.
4. Pls check this locking in SE03 -
Error in query when adding prompts
Hello Everyone,
I have a simple query which is working just fine in query manager. Now, I need to narrow the query by adding two prompts. However, when I add a prompt, it will complain with an error saying:
Incorrect Syntax Near pch1.itemcode...
However, I am NOT using that table.. in fact, the query access an external table...
I have read note 0000730960 SAP Business One does not identify variables in long queries, but this is not the case.
I have reduced the query to just:
select
t0.airline_id as 'Airline'
from
hostostmp..flights t0
where
t0.airline_id='[%0]'
but it is still giving me the error...
Even more, if I change the query for some actual real value, it will work. For instace, t0.airline_id='MP' it will work like a charm.
I use prompts (up to 3 prompts) in many other querys with no problems...
But this one, is a really wierd one. Support insists in reducing the query, based on the note, but this is simple a shot in the dark. They have no idea.
So, any hint will certainly be apprecieted.
Best regards,
LeoHi Leonardo,
I'm afraid I don't think you can use prompts on external tables. Your other queries you mention, are the prompts on SBO tables or external tables?
As you know, when a prompt is inserted in to a query, SBO generates a separate window that allows the user to enter values for any prompts. If SBO does not recognise the table as a system table then it cannot generate the prompt window and the query fails (..and you get that misleading error message).
Kind Regards,
Owen -
How to execute a Query which exceeds 32K size?
My Stored Procedure has one o/p parameter of REF CURSOR type. Based on the inputs,i'm forming the dynamic query which exceeds 32k size in length. So when i'm executing the proc it throws error.
How can i execute the procedure contains dynamic query(>32k size) and get the result set through REF CURSOR type o/p parameter?
I heared that it's possible through DBMS_SQL.PARSE() procedure. If it so, explain me in detail.
Thanks!http://htmldb.oracle.com/pls/otn/f?p=2853:4:9265445064393730839::NO::P4_QA_ID:401
-
Hello Experts
I have a query which has input variable 0I_FPER for Fiscal year period and takes interval as input.
when i try to select values i get following error. i have tried different inputs
"Characteristic Fiscal year/period has no master data for "003.2010" "
I tried creating new input variables and still get same ptoblem for TO value put in.
Please help.
Thanks in advance
Regards
SudeepHi
I am using 0FISCPER infoobject for restriction, master data table for this is T009B.
i even tried to rebuild this using tranfer global setting s option but problem still exists.
0FISCPER object has no SID table.
Moreover this report work fine using RSRT but give error at inputs when i run it over web.
I am still facing same problem
Please help
Regards
Sudeep
Edited by: Sudeep Paranjape on Dec 27, 2010 10:50 AM -
Insert and update a data block which is based on view--urgent help required
Hi experts,
I created a view(A_VIEW) which is based on a union select. I have created a data block A_VIW_BLOCK which is based on this view. I need to insert/update one of the base tablesfor A_VIEW through this data block. I also need to be able to make a query through all the fields in the view.
The questions are:
1.Can it be done at all?
2. What properties need to be set?
3. If can't be done, what the best approach to achieve this?
Thanks in advance!!
Michaelhi
try something like this.
CREATE TABLE demo_tab (
person_id NUMBER(3),
first_name VARCHAR2(20),
last_name VARCHAR2(20));
CREATE OR REPLACE VIEW upd_view AS
SELECT * FROM demo_tab;
INSERT INTO demo_tab
(person_id, first_name, last_name)
VALUES
(1, 'Daniel', 'Morgan');
INSERT INTO demo_tab
(person_id, first_name, last_name)
VALUES
(2, 'Helen', 'Lofstrom');
COMMIT;
SELECT * FROM upd_view;
UPDATE upd_view
SET person_id = person_id * 10;
SELECT * FROM upd_view;
desc user_updatable_columns
SELECT table_name, column_name, updatable, insertable, deletable
FROM user_updatable_columns
WHERE table_name IN (
SELECT view_name
FROM user_views);
SQL> create table dummy (f1 number);
Table created.
SQL> create view dummy_v
2 as
3 select f1 from dummy
4 union all
5 select f1 from dummy;
View created.
SQL> create trigger dummy_v_it
2 instead of insert
3 on dummy_v
4 for each row
5 begin
6 insert into dummy values (:NEW.f1);
7 end;
8 /
Trigger created.
SQL> insert into dummy_v values (1);
1 row created.
SQL> select * from dummy_v;
F1
1
1
SQL> select *
2 from user_updatable_columns
3 where table_name = 'DUMMY_V';
OWNER TABLE_NAME COLUMN_NAME UPD INS DEL
FORBESC DUMMY_V F1 NO NO NOforms settings.
Enforce Primary Key - No
Query Allowed - Yes
Query datasource Name - V_TSFDETAIL
Insert Allowed - Yes
Update Allowed - Yes
Delete Allowed - Yes
Locking Mode - Automatic
Key Mode - Automatic
do not forget to create synonyms.
hope this helps.
sarah -
Hi all,
I am getting the following error when accessing HR payroll quires
"Formal error in query definition ( DIM <-> from[NAV]) ?
Can any body help me ?
KKI am getting the same error. Could you pls post the solution. I am on the following level (from the error message.
BI Java Release: 7 - Patch level: 0000000011 - Description: BI Web Applications Java - Additional info: - Production mode: true
BI ABAP Release: 700 - Patch level: 0012 - Description: SAP NetWeaver BI 7.0 (SAP_BW) - Additional info: - Production mode: true
Java Virtual Machine IBM J9 VM - IBM Corporation - 2.3
Operating System AIX - ppc64 - 5.3
I searched the OSS and found a note 1001621 which said apply support package: SAP_BW_VIRTUAL_COMP - Rel 700 - Pkg name SAPK70012NVCBWTECH
But, our basis guys came back with the reply that the solution suggested in OSS note is for SAPKW70011, but our system is already on SAPKW70012. So, this note cannot be applied.
Any help would be appreciated.
Maybe you are looking for
-
Vertical scroll bar on tab page.
Hello, I have to show vertical scrollbar on my tab canvas. I have one Content canvas on which I have 1 tab canvas with 8 tab pages.(sec1,sec2,sec3 ..sec8) I have another tab canvas(kind of seb section for the above and each has 3 tab pages) like Sec1
-
How do I sort the album order in my music window in itunes 11.
I am wondering how I can sort the album order in my main music section. I have had to collect up tracks spread across several 'albums' into the 1 album they were. The name is the same. Now this album, 'The War of the Worlds', has 2 CDs. One is no
-
Need to change infopackage design to avoid overheads
Hi Gurus, In brief, every weekend the SNP data from the planning area in live cache is extracted into a PSA/Infocube in APO, Then the data from this infocube in APO is loaded into the PSA/Infocube in BW. All together this data extraction process
-
Back up and update keeps freezing!!
This is so frustrating! I tried to update my Bold 9900 this morning and it just froze at the back up. So I tried to just back up my phone first but it keeps freezing at "Backing up Smart Card Options 1 of 1 Record" and it won't carry on. What am I to
-
Best EAX Effects with SB Audigy 2 ZS and Headset?
Best EAX Effects with SB Audigy 2 ZS and Headset?Hi, I have reinstalled Windows XP SP3 lately and installed just the Audigy_SupportPack_3_8 as driver for my Audigy2 ZS. I have a Sennheiser PC50 headset. Now I can't get EAX to work. The EAX setting in