Reports with custom SQL
Hi all,
is there a way to find out which Webi reports are running custom SQL?
Basically we want to find this out without opening each report in edit mode.
Thanks.
Hi George,
I encounter this issue OFTEN because I add custom SQL in many queries. The problem for me, as you may have encountered yourself, is when I go in and do a minor tweak a query by adding a field, the custom SQL is flushed away.
Since WebI doesn't show this important information on the Document List, I have made it a habit to add a note to the document properties. (Right click on the document title and select Properties.) The properties will appear directly beneath the title on the Document List.
My Document List looks like this:
That's the solution I came up with. It reminds me that if I open a document to modify it in any way, I need to be careful not to lose my custom SQL code.
Good luck,
Marvin
Similar Messages
-
XML Publisher Report with PL/SQL
Hi
Like to know how to develop the XML Publisher Report with PL/SQL, i did the following
1. created a pkg like as below
CREATE OR REPLACE PACKAGE BODY APPS.TEST_XMLTAG_PKG AS
PROCEDURE main (errbuf OUT VARCHAR2,
retcode OUT NUMBER
) IS
BEGIN
DECLARE
ctx DBMS_XMLGEN.ctxHandle;
xml CLOB;
BEGIN
ctx := dbms_xmlgen.newcontext('select * from scott.emp');
dbms_xmlgen.setrowtag(ctx, 'MY-ROW-START-HERE');
xml := dbms_xmlgen.getxml(ctx);
dbms_output.put_line(xml);
Fnd_file.put_line (fnd_file.LOG, XML);
END;
END;
END TEST_XMLTAG_PKG;
this pkg produces the output with xml tag in the view log.
I have registered the conc program & xml rtf but it does not produce the output in PDF, , I am not able to get the xml tag when i click the Diagnostics --> View XML.
can you please let me know the next steps involved.
Regards
YramI think the problem is because there is no begin and end tag. save the xml from the logfile and open with xml editor or IE.. then you will see the problem.
add Begin and end tag...then you should be fine.. i.e
fnd_file.put_line(fnd_file.output,'<EMP_DATA>'); -- begin Tag
tx := dbms_xmlgen.newcontext('select * from scott.emp');
dbms_xmlgen.setrowtag(ctx, 'MY-ROW-START-HERE');
xml := dbms_xmlgen.getxml(ctx);
dbms_output.put_line(xml);
Fnd_file.put_line (fnd_file.LOG, XML);
fnd_file.put_line(fnd_file.output,'</EMP_DATA>'); -- End Tag
Hope this helps..>Good Luck
Ravi -
Interactive Report with PL/SQL Function Source
Is it possible to create interactive report with PL/SQL function source returing a query? If not, has anyone done any work to simulate the interactive reporting feature for a normal report using API?
I haven't tried that before but you could:
1. create a collection from your result set returned by a dynamic query,
2. create a view on that collection,
3. use the view in your interactive report.
The usability of this proposal depends from a question how "dynamic" your query is - does it always have the same number of columns or not.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Create a report with PL/SQL
Hi,
I have two pages: the first page contains two text fields and a submit button. In the first text field you can enter a name and in the second field you can enter a number. That means you can search a record by name or by number.
In the second page the report is generated depending on the used text field of the first page.
I tried to to define a region source code with PL/SQL for the report, but nothing appears on the report page although the record I was looking for exists in the database.
begin
if :ENTERNAME IS NOT NULL then
FOR item IN (select "TB_PERSON_INSTITUTION"."PI_ID" as "PI_ID",
"TB_PERSON_INSTITUTION"."PI_NAME" as "PI_NAME",
"TB_PERSON_INSTITUTION"."PI_VORNAME" as "PI_VORNAME",
from "TB_PERSON_INSTITUTION" "TB_PERSON_INSTITUTION"
where upper("TB_PERSON_INSTITUTION"."PI_NAME") like upper(:ENTERNAME||'%'))
loop
DBMS_OUTPUT.PUT_LINE('First name = ' || item.PI_NAME ||
', Last name = ' || item.PI_VORNAME);
end loop;
end if;
end;
Regards
MarkHi,
ok thanks. I tried to use the SQL-Report with type "SQL Query (PL/SQL function body returning SQL-Query)" and made a few changes in the SQL-Statement so that a second table is also included:
declare My_select varchar2(500);
begin
if :TEXTEINGABENAME IS NOT NULL then
My_select:='SELECT
"TB_ADRESSE"."A_PLZ" "A_PLZ",
"TB_ADRESSE"."A_ORT" "A_ORT",
"TB_ADRESSE"."A_ID" "A_ID",
"TB_PERSON_INSTITUTION"."PI_MITGLIEDSNUMMER" "PI_MITGLIEDSNUMMER",
"TB_PERSON_INSTITUTION"."PI_NAME" "PI_NAME",
"TB_PERSON_INSTITUTION"."PI_VORNAME" "PI_VORNAME",
"TB_PERSON_INSTITUTION"."PI_ERGAENZUNG" "PI_ERGAENZUNG",
"TB_PERSON_INSTITUTION"."PI_ERGAENZUNG1" "PI_ERGAENZUNG1",
"TB_PERSON_INSTITUTION"."PI_ID" "PI_ID"
FROM
"TB_ADRESSE" "TB_ADRESSE",
"TB_PERSON_INSTITUTION" "TB_PERSON_INSTITUTION"
WHERE "TB_PERSON_INSTITUTION"."PI_ID" = "TB_ADRESSE"."A_F_PERSON_INSTITUTION"
AND upper("TB_PERSON_INSTITUTION"."PI_NAME") like upper(:TEXTEINGABENAME||"%")';
else
if :TEXTMITGLIEDSNUMMER is not null then
My_select:='SELECT
"TB_ADRESSE"."A_PLZ" "A_PLZ",
"TB_ADRESSE"."A_ORT" "A_ORT",
"TB_ADRESSE"."A_ID" "A_ID",
"TB_PERSON_INSTITUTION"."PI_MITGLIEDSNUMMER" "PI_MITGLIEDSNUMMER",
"TB_PERSON_INSTITUTION"."PI_NAME" "PI_NAME",
"TB_PERSON_INSTITUTION"."PI_VORNAME" "PI_VORNAME",
"TB_PERSON_INSTITUTION"."PI_ERGAENZUNG" "PI_ERGAENZUNG",
"TB_PERSON_INSTITUTION"."PI_ERGAENZUNG1" "PI_ERGAENZUNG1",
"TB_PERSON_INSTITUTION"."PI_ID" "PI_ID"
FROM
"TB_ADRESSE" "TB_ADRESSE",
"TB_PERSON_INSTITUTION" "TB_PERSON_INSTITUTION"
WHERE "TB_PERSON_INSTITUTION"."PI_ID" = "TB_ADRESSE"."A_F_PERSON_INSTITUTION"
AND upper("TB_PERSON_INSTITUTION"."PI_MITGLIEDSNUMMER") like upper(:TEXTMITGLIEDSNUMMER||"%")';
end if;
end if;
return My_select;
end;
When I try to apply changes an error message occurs:
"Query cannot be parsed within the Builder. If you believe your query is syntactically correct, check the ''generic columns'' checkbox below the region source to proceed without parsing. The query can not be parsed, the cursor is not yet open or a function returning a SQL query returned without a value."
Regards,
Mark -
Hello,
Queries
1. Is it possible to use Batch Reading in conjunction with Custom Stored Procs/ SQL?
2. Is it possible to map an attribute to a SQL expression (like in Hibernate we have formula columns mapped using the formula* property)?
Background
1. We use Toplink 11g (11.1.1.0.1) (not EclipseLink) in our application and are controlling mapping using XML files (not annotations).
2. We are migrating a legacy application with most of its data retreival logic present in stored procedures to Java.
3. I am effectively a newbie to Toplink.
Scenario
1. We have a deep class heirarchy with ClassA+ at the following having a one-to-many relation with ClassB+ and ClassB+ having a one-to-many relation with ClassC+ and so on and so forth.
2. For each of these classes the data retreival logic is present in stored procedures (coming from the legacy application) containing not so simple queries.
3. Also there are a quite a few attributes that actually represent computed values (computed and returned from the stored procedure). Also the logic for computing the values are not simple either.
4. So to make things easy we configured toplink to use the stored procedures to retreive data for objects of ClassA+, ClassB+ and ClassC+.
5. But since the class heirarchy was deep, we ended up firing too many stored procedure calls to the database.
6. We thought we could use the Batch Reading feature to help with this, but I have come across documentation that says that it wont work if you override toplink's queries with stored procedures.
7. I wrote some sample code to determine this and for the heirarchy shown above it uses the speicifed Custom procedure (I also tried replacing the stored procs with custom SQL, but the behavior is the same) for ClassA+ and ClassB+, but for ClassC+ and below it resorts to its own generated SQL.
8. This is a problem because the generated SQL contains the names of the computed columns which is not present in the underlying source tables.
Thanks
ArvindBatch reading is not supported with custom SQL or stored procedures.
Join fetching is though, so you may wish to investigate that (you need to ensure you return the correct data from the stored procedure).
James : http://www.eclipselink.org -
Report with custom layout - formatting conditions
Hi,
There's a report with custom layout. What I need is to format some cells depending on the data they contain(like different background color). There's a tab named "Formatting Conditions" which should be meant for doing this and it works perfectly when report has tabular layout. But nothing happens in case of custom layout. Should this be done then in the "Report Layout Editor" and with Javascript? Portal version is 3.0.9.8.0.
Thanks in advance,
MadisHi,
Some condtions like background color do not work in custom mode reports. This is because in case of custom reports the table html is specified by the user and the report renderer has no control over it.
Hope this helps.
Sunil. -
MCTS 70-466 Implementing Data Models and Reports with Microsoft SQL Server 2012
I am searching for training kit for Exam 70-466 (Implementing Data Models and Reports with Microsoft SQL Server 2012) but I think is not published yet. I was expecting its release in Jan or Feb 2014. Would any one can tell me its release date or any place
where I can find this book.
Thanks
Hi Azhar lqbal Gondal,
According to your description, since the issue regards training and certification,
I suggest you post the question in the Learning forums at
http://social.technet.microsoft.com/Forums/en-US/home?category=learning. It is appropriate and more experts will assist you. If you have a specific technical question about Microsoft SQL Server,
you can visit and post your question on the SQL Server Forum.
There is some detail about Exam 70-466 Implementing Data Models and Reports with Microsoft SQL Server 2012, you can review the following articles.
Exam content can be found here:
http://www.microsoft.com/learning/en-us/exam-70-466.aspx
http://borntolearn.mslearn.net/certification/database/w/wiki/525.466-implementing-data-models-and-reports-with-microsoft-sql-server-2012.aspx#fbid=Mn-t6aRhs-H
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
Any tool to search Crystal Reports with embedded SQL
We have hundreds of Crystal Reports with embedded sql statements which have been developed over the years. Is there any tool which will allow us to scan all of the reports to see which ones might use a certain table, or is using a "group by" clause, or whatever ?
We'd prefer to not have to open each report to view the embedded sql.
Any thing that will extract the sql for us and dump it to a file ??
We have the reports as regular disk files, but they are also published to our Business Objects Enterprise XI R2 system (just an fyi in case there's an option on that side).Hi Wayne
There is a sample ras sdk code here that might be if use to you
Link: [https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/402f2b94-da66-2b10-c598-de0d4b6058dc] -
Null Pointer Exception when working with Custom Sql
I viewed the video on adding Custom Sql and everything seemed to work fine with regards to adding it to my report. However, I get a null pointer exception when I add a field from the Custom Sql table to the report and try to run the report including if I try to View Sql. There doesn't seem to be a stacktrace that I can show.
BTW... this was a work around for not being able to use Stored Procedures... I have killed 2 days now working on different ways to work around the Stored Procedure thing
Thanks,
SteveHi,
I'm trying to use a custom sql in my report. I could successfully create a custom SQL and add it to my report in the designer. But I'm getting NullPointer exception when I try to see the results in Preview. Can someone please help me resolve this issue.
Thanks! -
Line item report with Customer number
Hi all,
I am facing the following issue:
I need a line item report to analyze an accrual account by customer.
Since the customer is not captured on the accrual account itself, but on the recon. account (which is not defined as line item display), I did not find a way to present the customer and the accrual on the same line.
I can always go to BSEG and vlookup and match by document number the accrual account and the customers from the customer recon. account, but I thought maybe someone has a better idea.
Thanks,
Yoel.If the recon account line items have al lthe info needed I'd suggest using a query (SQ01).
1. Create an Infoset in SQ02 with logical database "BRM". Choose the fields from BSEG that you need
2. Create the Query in SQ01 using that Infoset.
If you want to see individual line items, include the fields you want in the "basic list" of the query. If you want totals by customer, don't include anything in the basic list, but make a "statistics" with customer and amount.
Selections would habe to be made for account no and period. -
Problem while creating XDO Report with PL/SQL
hi,
i am trying to create
1.created XDO Report with the help of PL/SQL which takes two parameters and code for writing XML tags to output file
2.created concurrent program that will call the PL/SQL pkg
here i am trying to create the xml out put bu t i am stuck with some errors below is the code
create or replace
PACKAGE AgentTimeReport_XDO_pkg AS
TYPE srdaterange_rec is RECORD (
fromsrdate varchar2(20 byte),
tosrdate varchar2(20 byte)
Type agent_table IS TABLE OF srdaterange_rec INDEX BY BINARY_INTEGER;
procedure GetAgentTimeList(o_errbuf OUT VARCHAR2
,o_retcode OUT VARCHAR2,p_fromsrdate IN varchar2,p_tosrdate IN varchar2);
END AgentTimeReport_XDO_pkg;
create or replace
PACKAGE BODY AGENTTIMEREPORT_XDO_PKG AS
procedure GetAgentTimeList(o_errbuf OUT VARCHAR2
,o_retcode OUT VARCHAR2,p_fromsrdate IN
VARCHAR2,p_tosrdate IN VARCHAR2 )
IS
cursor cs_agenttime(p_fromdate IN VARCHAR2,p_todate IN VARCHAR2)
is
SELECT
incident.Incident_Number as ServiceRequestNumber,
TO_CHAR (incident.incident_date,'DD-MON-YYYY') as ServiceRequestDate,
incident.Summary as Summary,
agenttime.agentname as AgentName,
to_char(agenttime.agentstarttime,'DD-MM-YYYY HH24:MI') as StartTime,
to_char(to_date('00:00:00','HH24:MI:SS') +
(agenttime.endtime-agenttime.agentstarttime), 'HH24:MI') as TimeSpent
FROM cs_incidents_all_b incident,cs_agenttime_agv agenttime
WHERE agenttime.incident_id=incident.incident_id
AND incident.incident_date between to_date(p_fromsrdate,'DD-MON-YYYY')
AND to_date(p_tosrdate,'DD-MON-YYYY');
BEGIN
/*First line of XML data should be ‘<?xml version="1.0" encoding='utf-8'?>’*/
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<?xml version="1.0" encoding="utf-8"?>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<AGENTTIME>');
FOR cs_agent IN cs_agenttime(p_fromsrdate,p_tosrdate)
LOOP
/*For each record create a group tag <G_AGENT_TIME> at the start*/
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<G_AGENT_TIME>');
/*Embed data between XML tags for ex:- <EMP_NAME>Abeesh</EMP_NAME>*/
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<SERVICEREQUEST_NUMBER>' ||
cs_agent.ServiceRequestNumber
|| '</SERVICEREQUEST_NUMBER>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<SERVICEREQUEST_DATE>' ||
cs_agent.ServiceRequestDate ||
'</SERVICEREQUEST_DATE>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<START_TIME>' || cs_agent.StartTime
||'</START_TIME>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<TIME_SPENT>' || cs_agent.TimeSpent
||'</TIME_SPENT>');
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</G_AGENT_TIME>');
END LOOP;
/*Finally Close the starting Report tag*/
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</AGENTTIME>');
END GetAgentTimeList;
END AGENTTIMEREPORT_XDO_PKG;any one help me
the log file
Service: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
DEMOXDO module: DemoAgentXDO Report
Current system time is 28-JUL-2009 05:16:46
**Starts**28-JUL-2009 05:16:46
ORACLE error 1861 in FDPSTP
Cause: FDPSTP failed due to ORA-01861: literal does not match format string
ORA-06512: at "APPS.AGENTTIMEREPORT_XDO_PKG", line 9
ORA-06512: at "APPS.AGENTTIMEREPORT_XDO_PKG", line 25
ORA-06512: at line 1
The SQL statement b
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Finished executing request completion options.
Concurrent request completed
Current system time is 28-JUL-2009 05:16:46
---------------------------------------------------------------------------Hi,
Please see if these documents help.
Note: 367607.1 - FDPSTP Failed Due to ORA-01861: Literal Does Not Match Format String
Note: 370272.1 - not able to run the report set having unsupported date format of fnd-date4
Note: 376034.1 - How to Handle New Date Formats in SQL*Plus and PL/SQL Procedures?
Regards,
Hussein -
Link a Crystal Report report with an SQL Azure database
Hi,
I want to use my database on SQL Azure in Crystal Report. So I want to link my reports with data contained not in a local db, but in a SQL Azure one.
Insiede Crystal Report I have created a new ADO connection to my SQL Azure, providing server, db, user, password, and Crystal Report have recognized the database. But when I go to the Database Expert and I try to set this ADO connection inside my report,
I recieve this error:
"Not Implemented
Source ADODB.Connection
L'operazione richiesta non è supportata dall'oggetto o dal provider (operation not supported by the object or by the provider)"
Why? How can i use my SQL Azure data in my Crystal Report reports?
ThanksHi Delfins,
Please create a UDL file to test the connection, ensure the connection is fine and then use the same connection string in your Crystal Report.
For UDL file, you can refer to:
http://msdn.microsoft.com/en-us/library/e38h511e(VS.71).aspx
Hope this helps,
Raymond
Raymond Li - MSFT -
Report with customer info for an Sales Order with batch details
Hi
Can any one please tell me the SAP REPORT with contains data of customers were shipped a specific product (material number) by batch number. report with the name and address of the customer, the sales order number and the number of products that were shipped.
Thanks
NickHi nick,
See if anybody has worked on SIS (sales information system) in your team.
He can help you out to create one info structure , by selecting desired characteristics, key figure with respective update rules. though its require lot of configuration but you can make it without abap development.
(I couldn"t make it in time to provide you detailed configuration but below given path will take you to the configuration area )
IMG - LG -Logistick information system -logistick data werhouse- data basis- field catalogue.
IMG - LG -Logistick information system -logistick data werhouse- data basis -
infostructure.
IMG - LG -Logistick information system -logistick data werhouse- data basis - updating - update defination & update rules.
( MC18, MC21, MC24,& MC30)this transaction help to create field catelogue, info system, update rule & generation log respectively.
karnesh -
GL Account Report with Customer Analysis
Hi..
Is there a straight forward way of producing a list by GL Account, which provides the Customer No posted to in the same Document?
For example
Doc No 1234567890
01 Customer 999 £500
50 GL 12345
Executing a search on GL 12345 would therefore output with Customer analysis and the Customer 999 will be inlcluded.
Thanks......Hi,
Go to Customer line item display fbl5n and execute the report
once executed select change lay out from that select G.L account. it will display
If it is not sufficient
same report take document no
Fb03 enter document number it will display dr and cr with posting keys
If it is usefull please assign points
Thanks
Shiva -
Incorrectly read attributes with custom SQL query
Hi folks,
I'm trying to read in a random sampling of records from a table, so I tried:
ReadAllQuery q = new ReadAllQuery();
q.setReferenceClass(Foo.class);
q.addPartialAttribute("bar");
q.setSQLString("select * from Foo sample(10)");
q.useCursoredStream(100,100, new ValueReadQuery("select count(*) from Foo sample(10)"));
This all worked fine, the Foos were retrieved, but after the first dozen or so, all the "bar" attributes were null, which they should not be. This only occurs when using a custom SQL string. I tried bringing back all the objects (i.e., without using setSQLString) and examining them and all the "bar"s were present. But when I use setSQLString the attributes don't get read correctly.
Can anyone tell me what I'm doing wrong? Is there a better way to do it?
Thanks,
BrynOkay, here's the actual code:
ReadAllQuery q = new ReadAllQuery();
q.setReferenceClass(ActivityCenter.class);
boolean useCustom = true;
if (useCustom) {
q.setSQLString("SELECT SetupDt, TerminationDt, ReinstateDt, IID, upDt, ID, " +
"Stat, SubType, Acct FROM ACtr");
q.useCursoredStream(100,100, new ValueReadQuery("select count(IID) from actr"));
} else {
q.useCursoredStream(100,100);
session.logMessages();
activityCenters = (CursoredStream) session.executeQuery(q);
ActivityCenter ac = (ActivityCenter) activityCenters.read();
if (ac.getAccount() == null) {
System.err.println(ac.getID() + ": Oops!");
} else {
System.err.println(ac.getID() + ": Has account!");
System.exit(0);
So, everything about this program is the same - how the mapping is done, how things get initialized, everything. The only difference is whether I use a custom SQL query or not. Here's what it looks like when I run it both ways:
First, custom:
DatabaseSession(2433702)--Connection(393272)--SELECT SetupDt, TerminationDt, ReinstateDt, IID, upDt, ID, Stat, SubType, Acct FROM ACtr
1.1: Oops!
Now, without the custom SQL:
DatabaseSession(393272)--Connection(7896086)--SELECT SetupDt, TerminationDt, ReinstateDt, IID, upDt, ID, Stat, SubType, Acct FROM ACtr
DatabaseSession(393272)--Connection(7896086)--SELECT
//bunch of fields from the Acct attribute...
FROM Acct WHERE (IID= 'ffbe5c47f3ea762cfd50fbe9e6d6de6')
1.1: Has account!
Notice that the first query on Actr is identical in both cases. Also note there are no null Actr.acct fields in the database:
SQL> select * from actr where actr.acct is null;
no rows selected
SQL>
This is on Oracle 9i, with the thin jdbc driver.
Also, I was curious that you asked if I was using partial attributes - when I try to add a partial attribute when using the custom SQL string, I get exceptions like this one:
java.lang.ClassCastException: oracle.toplink.internal.queryframework.CallQueryMechanism
at oracle.toplink.queryframework.ObjectLevelReadQuery.initializeDefaultBuilder(Unknown Source)
at oracle.toplink.queryframework.ObjectLevelReadQuery.getExpressionBuilder(Unknown Source)
at oracle.toplink.queryframework.ObjectLevelReadQuery.addPartialAttribute(Unknown Source)
at jenkon.magellan.util.MLMulator.getActivityCenters(MLMulator.java:782)
at jenkon.magellan.util.MLMulator.run(MLMulator.java:897)
at jenkon.magellan.util.MLMulator.main(MLMulator.java:943)
Thanks,
Bryn
Maybe you are looking for
-
Ssrs 2008 and Kerberos both work separately; but not together
Sorry that this question is very similar to some others that have been asked on this forum. Unfortunately, none of the solutions I've been able to find here or elsewhere have solved my problem. I'm trying to create some reports on data in a SharePoin
-
Hi, I'm almost totally new to networking programming so I have a really simple question to ask: How can I have an applet running in a browser on one computer open a socket to another instance of that applet running on another computer? I guess I just
-
Hi Project management consultants, I want to confirm the following: 1. Is the Project System module now called Project management? 2. Is Project portfolio management = project system? 3. There are several project management courses like PLM 2xx : Log
-
Messed up my airport express music..need help
Hi Everyone I'm one of these guys who just can't stop messing around with things and now I've messed up my airport express and can't send music to my stereo. I have two airport expresses (N's) and had them setup and playing very well to both stereos.
-
Most of HP product stopped working
Hello Sir, Most of HP product stopped working. like: Troubleshootong: no matter what to troubleshoot, every time getting error code 0x80070002, even update had same error. 2. other HP Product Install/Uninstall also intrupped by some error- like