Report is not fetching the data from Aggregate..
Hi All,
I am facing the problem in aggregates..
For example when i am running the report using Tcode RSRT2, the BW report is not fetching the data from Aggregates.. instead going into the aggregate it is scanning whole cube Data....
FYI.. Checked the characteristcis is exactely matching with aggregates..
and also it is giving the message as:
<b>Characteristic 0G_CWWPTY is compressed but is not in the aggregate/query</b>
Can some body explain me about this error message.. pls let me know solution asap..
Thankyou in advance.
With regards,
Hari
Hi
Deactivate the aggregates and then rebuild the indexes and then activate the aggregates again.
GTR
Similar Messages
-
Report is not pulling the data from multiprovider in BI 7.0
Hi BW gurus,
We have upgraded our BW systems from 3.5 to BI 7.0.
According to our requirement we did some modifications(added some new cubes) to existing multiprovider. All the objects and assignments looks good in the multiprovider.
We are facing a problem while executing the reports, report is not pulling any data from the particular multiprovider but I can see the data from the multiprovider.
For any selection creteria we are getting the msg like "No applicable data found".
Created a sample query with only two chars and two KF's no conditions, no exceptions still the report is not populating any data for any selection creteria.
Appreaciate for your help in this regard.
-BKHi
Deactivate the aggregates and then rebuild the indexes and then activate the aggregates again.
GTR -
The report can not retrieve the data from the DB
Dear all,
I am facing a problem is that i have ready designed reports in Crystal. While refreshing the report in Crystal, it gives an error that it can not retrive the information from the database. But, if i am using the application which the report is attached, it is giving me the results and showing the report in Crystal. Even, for testing if i add a new field, i have to run it from the application, but directly from the Crsytal Reports, it displays an error.
I hope you will help me in the issue.Could you please provide more information:
What is the database? (Oracle, SQL Server, xml, etc.)
What type of connectivity? (ODBC, Native, OLE DB, etc)
Are application and Crystal Reports are running from the same machine?
What is the error message? Any error numbers? -
KE30 is not picking the data from summarization level
Hi Techies,
We are facing one issue in KE30 tcode.
We are able to run the same report in our QLTY, its showing "Data is getting fetched the data from summarization level 33" and we can see the output within 5 mins, But if we use same parameters in PRO, its showing "Data is getting fetched from segment level".
So we are not getting data in PRO, its throwing TIME_OUT error....
Request you to suggest how we can map these summarization level to the particular report.
*We have already rebuilt and refreshed the summarization levels, then also it is being picked from segment level.
Thanks in advance,
NIck LoyHi,
In KE30 right click on the report. Click on change. Go to the options tab. In the performnace block check if radio button "use a summarization level" is selected.
If the customizing is correct then the select stamenet generated by the report may not be in sync with the summ level i.e. the chars in the selection of the report must be there in the summ level.
regards
Waman -
How to fetch the data from databse table and get the required output
Hi,
I have made a project that connects CEP to database table but i m getting some problem in fetching the data from database.
From the following code :
If the where condition is removed then the application runs fine but i am still not able to fetch the data from the table because it is not showing any output.
Can anyone please suggest me that how to write WHERE statement correctly and how i will be able to see the output.
Following is the config.xml for processor:
======================================
<?xml version="1.0" encoding="UTF-8"?>
<wlevs:config xmlns:wlevs="http://www.bea.com/ns/wlevs/config/application"
xmlns:jdbc="http://www.oracle.com/ns/ocep/config/jdbc">
<processor>
<name>JDBC_Processor</name>
<rules>
<query id="q1"><![CDATA[
SELECT STOCK.SYMBOL as symbol, STOCK.EXCHANGE as exchange
FROM ExchangeStream [Now] as datastream, STOCK
WHERE datastream.SYMBOL = datastream.SYMBOL ]]></query>
</rules>
</processor>
<jms-adapter>
<name>JMS_IN_Adapter</name>
<jndi-provider-url>t3://CHDSEZ135400D:7001</jndi-provider-url>
<destination-jndi-name>jms.TestKanikaQueue</destination-jndi-name>
<user>weblogic</user>
<password>welcome1</password>
</jms-adapter>
</wlevs:config>
Following is the assembly file:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:osgi="http://www.springframework.org/schema/osgi"
xmlns:wlevs="http://www.bea.com/ns/wlevs/spring" xmlns:jdbc="http://www.oracle.com/ns/ocep/jdbc"
xmlns:spatial="http://www.oracle.com/ns/ocep/spatial"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/osgi
http://www.springframework.org/schema/osgi/spring-osgi.xsd
http://www.bea.com/ns/wlevs/spring
http://www.bea.com/ns/wlevs/spring/spring-wlevs-v11_1_1_3.xsd
http://www.oracle.com/ns/ocep/jdbc
http://www.oracle.com/ns/ocep/jdbc/ocep-jdbc.xsd
http://www.oracle.com/ns/ocep/spatial
http://www.oracle.com/ns/ocep/spatial/ocep-spatial.xsd">
<wlevs:event-type-repository>
<wlevs:event-type type-name="StockEvent">
<wlevs:properties>
<wlevs:property name="SYMBOL" type="byte[]" length="16" />
<wlevs:property name="EXCHANGE" type="byte[]" length="16" />
</wlevs:properties>
</wlevs:event-type>
<wlevs:event-type type-name="ExchangeEvent">
<wlevs:class>com.bea.wlevs.event.example.JDBC_CEP.ExchangeEvent</wlevs:class>
</wlevs:event-type>
<wlevs:event-type type-name="StockExchangeEvent">
<wlevs:properties>
<wlevs:property name="symbol" type="byte[]" length="16" />
<wlevs:property name="price" type="byte[]" length="16" />
<wlevs:property name="exchange" type="byte[]" length="16" />
</wlevs:properties>
</wlevs:event-type>
</wlevs:event-type-repository>
<bean id="readConverter" class="com.bea.wlevs.adapter.example.JDBC_CEP.Adapter_JDBC" />
<bean id="outputJDBCBean" class="com.bea.wlevs.bean.example.JDBC_CEP.OutputBean_JDBC">
</bean>
<wlevs:adapter id="JMS_IN_Adapter" provider="jms-inbound">
<wlevs:listener ref="ExchangeStream" />
<wlevs:instance-property name="converterBean"
ref="readConverter" />
</wlevs:adapter>
<wlevs:processor id="JDBC_Processor" advertise="true">
<wlevs:listener ref="OutputChannel" />
<wlevs:table-source ref="STOCK" />
</wlevs:processor>
<wlevs:channel id="ExchangeStream" event-type="ExchangeEvent" advertise="true">
<wlevs:listener ref="JDBC_Processor" />
</wlevs:channel>
<wlevs:channel id="OutputChannel" event-type="StockExchangeEvent"
advertise="true">
<wlevs:listener ref="outputJDBCBean" />
</wlevs:channel>
<wlevs:table id="STOCK" event-type="StockEvent"
data-source="StockDs" table-name="STOCK" />
<wlevs:table id="STOCK_EXCHANGE" event-type="StockExchangeEvent"
data-source="StockDs" table-name="STOCK_EXCHANGE" />
</beans>
ExchangeEvent.java:
package com.bea.wlevs.event.example.JDBC_CEP;
public class ExchangeEvent {
public String SYMBOL;
public String symbol;
public String exchange;
public ExchangeEvent() {
public String getSYMBOL() {
return SYMBOL;
public void setSYMBOL(String sYMBOL) {
SYMBOL = sYMBOL;
public String getSymbol() {
return symbol;
public void setSymbol(String symbol) {
this.symbol = symbol;
public String getExchange() {
return exchange;
public void setExchange(String price) {
this.exchange = price;
Adapter Class:
package com.bea.wlevs.adapter.example.JDBC_CEP;
import com.bea.wlevs.adapter.example.JDBC_CEP.MyLogger;
import com.bea.wlevs.adapters.jms.api.InboundMessageConverter;
import java.text.DateFormat;
import java.util.Date;
import com.bea.wlevs.adapters.jms.api.MessageConverterException;
import com.bea.wlevs.event.example.JDBC_CEP.ExchangeEvent;
import javax.jms.JMSException;
import javax.jms.Message;
import javax.jms.TextMessage;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
public class Adapter_JDBC implements InboundMessageConverter{
@SuppressWarnings("unchecked")
public List convert(Message message) throws MessageConverterException, JMSException {
Random rand = new Random();
int unique_id = rand.nextInt();
DateFormat dateFormat;
dateFormat = DateFormat.getTimeInstance();
dateFormat.format(new Date());
MyLogger.info(unique_id + " CEP Start Time is: " + dateFormat.format(new Date()));
System.out.println("Message from the Queue is :"+ message);
TextMessage textMessage = (TextMessage) message;
String stringMessage = textMessage.getText().toString();
System.out.println("Message after getting converted into String is :"+ stringMessage);
String[] results = stringMessage.split(",\\s*"); // split on commas
ExchangeEvent event1 = new ExchangeEvent();
event1.setSYMBOL(results[0]);
List events = new ArrayList(2);
events.add(event1);
return events;
Output Bean Class :
package com.bea.wlevs.bean.example.JDBC_CEP;
import com.bea.wlevs.ede.api.StreamSink;
import com.bea.wlevs.event.example.JDBC_CEP.ExchangeEvent;
import com.bea.core.datasource.DataSourceService;
public class OutputBean_JDBC implements StreamSink{
public void onInsertEvent(Object event) {
if (event instanceof ExchangeEvent) {
ExchangeEvent cacheEvent = (ExchangeEvent) event;
System.out.println("Symbol is: " + cacheEvent.getSymbol());
System.out.println("Exchange is: " + cacheEvent.getExchange());
System.out.println(DataSourceService.class.getClass());
Kindly let me know if you need further info.Do you have StockDs configured in your server config.xml?
I think the query should look more like this:
SELECT stocks.SYMBOL, stocks.EXCHANGE
FROM STOCK as stocks, ExchangeStream [Now] as datastream WHERE stocks.SYMBOL = datastream.SYMBOL
Thanks
andy -
Error in fetching the data from textfield and inserting to the database..
I'm using Java Swing as front end and MySQL as backend using the netbeans ide..I am trying to fetch the data from the textfiled in the form and insert to the database table.i've skipped the generated code..In the following code i get the erro cannot find symbol "stmt" in the actionPerformed method..
mport java.awt.event.*;
import java.sql.*;
public class BarcodeReader extends JFrame implements ActionListener {
public BarcodeReader() {
initComponents();
nb.addActionListener(this);
public void jdbcConnect(){
Connection con=null;
String url = "jdbc:mysql://localhost:3306/";
String db = "mynewdatabase";
String driver = "com.mysql.jdbc.Driver";
String user = "usrname";
String pass = "pwd";
try{
String s=newtxt.getText();
con=DriverManager.getConnection(url + db, user, pass);
Statement stmt=con.createStatement();
Class.forName(driver);
public void actionPerformed(ActionEvent e){
try{
jdbcConnect();
stmt.executeUpdate("INSERT into machine(mname) values '"+jTextField1.getText()+"'");
}}catch (Exception ex) {
System.out.println(ex);
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new BarcodeReader().setVisible(true);
}There are far too many errors to try and clear.
For one, the exception references the actionPerformed method (according to your text), so why is that not shown here?
For another you are performing, possible time-consuming, actions, and even worse IO actions, on the event thread, which is a huge no-no.
You are not closeing your resources properly, if at all, which is another huge no-no.
You are completely mixing your "view" (the gui), and your "model" (the data related classes), which is another huge no-no.
etc, etc, etc. -
Fetch the data from the tables in the SQL 2005 server to sap R/3.
Hi Experts,
We need to fetch the data from the tables in the SQL 2005 server to sap R/3.
Please explain which will be the best approach to fetch the same and how to do it. Sample program can greatly help.
<< Please do not offer points >>
Regards,
Shobana K
Edited by: Rob Burbank on Sep 21, 2010 2:36 PMHi,
Try NATIVE SQL statements in your abap code otherwise you can try to establish jdbc connection from ABAP program.
search in SDN for samples!
Suresh -
Fetch the data from two tables
hell all
i want to fetch the data from two tables, one is from internal table and another one is data base table. what syntax i have to use either FOR ALL ENTRIES or INNER JOIN?hi
Use FOR ALL ENTRIES.
see the sample code
select * into table tvbrk from vbrk
where fkart in ('F2', 'F3', 'RE',
'ZVEC' , 'ZVEM' , 'ZVED',
'S1')
and erdat in so_erdat
and kunag in s_kunag.
erdat in so_erdat
and fkart in ('F2', 'F3', 'RE',
'ZVEC' , 'ZVEM').
if not tvbrk is initial.
select * into table t_zregion from zregion
for all entries in tvbrk
where country = tvbrk-land1
and region = s_regio.
endif.
thanks
sitaram -
Trying to fetch the data from backend but its throwing an exception
Trying to fetch the data from backend by clicking on a search button, but its throwing an exception
ex: Could not create JCOClientConnection for logical System: MIGATEST_MODELDATA_DEST - Model: class org.wb.operations.testflightmodel.FlightModel. Please assure that you have configured the RFC connections and/or logical system name properly for this model!
can anyone help me how i can proceed further.
regards,
Suresh.Hello,
Go to http://<servername>:<port>/webdynpro/welcome and check whether the destination name MIGATEST_MODELDATA_DEST exists there and working fine.
Ashu -
I can not count the data from the module. Can prompt as it to make. It is desirable with examples (data read-out from the module and data transmission between channels. It is in advance grateful.
Hello. Most of the engineers in developer exchange are more familiar
with NI products. Contacting ICS for technical support is a better
course of action. -
Unfortunately, I lost by an update all the apps on my iPad 2. Now I can not pull the data from the cloud to my iPad. How is this possible?
If you just installed iCloud does that mean you updated the iOS that's running on your iPad? If so, you'll want to restore all the programs you have from the backup you hopefully made.
Refer to these articles for help.
iTunes: Backing up, updating, and restoring iOS software.
If you don't want to use iCloud, simply don't activate it.
You can also download the programs again.
If you live in a country that supports re-downloading apps then you can re-download them. You can refer to this article for more help.
Downloading past purchases from the App Store and iTunes Store
What to know if your country supports downloading past purchases?
iTunes in the Cloud Availability -
How to Fetch the Data from a Cube
Dear All,
We created a cube containing dimensions
Customer, Product, Branch, Activity, Time dimensions
using Oracle Analytical WorkSpace Manager.
Once Cube is created,
How can I see the Data existing in the Cube using normal SQL Queries ??? Through Analytical Workspace Manager Toll we r able to see the data. But our requirement is to see the data from the Cube using SQL Queries.
Regards,
S.Vamsi KrishnaHey I got the Solution. It follows in this way :
A Cube is nothing but a Data Storage. Based on the Mapping we given it considers the data.
To fetch the data from the Cube -> we have to write the SQl Query as below :
SELECT dealer_name,model_name,sales
FROM TABLE(OLAP_TABLE('MDB.FINAL_AW DURATION SESSION',
'DIMENSION dealer_name AS varchar2(30) FROM FINALDEAL
DIMENSION model_name AS varchar2(30) FROM FINALMODEL'));
We can create View for the above statement o
we can apply group by ,rollup, etc etc clauses
and even we can write where clauses for the above select statement.
But now my doubt is :
can we apply any calculations while mapping the Level to an Dimension.
Generally we will map Level toa dimension as DBUSER.TABLENAME.COLUMN NAME
can we apply any calculation like :
MIS.PROPKEY020MB.MATURITY_DATE+2
Please help for the above.
If any wrong is there please let me know
Regards,
S.Vamsi Krishna
can we apply -
Fetch the data from the Data base based on selection criteria in ABAP
Hi
I am new to ABAP and working on the Screen where User Enters Company code from and to , Document no and to, I have defined as specified below
SELECT-OPTIONS Company FOR p_ccode.
SELECT-OPTIONS Document FOR p_fdocnr.
SELECT-OPTIONS Year FOR p_fyear.
When I debug in the pgm I get the values as
IBT11001100 (From and To Company Code)
IBT23234241002323424246 (From and To doc no)
IBT20092009 (From and To Year)
How can write a SQL select statement to fetch the data from the Database based on the above inputs
Thanks
PRModerator message:
Sorry - this isn't an ABAP training forum. Please press F1 on SELECT-OPTIONS and/or SELECT.
Thread locked.
Rob -
Extractor class to fetch the data from PA0105
Hi All,
Can anyone suggest me the extractor class used to fetch the data from the table PA0105.
Any information regarding this will be highly helpful.If you give PA0105 all data will be extracted.
Or if you need any specific data you need to know the filed names first. check the table from SE16 for identifying the field names. and do it accordingly.
Please reward points
Regards
Venu -
Dear Friends,
Kindly share your knowledge
<b>Scenerio - one end Tibico other end SAP</b>
I want to fetch the data from Tibico, there is no FTP server, and out of network, Suggest me to select which appropriate adapter i should go far.Hi,
You can think of SOAP adapter or java proxy for this.
Also look into similar discussions~
XI integration with Tibco
XI Integration with Tibco EMS (Using JMS Adapter)
Following document will give good idea about 3rd party adapters-
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d9faa8c4-0801-0010-de99-82601fed569a
Regards,
Moorthy
Maybe you are looking for
-
HT202631 How can I use my iTunes credit when part of Family Sharing?
I'm part of my Family Sharing with my family, but now can't use my iTunes credit that's on my account to make purchases. How do I change that?
-
How do I clear unread messages in mail?
They're all read, but still shows unread messages on my home page. It's very frustrating!!
-
Cant hear clearly!!!
I have a 2630; whenever i talk to my friends both of us cant hear others clearly, the voice is very deep , so how can i fix this problem, thanks
-
On a mac the type tool will not display when i double click on the type button in the layers panel
The type tool will not display. So I can't change text format.
-
Has anyone seen code for improved implementations of the HTMLDocument and HTMLEditorKit objects? The javax.swing.text.html.HTMLEditorKit class seems to be a long way from allowing a developer to easily whip up even a basic HTML editor application. Th