SAP Query failed...
Hi all,
I am working on the SAP Query by using transaction code SQ02, SQ03 and SQ01.
I have also generated the program and copied display report name to create a transaction code for this report.
I am able to use the transaction code in the Development Environment. However, when I transported everything into Quality Environment and run the transaction code. It prompt me a shortdump with the message "Program AQZZZQTEST=ZTEST=== not found".
Anyone knows what is not right? How should I debug on this?
Thank you so much.
Create your query in the Global Area (Cross-client) instead of the Standard Area (Client-specific). When you create a query or Infoset in the Cross Client, you have to save your work in development package. Inturn, you will save your work in transportable request.
So, if you create a tcode for this kind of query, their name will not change in the Other system and you will not get the dump.
To change the Global Area, you can select it in Tcode SQ01 or SQ02: Environment > Query Areas
Regards,
Naimesh Patel
Similar Messages
-
SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string. 'Received Alerts' (OAIB)
SELECT
CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
WHEN T0.DocStatus = 'C' THEN 'CLOSED' END AS 'Document Status',
T0.DocDate AS 'Posting Date',
T0.DocNum AS 'Doc.No',
T0.NumAtCard,
T0.TransId AS 'Trans. No.',
T0.Comments AS 'Remarks',
T0.CardCode AS 'Offset Acct',
T0.CardName AS 'Offset Acct Name',
sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
T3.DueDate AS 'Cheque Date',
T3.CheckSum AS 'Amount'
FROM ODPO AS T0 LEFT OUTER JOIN
VPM2 AS T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
OVPM AS T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
VPM1 AS T3 ON T2.DocEntry = T3.DocNum
where T0.DocDate>='[%0]' and T0.DocDate<='[%1]'Hi,
Try this:
SELECT
CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
WHEN T0.DocStatus = 'C' THEN 'CLOSED' END AS 'Document Status',
T0.DocDate AS 'Posting Date',
T0.DocNum AS 'Doc.No',
T0.NumAtCard,
T0.TransId AS 'Trans. No.',
T0.Comments AS 'Remarks',
T0.CardCode AS 'Offset Acct',
T0.CardName AS 'Offset Acct Name',
sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
T3.DueDate AS 'Cheque Date',
T3.CheckSum AS 'Amount'
FROM ODPO T0 LEFT OUTER JOIN
VPM2 T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry
LEFT OUTER JOIN
OVPM T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
VPM1 T3 ON T2.DocEntry = T3.DocNum
where T0.DocDate >= '[%0]' and T0.DocDate <='[%1]'
group by T0.DocStatus,T0.DocDate ,
T0.DocNum ,
T0.NumAtCard,
T0.TransId ,
T0.Comments ,
T0.CardCode,
T0.CardName ,
T0.WTSum ,
T3.DueDate ,
T3.CheckSum
Thanks & Regards,
Nagarajan -
BI SAP Query Connector test fails!
BI SAP Query Connector test is failing in Portal 7.0 SP6
Scuccessfully tested BI SAP Query connector using the
URL : http://<myhost>:51200/TSapq/servlet/TestSapq
But when i try to test from the portal its failing
The Connection properties are defined both in Connection Connector in Visual admin as well as Portal as follows and user mapping is done as follows.
Application Server myhost.xxx.net
Client : 010
Message Server : myhost.xxx.net
Query Area : x
System Number : 12
System Name : BWT_SAPQ
Master Language : en
User Management
Logon Method : SAPLOGONTICKET
User Mapping : Admin, User
In User Administration i have maped the BWT_SAPQ system and provided user id and password.
Below is test result
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
Would really appreciated your help on this.
Thanks,
Srinivashi Aamod;
it seems like you already have your BI SAP Query system working properly, if you can use it in the BI Integration Wizard. what's the problem you're seeing in VC?
systems created with the BI SAP Query Connector are relational systems and therefore expose tables and fields in VC. via the BI Connector, these systems are 'lent' BI functionality and you can use these tables in the BI Integration Wizard, as you've seen. you might therefore call these "relational BI systems" (just like systems created with the BI JDBC Connector are).
if you have consulted the System Landscape documentation on configuring properties for a BI SAP Query System (<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/4b/9afe3323d14005a283dee9101c66fc/frameset.htm">here</a>) and you're still having problems connecting with the BI SAP Query Connector, i'd suggest you write up a CSS message.
hope it helps;
-m -
Report from SAP Query due by universe
Guys,
I create universe based on SAP Query.
Now I want to build BO report.
So I connect a Universe drag to window my objects, but when I push Run Query I receive error:
A database error ocured.
The database error text is:
The MDX query SELECT { [Measures].[D4M5A7PITT7CVVVC8GMZS6QIH] } ON COLUMNS , NON EMPTY [WLENTITY].[LEVEL01].MEMBERS ON ROWS FROM [Z_ROSDOB/REP_20081202071548] failed to execute with the error See RFC trace file or SAP system log for more details. (WIS 10901)
I can easily build reports based on other queries or cubes.Hi Roman,
This is normally a connection issue when connecting to RDBMS rather than infocubes. a couple of questions
Is you universe set up to pass through the authentication or is it using a specific logon?
Does the user running the report have the appropriate responsiblities to run the query?
Regards
Alan -
Connect to SAP gateway failed- RFC_ERROR_COMMUNICATION
Hi All,
When i try to open query designer or BeX analyser , the following error pops up ;
Error Group
RFC_ERROR_COMMUNICATION
Message
Connect to SAP gateway failed
Connect_PM GWHOST=10.150.1.07, GWSERV=sapgw00, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR partner 10.150.1.07not reached
TIME Tue Feb 12 11:38:06 2008
RELEASE 710
COMPONENT NI (network interface)
VERSION 39
RC -10
MODULE nixxi.cpp
LINE 2985
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 10060
ERRNO TEXT WSAETIMEDOUT: Connection timed out
COUNTER 3
What can i do to solve this problem?
Thanks in advance,Hi,
My problem was solved....
Its problem related to port...
You have to get the port open from ur side as well as the client side...the problem will be solved.....
Regards, -
Connection to SAP gateway failed
I got the following error when i am connecting to BEX( through rrmx & direct from Business explorer) from offshore. onsite people are able to connect BEX.
as we do not have basis consultant we only need to resolve it.
please let me know what all the process I have to do. is there anything i need to contact network perople at client place. is there any settingss i need to do at sm59 tcode.
<b>please find following error message</b>
Error Group
RFC_ERROR_COMMUNICATION
Message
Connect to SAP gateway failed
Connect_PM GWHOST=10.235.245.95, GWSERV=sapgw05, ASHOST=10.235.245.95, SYSNR=05
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host 10.120.130.85, service 3305)
TIME Mon Nov 06 21:53:32 2006
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -10
MODULE nixxi_r.cpp
LINE 8602
DETAIL NiPConnect2
SYSTEM CALL SiPeekPendConn
ERRNO 10061
ERRNO TEXT WSAECONNREFUSED: Connection refused
COUNTER 2
Thanks
LakshmiHi Lakshmi ,
As rightly mentioned by Ganesh, this is supposed to be handlled by Basis+hardware support team.
What you can do as temporary solution, use RSRT for Query Monitor.
And use query display as BEx/HTML, this way you can atleast see the result of query.
Hope it helps. -
Why create BI SAP Query System in EP successful,but visual composer error?
hi,guy,
i create BI SAP Query System in EP test successful.
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection successful .
now,i use VC find data relational system error
error info:
Eroor-21003 cannot retrieve catalogs and schemas.
Failed to connect to backend system. Check your system definition and user privileges.
pls help me.thanks.The connection was previously working and then it stopped after I imported a large amount of data to the SQL db. So the permissions should be fine.
Any other ideas? -
Error when uploading SAP query in ECC6 from 4.5B system
Hi expert ,
I have down loaded SAP Query(infoset) from 4.5B server and now i want to upload this query to ECC6.0. when i upload this query(infoset) to ECC 6 as follows to download step like from SQ02 . but after executing i am getting error
" infoset ZTEST (import option REPLACE)"
" F | Error When generating Transport dataset
I am following all steps even created user group in sq03 which it is in my 4.5b system.
Thanks
ChandraHello,
It won't usually work when you try to download a infoset from a older release and try to upload in a newer version. However there is a workaround for this.
If you debug the program while uploading, you will notice that certain if conditions fail on a few fields in the file you are trying to upload are missing. What i would suggest you to do is, download any infoset from your ECC 6.0 version and keep it as a reference for filling these missing fields into the older version infoset you are trying to upload.
Vikranth -
SAP Query (for Insurance) !!
Hi,
I had created few queries using SAP Query. It works perfectly alright in Dev but when transported to Quality one of them fails to work.
My questions are:
1. I did consistency check. Displays no inconsistencies but still one of the queries does not work. It points out to the error listed below. Could you suggest what rtmode-acc_check is and how could I rectify this error.? I do not have much idea about ABAP.
Error line -> if ( ( %rtmode-acc_check = 'X' and sy-dbcnt > %rtmode-acc_number )
2. In quality system, the report generation is taking ages. Any suggestions to speed it up. I have No Optimization Access unchecked.
Thanks and best wishes in advance,
SMReview following link;
http://www.thespot4sap.com/articles/sap_abap_queries_create_the_query.asp
Thanks. -
SAP query transport error - need help
hello,
The system is throwing the following error when importing the query from development to QA client.
We already have the query imported the first time without errors. This is happening with subsequent transports if there is a change or any modification to the query.
Below is the error log from SAP regarding the failed transport :
R3TRAQQUFI was repaired in this system
Message no. TW104
Diagnosis
Object R3TRAQQUFI is in repair status. Therefore, it cannot be imported.
System Response
The object is not imported.
Procedure
If you still want to import the object, release the relevant repair and repeat the import.
Please help
Thanks in advance.Hi
Here I am sending the step by step procedure for the SAP Query. Hope this helps you, if so please issue points.
1. Go to SQ02 .
Select Environment -> Query Areas
Select Standard Area (Client specific) as show below
2. Select Environment -> Transports
Select Import radio button
Check Overwriting allowed (only with import/upload/copy)
Remove Check for Test Run
Select Transport InfoSets and queries radio button
Fill Infoset and Query with corresponding names
Fill Import option with transport request number.
3. Click on Execute button
With this it will be done.
Thanks for your patience -
Creation of SAP Query in SQ02 with Single Table With Condition
Hi All,
I want to Create SAP Query in SQ02 using single Table MCHA.
ii) I dont want all entries of MCHA Table I mean , I have to apply some Condition on this Table.
i.e Suppose I am having actual data in MCHA table is like this for Material M1.
Plant Material Batch BatchCreationdate
P1 M1 B1 20.06.2007
P2 M1 B1 04.05.2009
P3 M1 B1 04.05.2009
But I want the Output of SAP Query is like this:
Material Batch BatchCreationdate
M1 B1 20.06.2007
That is irrespective of Plant if Material & Batch are equal ---> 1st record with Lowest date shoud get at the output.
Please help me How write the code on single table in the SAP Query.
Thanks,
Kiran ManyamHi,
Your query should be like this:
Select MATNR CHARG HSDAT
from MCHA
into table t_mcha
where matnr = Materlal number from selection screen.
The structure of t_mcha should contain the fields that you select.
Then sort the table by date ascending
Sort t_mcha by HSDAT.
Hope this solves your problem.
Thanks,
Sowmya -
Hello ABAP Guru
I need a help here. trying to create SAP query joining three table VBAK VBAP KONV since KONV being cluster table I am not able to do that
thpough I am suceesfully establishe dthe link
VBAK-VBELN=VBAP-VBELN
VBAK-KNUMV=KONV-KNUMV & VBAP-POSNR=KONV-KPOSN
OSS msg says we have to write routine in sap query
but I never used that option
anyone has any clue on how to use cluster table in SAP query?
Thx
PraveenHi,
Inner Join can't be used for cluster tables.
Write a routine in SAP query as follows.
do inner join on vbak,vbap into internal table
itab.
select for konv for all entries itab .
Regards
Amole -
How to call SAP query in a program
Hi experts
I have created a query in SQVI its gives a result. Now i want this query to be used in my program. Is there any FM which gets the quary name and populates the result in iternal table. So that i can use that result.
I know without query you can write using the tables you can fetch the records but i just want to explore a new way to do things. If any body done such type let me know and also give some sample code or process how to achieve it.
Regards
VijayHi Siva
My final option is that only. That you can do any how. But my intension is to learn something new way. How to do copy the query and where to inject the code is there any example in wiki or artical for that. I want to something new. Old way of creating a report program is possible i want to do this way. If some body could help me out.
@ karthik
I have generated the SAP query and i got the program but when i view the code i dont find any select statment or where storing my input data. How to identity that i did in debug mode but am not sure where it pulls the data and where it put in internal table. Can you throw some light with example code or an article.
Regards
Vijay -
my system logon failed .
i am not able to logon to my ides system. server is starting but while logging into the system by using user name and passward
the following error is coming
user account not in validity date
some other information is also available
logon to SAP system failed
the system description "NEW" cannot be found in the system list.
Make sure that saplogon.ini exists and choose an existing system description in the system list.
RegardsCheck with your Basis. Your account validity is expired. Ask them to increase the validity.
The INI also does not exist on your system. Take the file from Basis and paste it on your PC.
Arti -
SAP QUERY report for vendor line items
Hi
I have created a SAP QUERY report for vendor line items with fields vendor no.,vendor name,amount,company code and period.But there is one line item i donot know from wher system is getting it picked with is not in that vedor account,when i compare with fbl1n.I checked the document number too...the same doc number is twice in my query report.One with correct amount and another with wrong one.How do i chk.Where did i go wrong in creating query.I used logical database KDF.
Please advise.i chked...how do we get the amount displayed in query...it just displays amount no debit credit symbol... i have selected BSEG-DMBTR field but no -/+ sign,how is it done in query,please suggest.
Maybe you are looking for
-
When i type in my log in and password and enter, the site either returns to the blank screens or does nothing. This is not limited to one or two sites. all of my financial institutions, electric company, insurance companies, even trying to register h
-
Business Packages - Release availability information in SDN
Hello experts, is the information related to "Primary Backend System" for Business Packages listed at https://www.sdn.sap.com/irj/sdn/contentportfolio a minimum release requirement or an exact match? Example: Business Package for Compensation Special
-
Slideshow - does not run! What have I done wrong?
It's stuck on the first image, does not run to the next. Can't remember that I done any changes. What have I done wrong?
-
Where do I find passbook on my iPad
Where do I find passbook on my iPad
-
Cant install new i tunes, cant uninstall old i tunes
after upgrading to itunes 9.1 in the usual manner it froze and slowed computer down. Decided to uninstall and re-install afresh but wont let me uninstall old itunes and i get an message saying 'the feature you are trying to use is on a network resour