About nqs query
What happens when NQQuery log file is full?
Hi pallis,
When NQquery.log is full then BI server automatically creates a new file NQquery.log and the old file is re-named as NQquery.log.old .Internally i suppose 50 MB is allocated for NQquery.log file and when you start the services it will initiate the existing file i.e. it cleans all the querys and starts fresh.
Hope answered your question.
Cheers,
KK
Similar Messages
-
Some question about the query designer
hello, dear all,
I am a new comer of here, and I am intersting in BI, but I have no basic knowledge about it.
so I just want someone could give me some advice about it.
our boss need I do the developer about the query designer, I just have searched in this forum. but nothing founded for I am a new comer here,
I heard there are some training document of the query designer, could someone give me the URL, thanks.Hi,
Query desinger is used to develop a Query, Query can be created on following data targets
-Info Cube
-DSO
Virtual data target
-MultiCube
-Infoset
-Multiprovider
We have 5 section in query designer
- Infoprovider : where we select the data target , on which report to be created
-Filter : to restrict value at infoprovider level ( if you want data for year 2008, for example)
-Free Characterstic : this allow you to drill down
-Columns : char/keyfigs to be display in columns can be added here
Row: key/char to be display in Rows can be added here
gv me ur mailid i will let u have Bex manual,
I would suggest , if you have any IDES ( training ) system , where you can log in and then go to RRMX,
and try to create new query and add any data target ( which is already created ) and then drag and drop the char/key fig to the required section ,
save it and execute it .....
if you play arround and see the output , that would help u to understand how to work with query designer.
Hope this helps
Sukhi
Edited by: Sukhvidner Singh on Nov 4, 2009 5:36 PM -
Connection lost but what about send Query?
Dear All.
Imagine that client sends query to DB server. Lets say that this will take 20 minutes for results. But suddenly client's computer lost power. What about that query, Is server going to operate?
Could you possible explain me this process?
Thank in advance.Generally, the database will continue processing the request until it tries to send results back to the client. At that point, the server process discovers that the client has died and the database session is killed.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Hello Forum
I would like to know what a Technical Query is and the purpose it serves.
Please discuss.
Thank you,
Its my pleasure to assign points,
RajHi Raj,
To be honest, I have never heard about Technical Query before. But if you mean Technical Content Query, you can check it out here:
http://help.sap.com/saphelp_sem40bw/helpdata/en/88/3e1f3b5839e10fe10000000a114084/frameset.htm -
Hello :),
I am a MS SQL Server expert [;)]. trying to learn ORACLE.
I tried to assign some value to a variable in an update query. I got error message that virtual columns are not allowed. This is very important to get rolling effect.
Can some one please guide me about how to get rolling effect if we can not assign a value to a variable in an update query.
Thanx in advance.
Nishuhello sgalaxy and gintsp, thanx for ur reply.
My reply is so late because for some reason I was not able to log on to this site.
There is some good reason why I need this. I am giving code and error messages below, please guide me.
==============================
I am trying this thing in procedure. I am using ORACLE DATABASE EXPRESS EDITION
Here is the code.
create or replace procedure "PROC1"
is
TYPE Bal_Collect IS TABLE OF NUMBER;
Collt Bal_Collect := Bal_Collect(100);
begin
Update empAccount Set Bal = Collt(Collt.Last) Returning Bal BULK COLLECT INTO Collt;
end;
Error message
Compilation failed,line 6 (02:20:45)
PLS-00425: in SQL, function argument and return types must be SQL type
Compilation failed,line 6 (02:20:45)
PL/SQL: ORA-00904: : invalid identifier
Compilation failed,line 6 (02:20:45)
PL/SQL: SQL Statement ignored
BUT FOLLOWING UPDATE STATEMENT WORKS
Update empAccount Set Bal = Collt(1) Returning Bal BULK COLLECT INTO Collt; -
Table which has info about all "Query views" in the system
hi all,
which is the table that stores information about all the "Query views" present in the system?
i searched in tables RSRREPDIR and RSZELTDIR, but i could not find any query view that is already present in the system.
regards,
RkTo know execution time, execute the query and then analyze the table RSDDSTAT using t-code se16..
i think u need to check the value of QTIMEOLAP var in the table for getting query execution time..
more info please refer the note 130696
U can execute query in RSRT also after setting options for Statistics -
Hi,
I want to write a SQL statement using Joins. The base table "A" has about 100 fields and the join table "B" a few. I would like to fetch all fields from table "A" and a few from table "B".
Is there a way to write a query wherein I can use "Select * " for table "A" rather than writing all 100 field name in the query? Please keep in mind that I want to use a Join.
Thanks.Hi Thomas,
but if there are some fields which are in both tables, SELECT * will be not sufficient. E.g. fields ERNAM, ERDAT, AENAM, AEDAT are such fields which can occur in more tables. In case that a target area will contain these fields, by * with addition INTO CORRESPONDING FIELDS OF, you are not able to specify from which table these values should be taken. In such case, it can be solved by specifying field list dynamically. If it is not that case SELECT * is sufficient. You should check intersection of common fields for tables you are joining. Thereafter you should decide if you can use SELECT *.
Maybe for better understanding, what exactly I am talking about, look at this example:
TYPES: BEGIN OF ts_data,
ernam TYPE mara-ernam,
END OF ts_data.
DATA: ls_data TYPE ts_data,
ls_mara TYPE mara,
ls_mchb TYPE mchb.
START-OF-SELECTION.
ls_mara-matnr = '1'.
ls_mchb-matnr = ls_mara-matnr.
ls_mara-ernam = 'A'.
ls_mchb-ernam = 'B'.
INSERT mara FROM ls_mara.
INSERT mchb FROM ls_mchb.
SELECT SINGLE * FROM mara INNER JOIN mchb ON mara~matnr = mchb~matnr INTO CORRESPONDING FIELDS OF ls_data.
ROLLBACK WORK.
You as a developer are not able to tell from which table common fields should be selected. But maybe this is really too specific case...
Regards,
Adrian -
Hi all ,
I have small question related to bad query .
what is the affecting happens to database if there is lot of bad query , i know the performance issue is there what's other things .like archive log generated database time , IO , TMP tablespace , please give me information about it's .
thanks & regards.user11969912 wrote:
I have small question related to bad query . What do you consider a bad query? A bad query can be the result of poorly written and illogical SQL. It can be due to not using bind variables. It can be due to a on-optimal execution plan generated by the CBO. It can be due to poorly designed code that uses what seems to be a "good query", badly and in the wrong way (using bulk collection when a native SQL alone suffices, or hitting the very same data multiple times, etc).
what is the affecting happens to database if there is lot of bad query Each of these have a different impact on the database. A "bad query" can cause a snapshot-too-old error. A deadlock error. A shared pool memory allocation error. Can cause no error and simple increase I/O. Or increase CPU. Etc.
It is a lot more complex than what you seem to think, given your question. -
Hello,
I'm new to oracle DB.
Can someone help me with this query please?
I want a query which returns the details of all the DML and DDl queries performed on a database in a particular period of time like for example from that date to today.
Thank you..All changes made to user data or to the data dictionary are recorded in the Oracle redo logs. Therefore, redo logs contain all the necessary information to perform recovery operations. Because redo log data is often kept in archived files, the data is already available.
Actually to do this you got to have DBA privileges.
You have to use oracle LOGMINER
Oracle Corporation provides SQL access to the redo logs through LogMiner, which is part of the Oracle database server. LogMiner presents the information in the redo logs through the V$LOGMNR_CONTENTS fixed view. This view contains historical information about changes made to the database
Please refer the following link to get more details on the same.
http://docs.oracle.com/cd/B10501_01/server.920/a96521/logminer.htm
Hope this helps :) -
Question about Resultant Query
Documentary Table
Doc_No Title Ranking YearReleased
1 Hoop Dreams A 1994
2 The Thin Blue Line B 2000
3 Surprise Me A 2004
4 Trouble the Water C 2008
5 Dark Days B 2000
6 Paris of Burning B 1991
7 Man on Wire A 2008
Please tell What will be the resultant relation that will be produced by the following SQL SELECT statement.
Query:
SELECT Doc_No, Title, YearReleased
FROM
Documentary
WHERE YearReleased <>‘2000’;
Please replyGhulam Yassen wrote:
I am asking about the relation after its output.
SELECT Doc_No, Title, YearReleased
FROM
Documentary
WHERE YearReleased ‘2000’;What do you mean with relation?
If you mean the output here you are:
WITH documentary AS
SELECT 1 Doc_no, 'Hoop Dreams' Title, 'A' Ranking, 1994 YearReleased FROM DUAL UNION
SELECT 2 Doc_no, 'The Thin Blue Line' Title, 'B' Ranking, 2000 YearReleased FROM DUAL UNION
SELECT 3 Doc_no, 'Surprise Me' Title, 'A' Ranking, 2004 YearReleased FROM DUAL UNION
SELECT 4 Doc_no, 'Trouble the Water' Title, 'C' Ranking, 2008 YearReleased FROM DUAL UNION
SELECT 5 Doc_no, 'Dark Days' Title, 'B' Ranking, 2000 YearReleased FROM DUAL UNION
SELECT 6 Doc_no, 'Paris of Burning' Title, 'B' Ranking, 1991 YearReleased FROM DUAL UNION
SELECT 7 Doc_no, 'Man on Wire' Title, 'A' Ranking, 2008 YearReleased FROM DUAL
SELECT doc_no, title, yearreleased
FROM documentary
WHERE yearreleased {noformat}<{noformat}{noformat}>{noformat} '2000';
DOC_NO TITLE YEARRELEASED
1 Hoop Dreams 1994
3 Surprise Me 2004
4 Trouble the Water 2008
6 Paris of Burning 1991
7 Man on Wire 2008
{code}
Regards.
Al
Edited by: Alberto Faenza on Jun 7, 2012 12:54 PM
Modified to show lt and gt signs -
Question about the Query Optimizer
For an Excercise during my database lecture the following table
CREATE TABLE TASKS
"ID" NUMBER NOT NULL ENABLE,
"START_DATE" DATE,
"END_DATE" DATE,
"DESCRIPTION" VARCHAR2(50 BYTE)
) ;with about 1.5 Million Entries were given. In addition there was the following Query:
SELECT START_DATE, COUNT(START_DATE) FROM TASKS
GROUP BY START_DATE
ORDER BY START_DATE;And the Index:
create index blub on Tasks (start_date asc);The main excercise was to speed up queries with indexes. Because all data is accessed the optimizer ignores the index and just did a full table scan.
Here the QEP:
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 9343 | 74744 | 3423 (6)| 00:00:42 |
| 1 | SORT GROUP BY | | 9343 | 74744 | 3423 (6)| 00:00:42 |
| 2 | TABLE ACCESS FULL| TASKS | 1981K| 15M| 3276 (2)| 00:00:40 |
----------------------------------------------------------------------------Then we tried to force him to do the index with this query:
ALTER SESSION SET OPTIMIZER_MODE = FIRST_ROWS_1;
SELECT /* + INDEX (TASKS BLUB) */ START_DATE, COUNT(START_DATE) FROM TASKS
GROUP BY START_DATE
ORDER BY START_DATE;but again it ignored the index. The optimizer guide states clearly, that each time you access all data from a table it has to do a full scan.
So we tricked him in doing a fast index scan with this query:
create or replace function bla
return date deterministic is
ret date;
begin
select MIN(start_date) into ret from Tasks;
return ret;
end bla;
ALTER SESSION SET OPTIMIZER_MODE = FIRST_ROWS_1;
SELECT /* + INDEX (TASKS BLUB) */ START_DATE, COUNT(START_DATE) FROM TASKS
where start_date >= bla
GROUP BY START_DATE
ORDER BY START_DATE; now we got the following QEP:
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 8 | 3 (0)| 00:00:01 |
| 1 | SORT GROUP BY NOSORT| | 1 | 8 | 3 (0)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | BLUB | 1 | 8 | 3 (0)| 00:00:01 |
----------------------------------------------------------------------------- So it do use the index.
Now to my two questions:
1. Why should it always do a full scan (because the optimizer documentation answer is a little bit unsatisfying)?
2. After looking at the difference between the costs (FS: 3276 IR: 3) and the time the system needs (FS: 9,6 sec IR: 4,45) why does the optimizer refuse the clearly better plan?
Thanks in advance,
Kai Gödde
Edited by: Kai Gödde on May 30, 2011 6:54 PM
Edited by: Kai Gödde on May 30, 2011 6:56 PMJohn Spencer mentioned already the most important point (the role of NULL values) but here are some minor additions:
* with the additional NOT NULL condition Oracle will do an INDEX FAST FULL SCAN (a multiblock scan of the index segment, similar to a FULL TABLE SCAN)
* with the additional NOT NULL condition you don't need a hint and Oracle will choose the IFFS access
* if the index was a bitmap index you would not need a NOT NULL condition because Oracle stores NULL-values in bitmap indexes (but you should not define bitmap indexes in an OLTP system because they bring massive locking issues)
* if the index would contain a second value the additional NOT NULL condition would also be needless
CREATE TABLE TASKS
"ID" NUMBER NOT NULL ENABLE,
"START_DATE" DATE,
"END_DATE" DATE,
"DESCRIPTION" VARCHAR2(50 BYTE)
insert into tasks
select rownum
, case when mod(rownum, 5) = 0 then null else sysdate - round(rownum/100) end
, case when mod(rownum, 4) = 0 then null else sysdate - round(rownum/50) end
, lpad('*', 50 , '*')
from dual
connect by level <= 1500000;
exec dbms_stats.gather_table_stats(user, 'TASKS')
-- the IFFS access without a hint:
create index blub on Tasks (start_date);
SELECT START_DATE
, COUNT(START_DATE)
FROM TASKS
WHERE START_DATE IS NOT NULL
GROUP BY START_DATE
ORDER BY START_DATE;
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 15001 | 102K| 1871 (16)| 00:00:10 |
| 1 | SORT GROUP BY | | 15001 | 102K| 1871 (16)| 00:00:10 |
|* 2 | INDEX FAST FULL SCAN| BLUB | 1200K| 8203K| 1631 (3)| 00:00:09 |
Statistiken
0 recursive calls
0 db block gets
3198 consistent gets
0 physical reads
0 redo size
378627 bytes sent via SQL*Net to client
11520 bytes received via SQL*Net from client
1002 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
15001 rows processed
-- the bitmap index
create bitmap index blub on tasks(START_DATE);
SELECT START_DATE
, COUNT(START_DATE)
FROM TASKS
GROUP BY START_DATE
ORDER BY START_DATE
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 15001 | 102K| 132 (1)| 00:00:01 |
| 1 | SORT GROUP BY NOSORT | | 15001 | 102K| 132 (1)| 00:00:01 |
| 2 | BITMAP CONVERSION TO ROWIDS| | 1500K| 10M| 132 (1)| 00:00:01 |
| 3 | BITMAP INDEX FULL SCAN | BLUB | | | | |
Statistiken
1 recursive calls
0 db block gets
1126 consistent gets
0 physical reads
0 redo size
378682 bytes sent via SQL*Net to client
11520 bytes received via SQL*Net from client
1002 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
15002 rows processed
-- the composite index
create index blub on tasks(START_DATE, 0);
SELECT START_DATE
, COUNT(START_DATE)
FROM TASKS
GROUP BY START_DATE
ORDER BY START_DATE;
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 15001 | 102K| 2400 (15)| 00:00:12 |
| 1 | SORT GROUP BY | | 15001 | 102K| 2400 (15)| 00:00:12 |
| 2 | INDEX FAST FULL SCAN| BLUB | 1500K| 10M| 2095 (3)| 00:00:11 |
Statistiken
0 recursive calls
0 db block gets
4120 consistent gets
0 physical reads
0 redo size
378682 bytes sent via SQL*Net to client
11520 bytes received via SQL*Net from client
1002 SQL*Net roundtrips to/from client
1 sorts (memory)
0 sorts (disk)
15002 rows processedRegards
Martin Preiss -
Please help about function query permformance
Hi
I have a j2ee web application with oracle database.
I finish the function implementation by put all caculaton inside oracle query ( funciton (todayData - avg(historical data )) / std(historical data) and using group by and sub query .but performance is very slow about 3 minute whick is far from client's 10 second requirement.
My question is if I take raw data from database and do the caculation part in Java will it be faster. Is there some other way to speed up the process?(historical data is big)
Thanks for your time and helpWhat does the function look like? How is it called? What is the query and explain plan? Are statistics up to date?
My question is if I take raw data from database and do the caculation
part in Java will it be faster.No.
Is there some other way to speed up the process?(historical data is big)You should start by posting the explain plan and looking into the other questions above. -
Que about Simple Query Dump.....
Hiiii ABAPers....
Here with i am come again with a que and my que is :
" While debugging a simple query with where clause i am getting dump...but when i set up a break point after 2 or 3 sentenses it is executed fine without any dump "
It has shocked me.... and i m thinking about it by my hand on my head that hows it possible.....
Anyone can help me to put my hand down from the head???
Warm regards,
Nirav Parekh....HI Nirav
I think you are placing break point in <b>select & end-select</b>
In between select and end-select , if you place any break point ,then there commit statement will trigger,
thats may be the reason ,
so mostly the Programmers are advised to not place any Break points in between Select & end-select.
In your case just place the breakpoint after End-select
or before select
Regards Rk
Message was edited by:
Rk Pasupuleti -
Issue about executing query in BI 7.0 Query Designer
hi, all
i am using bi7.0. and when i want to execute a query in the query designer, i met a problem.
when i click the execute button in the tool bar, the web page pop up and display some dull information: invalid syntax error. the page can not be displayed.
any ideas of how to solve this problem.
thanks.hi, all
this time when i click the "execute" button in the BEx Query Designer, i got the following error message in the pop up web page:
Exception in BI runtime
Log ID: 001E4FD906750057000000DF000004F800045A5CF6DB9857
Initial cause
Message:
Connect to message server host failedConnect_PM TYPE=B MSHOST=shni200.cts.com GROUP=PUBLIC R3NAME=AD1 MSSERV=sapmsAD1 PCS=1ERROR service 'sapmsAD1' unknownTIME Wed Oct 29 12:40:31 2008RELEASE 700COMPONENT NI (network interface)VERSION 38RC -3MODULE nixxhsl.cppLINE 776DETAIL NiHsLGetServNo: service name cached as unknownCOUNTER 3
Stack trace:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failedConnect_PM TYPE=B MSHOST=shni200.cts.com GROUP=PUBLIC R3NAME=AD1 MSSERV=sapmsAD1 PCS=1ERROR service 'sapmsAD1' unknownTIME Wed Oct 29 12:40:31 2008RELEASE 700COMPONENT NI (network interface)VERSION 38RC -3MODULE nixxhsl.cppLINE 776DETAIL NiHsLGetServNo: service name cached as unknownCOUNTER 3 at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457) at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989) at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.connectWithJCO(SAPCFConnectorManagedConnection.java:411) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.establishInitialConnection(SAPCFConnectorManagedConnection.java:209) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.init(SAPCFConnectorManagedConnection.java:188) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnectionFactory.createManagedConnection(SAPCFConnectorManagedConnectionFactory.java:129) at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:320) at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorConnectionFactory.getConnectionEx(SAPCFConnectorConnectionFactory.java:155) at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:302) at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:259) at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:458) at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:87) at com.sap.ip.bi.base.portal.connection.PortalConnectionPool.getConnection(PortalConnectionPool.java:172) at com.sap.ip.bi.base.service.connection.impl.GenericConnectionPool.getMasterSystemConnection(GenericConnectionPool.java:64) at com.sap.ip.bi.base.application.impl.Application.createService(Application.java:406) at com.sap.ip.bi.base.application.impl.Application.getProperty(Application.java:596) at com.sap.ip.bi.base.application.impl.Application.initialization(Application.java:227) at com.sap.ip.bi.base.application.ApplicationFactory.createApplication(ApplicationFactory.java:132) at com.sap.ip.bi.base.application.ApplicationFactory.createApplication(ApplicationFactory.java:63) at com.sap.ip.bi.webapplications.runtime.impl.Page.constructPage(Page.java:650) at com.sap.ip.bi.webapplications.runtime.impl.Page.<init>(Page.java:606) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.createPage(Controller.java:548) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:922) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:868) at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:328) at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Message:
No connection possible to BI master system SAP_BW
Stack trace:
com.sap.ip.bi.base.service.connection.ConnectionException: No connection possible to BI master system SAP_BW at com.sap.ip.bi.base.service.connection.impl.GenericConnectionPool.getMasterSystemConnection(GenericConnectionPool.java:68) at com.sap.ip.bi.base.application.impl.Application.createService(Application.java:406) at com.sap.ip.bi.base.application.impl.Application.getProperty(Application.java:596) at com.sap.ip.bi.base.application.impl.Application.initialization(Application.java:227) at com.sap.ip.bi.base.application.ApplicationFactory.createApplication(ApplicationFactory.java:132) at com.sap.ip.bi.base.application.ApplicationFactory.createApplication(ApplicationFactory.java:63) at com.sap.ip.bi.webapplications.runtime.impl.Page.constructPage(Page.java:650) at com.sap.ip.bi.webapplications.runtime.impl.Page.<init>(Page.java:606) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.createPage(Controller.java:548) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:922) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:868) at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:328) at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)Caused by: com.sap.ip.bi.base.service.connection.ConnectionException: No connection exists for system "SAP_BW" at com.sap.ip.bi.base.portal.connection.PortalConnectionPool.getConnection(PortalConnectionPool.java:216) at com.sap.ip.bi.base.service.connection.impl.GenericConnectionPool.getMasterSystemConnection(GenericConnectionPool.java:64) ... 44 moreCaused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failedConnect_PM TYPE=B MSHOST=shni200.cts.com GROUP=PUBLIC R3NAME=AD1 MSSERV=sapmsAD1 PCS=1ERROR service 'sapmsAD1' unknownTIME Wed Oct 29 12:40:31 2008RELEASE 700COMPONENT NI (network interface)VERSION 38RC -3MODULE nixxhsl.cppLINE 776DETAIL NiHsLGetServNo: service name cached as unknownCOUNTER 3 at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457) at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989) at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.connectWithJCO(SAPCFConnectorManagedConnection.java:411) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.establishInitialConnection(SAPCFConnectorManagedConnection.java:209) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.init(SAPCFConnectorManagedConnection.java:188) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnectionFactory.createManagedConnection(SAPCFConnectorManagedConnectionFactory.java:129) at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:320) at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:189) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorConnectionFactory.getConnectionEx(SAPCFConnectorConnectionFactory.java:155) at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:302) at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:259) at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:458) at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:87) at com.sap.ip.bi.base.portal.connection.PortalConnectionPool.getConnection(PortalConnectionPool.java:172) ... 45 more -
Question about select query.
Hi,
i want to insert the result of query to a table,
all the fields are corresponding except one field.
is there a way to this or i need to do
insert ( f1 , f2 ....)
i did this way
INTO CORRESPONDING FIELDS OF TABLE It_Return_Date
but i have another field which i want to insert to table.
is it possible??
10Xlets say you are getting values from a table
select & into X_TAB1 from TAB1.
data : x_tab2 type table2.
x_tab2-newfield = 'new value'. "Populate that new field value
move corresponding X_TAB1 TO X_TAB2. "all other will copy here
then use X_TAB2 to insert to your TABLE2.
INSERT TABLE2 FROM X_TAB2.
it would be a good practice to use same structure of the table while you use Insert/modify etc.. commands.
else you can declare TABLES ZTABLE2.
MOVE CORRESPONDING ZTABLE1 TO ZTABLE2.
ZTABLE2-NEW_FIELD = <NEW VALUE>.
then use INSERT.
INSERT ZTABLE2.
Regards
srikanth
Message was edited by: Srikanth Kidambi
Maybe you are looking for
-
How do I make the clickpad cause the size of my desktop icons to change?
As I work through the day, something I do to the clickpad seems to cause my desktop icons to suddenly grow larger, or shrink smaller. I have noticed that the icon change happens as I sweep my regular clickpad finger across the clickpad. I'm not sur
-
Error while clicking submit button?
Hi All, I am trying to implement selectOneListbox component. This displays all the data which I required. I am also able to retrieve indiviual data. I checked this using alert in java script. The problem which I am facing is that I have a command but
-
SQ02 - Query with adicional fields
Hi, I need your help to develop a query with additional fields. The case is that: In my query I only have a table VBAK and my propose is that this query returns me the quantity that are in a sales document for some material that should be selection p
-
Error while booking sales order
Hi All, I am getting below message while booking sales order. Please suggest on how to solve this Order header level sales credit must be equal to 100% Thanks, Sam
-
Process code for IDOC Output from MIRO
Hi, We need to find the Process code for IDOC output to assign Output type in ECC. We need the IDOC output to some other system like PR while doing the invoice Posting (Transaction code MIRO). We tried Using process code SD09 for the IDOC with IDOC T