Error reading data from Infocube using shell script.

Dear all ,
I am facing a problem while reading data from an infocube using a shell script.
The details are as follows.
One of the shell script reads the data from the infocube to extract files with the values.
The tables used for extraction by the shell script are :
from   SAPR3."/BIC/F&PAR_CUBE.COPA"     FCOPA,
       SAPR3."/BIC/D&PAR_CUBE.COPAU"    COPAU,
       SAPR3."/BIC/D&PAR_CUBE.COPAP"    COPAP,
       SAPR3."/BIC/D&PAR_CUBE.COPA1"    CCPROD,
       SAPR3."/BIC/D&PAR_CUBE.COPA2"    CCCUST,
       SAPR3."/BIC/D&PAR_CUBE.COPA3"    COPA3,
       SAPR3."/BIC/D&PAR_CUBE.COPA4"    COPA4,
       SAPR3."/BIC/D&PAR_CUBE.COPA5"    COPA5,
       SAPR3."/BIC/MCCPROD"      MCCPROD,
       SAPR3."/BIC/SCCPROD"      SCCPROD,
       SAPR3."/BIC/MCCCUSTOM"    MCCCUSTOM,
       SAPR3."/BIC/SCCCUSTOM"    SCCCUSTOM,
       SAPR3."/BIC/SORGUNIT"     SORGUNIT,
       SAPR3."/BIC/SUNIMOYEAR"   SUNIMOYEAR,
/*     SAPR3."/BI0/SFISCPER"     SFISCPER, */
       SAPR3."/BI0/SREQUID"      SREQUID,
       SAPR3."/BI0/SCURRENCY"    SCURRENCY,
       SAPR3."/BIC/SSCENARIO"    SSCENARIO,
       SAPR3."/BIC/SSOURCE"      SSOURCE
The problem is that the file generation by this script (after reading the data from teh infocube) is taking an unexpected time of 2 hours which needs to be maximum 10 mins only.
I used RSRV to get the info about these tables for the infocube:
Entry '00046174', SID = 37 in SID table is missing in master data table /BIC/MCUSLEVEL2
Entry '00081450', SID = 38 in SID table is missing in master data table /BIC/MCUSLEVEL2
and so on for SID = 39  and SID = 35 .
Checking of SID table /BIC/SCUSLEVEL2 produced errors
Checking of SID table /BIC/SCUSLEVEL3 produced errors
Can you please let me know if this can be a reason of delay in file generation (or reading of data from the infocube).
Also , Please let me know how to proceed with this issue.
Kindly let me know for more information, if required.
Thanks in advance for your help.
-Shalabh

Hi ,
In continuation with searching the solution to the problem , I could manage to note a difference in the partition of the Fact table of the infocube.
Using SE14 -> Storage Parameters, I could find the partition done for the fact table as :
PARTITION BY: RANGE
COLUMN_LIST: KEY_ABACOPA
and subsequently there are partitions with data in it.
I need to understand the details of these partitions .
Do they correspond to each requests in the infocube(which may not be possible as there are 13 requests in infocube and much more partitions).
Most importantly, since this partition is observed for this onfocube only and not for other infocubes, it is possible that it can be a reason for SLOW RETRIEVAL of data from this ionfocube( not sure since the partition is used to help in fast retreival of data from the infocubes).
Kindly help.
Thanks for your co-operation in advance.
-Shalabh

Similar Messages

  • Error reading data from infocube using RSDRI_INFOPROV_READ

    hi,
    I am trying to write a Function module to read data from an Infocube.
    This is a remote enabled Function module and is working fine if I make a few minor changes and customize it to read data from a  case of a DSO.
    However, for cube, code is showing no syntax errors, but on execution is not returning any data also.
    I have tried defining E_T_data as E/F/V tables of the cube, but still not getting any output.
    Probably this is related to structure of E_T_data only. . . .
    Can anyone please guide me on this.
    regards
    Parikshit.

    Hello,
    E_T_DATA needs to defined as an internal table with all the fields you need as an O/P from the infocube you are trying to fetch data from. Just make sure, you keep the name of the fields same as Name of the infoobjects in the Cube. So just define e_t_data Standard internal table with all fields you want to fetch from Infocube (name of fields same as infoobject name).
    Also fill in the g_th_sfc, g_th_sfk internal tables with the list of characteristics and Keyfigues you wanna o/p with chanm/kyfnm field populated with exact name of infoobject and chaalias/kyfalias same as defined in g_t_data (good to keep both same).
    Thanks
    Edited by: Sandesh Shetty on Jul 29, 2008 2:26 PM

  • Error when reading data from XML using JAXB?

    Hi all,
    I get the error message when reading data from XML using JAXB.
    [org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.]
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException
    (AbstractUnmarshallerImpl.java:315)
         at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:481)
         at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:199)
         at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:142)
    I don't find the reason, please help!
    Thanks in advance!

    The problem is sovled.

  • How to Read data from Infocube

    Dear Friends,
    I have requirement to read data from Infocube.
    I know the Function module(FM) which SAP provided. The FM name is RSDRI_INFOPROV_READ.
    But when i am trying to execute this FM in SE37, it giving "Error generating the test frame" message.
    I called this FM in start routine, it giving error while loading.
    If any using this please let me know, how to use this. If any have sample code, please share.
    Thx
    Raj

    Hi,
    i used to check documentation all time, but this time I forgot to check.
    It is well documented. thx for igniting my mind.
    bye
    Raj

  • Error reading data from static cursor cache.

    Hi,
    Does anyone know what causes this error below. It just started happening out of the blue. I'm running Apache Tomcat 4.1 on Win 2000 server with MS SQL Server 2000 database.
    Error:
    java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Error reading data from static cursor cache.
    Thanks,
    TR

    hi,
    i had a similar sort of error, something along the lines of "error setting up static cursor cache" using the SQL JDBC drivers on Win2K. i deleted the file entries in the TEMP folder of c:\documents and settings\<user>\Local Settings\TEMP and everything was cool after it. i'm not sure what the exact issue is (probably something like maximum folder size had been reached). i ran the FileMon utility from www.sysinternals.com and it reported a DISK_FULL error on a temporary file being read by the process. to cut a long story short, everything is NOW cool.
    cheer,
    dara

  • HTTP-500 Error Reading Data from Client!!

    I'm trying to create a page where by clients are able to contact us through the portal. So, it's a pretty basic form where I have a text box for the subject, and a text area for the message body.
    My problem is when the message body is over a certain size, I'm getting a "portlet cannot be contacted" on my screen. The Apache log comes up with the error:
    [error] mod_plsql: /pls/portal/!PORTAL.wwpob_page.show HTTP-500 Error Reading Data from Client!!
    I'm not using a windows OS, so the bug that has been talked about previously talked about shouldn't be the problem.
    Also, I am using a POST rather than a GET, so I don't think it has to do with the browser (and I have tested this on Firefox and IE 5.5 and IE 6).
    Would appreciate any advise.
    Thanks, Nicky

    Are you using SSL? Maybe, it has to do with it. I encountered a similar problem. It turned up that this read error occurred inside Apache and was caused by a nonstandard-SSL-request by Internet Explorer. te remedy was to add this to the Apache configuration:
    SetEnvIf     User-Agent     ".*MSIE.*"     \
    nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
    It tells Apache to switch to HTTP/1.0 and to never keep open socket connections with MSIE on SSL connections.
    Lycka till!

  • Error reading data from the MS Dos Console.

    Hi,
    We have a legacy application which is launched via a 3rd-party Telnet Server - the app acts as a remote shell for an RF device. The system has been functioning for many years but now we have migrated to Server 2012 the system no longer launches.
    The RF device successfully connects to the telnet server, logs-in with embedded credentails but drops the connection when the shell application is launched.
    The server has the following Application error
    Error reading data from the MS Dos Console.
    The pipe has been ended. 109 (0x6d)
    The application can successfully be launched locally outside of the shell on the server. The error is reproducable across RF devices and desktop telnet connections.
    The firewalls are off.
    Are there some additional protections in Server 2012 which would cause the pipe-based link to be stopped when launching the exe? Am I missing something? The 3rd-party telnet server is certified for Server 2012.
    Thnak you

    I'd ask in the
    Windows Server General Forum, or ask the third party vendor.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer
    My Blog: http://unlockpowershell.wordpress.com
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})

  • Error reading data from an infocube

    Hello,
    I want to read data from a remote infocube in tcode listcube, and I get this 2 error messages: "Error reading the data of InfoProvider IC_SNP_DR" and "Error when generating program". This is a remote cube reading data from a SNP Planning Area.
    I´ve already activated Plng Object Strucuture 9ASNPBAS and repair all infoobject but in tcode /SAPAPO/MSDP_ADMIN in 9ASNPBAS I get message "Not All InfoObjects Can Be Read". Is this why I get the error in reading the infocube?
    Does anyone know why I get this errors and how to solve them?
    Thanks and Regards,
    Teresa Lopes

    Teresa
      From   /SAPAPO/MSDP_ADMIN go to extras/data extraction tools.  This gives you all the things you need to manage the extractors on the snp planning areas.  you can use RSA3 to test the extractor and pull data to a list.  Are you sure you want to extract using the total POS  (9SNPBAS).  Based on the data you need you might want to extract based on one of the standard SNP aggregates.  MALO  (material location) for example.
    You mention that the POS was active.  Make sure you Planning area is also initialized
    George

  • Error while reading data from MapMessage using MDB

    Hi,
    I have written a small client program to send a message to a queue and an MDB receives the message in the onMessage() method. The message is of type MapMessage. I set key value pairs and send the message in a queue. When I try to read data from MapMessage inside onMessage() method of MDB, I get an exception:-
    javax.jms.MessageNotReadableException: In write mode
    When I send the message, by default the readonlymode is false. How do I set the mode to readonly exclusively in case of MapMessage ?
    Sirisha

    Hi,
    I do not have any problem with TextMessages...I works fine..It is only with MapMessage that I am not able to read the values..Before sending the message, the message has the flag "readMode" set to false by default by the server...R there any configurations to be made to any files like web.xml or server.xml or jms.xml ?
    I am running my JMS application on JDeveloper IDE that has an in-built OC4J server which supports JMS.

  • Reading data from infocube

    Hi all,
    We have an infocube which contains some figures like number of days, number of hours etc. We should calculate some indicators on them, something like:
    Ind = Hours1 * 100 / Hours1 + Hours2
    where Hours1 and Hours2 are figures which come from two different records, with codes 1 and 2.
    We are not using BEx, but some other reporting tool which takes quite a long time over it. So we were asked to write an ABAP program which should read the data out of the InfoCube and calculate these indicators on basis of such fomulas.  Writing a Transfer Rule with the InfoCube as DataSource proved not to be such a good idea because data is split in packages for the upload, so a subroutine within the transfer rule might not be able to find the records with codes 1 and 2 within the same package and that gives errors.
    The question is: does anyone know of programs/functions/classes which could do the job? so read data from the infocube and eventually update it back into the infocube after the calculations?
    Thanks in advance,
    Ioana

    Hi Ioana,
    maybe Analysis Process Designer (APD) can solve your problem. In an APD process you can read the data from any InfoProvider, calculate your key figures in an ABAP routine and write the result to an ODS. This ODS has to be transactional and can't be directly reported, but you can report the ODS data by defining an InfoSet on it; you can also write the ODS data to any cube via the data mart interface. The data package split shouldn't be a problem in the APD process because you can define a partitioning characteristic in the APD routine.
    The APD is available in BW 3.x via transaction RSANWB.
    Martin

  • Error reading data from CLOB column into VARCHAR2 variable

    Hi all,
    Am hitting an issue retrieving data > 8K (minus 1) stored in a CLOB column into a VARCHAR2 variable in PL/SQL...
    The "problem to be solved" here is storing DDL, in this case a "CREATE VIEW" statement, that is longer than 8K for later retrieval (and execution) using dynamic SQL. Given that the EXECUTE IMMEDIATE statement can take a VARCHAR2 variable (up to 32K(-1)), this should suffice for our needs, however, it seems that somewhere in the process of converting this VARCHAR2 text to a CLOB for storage, and then retrieving the CLOB and attempting to put it back into a VARCHAR2 variable, it is throwing a standard ORA-06502 exception ("PL/SQL: numeric or value error"). Consider the following code:
    set serveroutput on
    drop table test1;
    create table test1(col1 CLOB);
    declare
    cursor c1 is select col1 from test1;
    myvar VARCHAR2(32000);
    begin
    myvar := '';
    for i in 1..8192 loop
    myvar := myvar || 'a';
    end loop;
    INSERT INTO test1 (col1) VALUES (myvar);
    for arec in c1 loop
    begin
    myvar := arec.col1;
    dbms_output.put_line('Read data of length ' || length(myvar));
    exception when others then
    dbms_output.put_line('Error reading data: ' || sqlerrm);
    end;
    end loop;
    end;
    If you change the loop upper bound to 8191, all works fine. I'm guessing this might have something to do with the database character set -- we've recently converted our databases over to UTF-8, for Internationalizion support, and that seems to have changed underlying assumptions regarding character processing...?
    As far as the dynamic SQL issue goes, we can probably use the DBMS_SQL interface instead, with it's EXECUTE procedure that takes a PL/SQL array of varchar2(32K) - the only issue there is reading the data from the CLOB column, and then breaking that data into an array but that doesn't seem insurmountable. But this same basic issue (when a 9K text block, let's say, turns into a >32K block after being CLOBberred) seems to comes up in other text-processing situations also, so any ideas for how to resolve would be much appreciated.
    Thanks for any tips/hints/ideas...
    Jim

    For those curious about this, here's the word from Oracle support (courtesy of Metalinks):
    RESEARCH
    ========
    Test the issue for different DB version and different characterset.
    --Testing the following PL/SQL blocks by using direct assignment method(myvar := arec.col1;) on
    different database version and different characterset.
    SQL>create table test1(col1 CLOB);
    --Inserting four CLOB data into test1.
    declare
    myvar VARCHAR2(32767);
    begin
    myvar := RPAD('a',4000);
    INSERT INTO test1 (col1) VALUES (myvar);
    myvar := RPAD('a',8191);
    INSERT INTO test1 (col1) VALUES (myvar);
    myvar := RPAD('b',8192);
    INSERT INTO test1 (col1) VALUES (myvar);
    myvar := RPAD('c',32767);
    INSERT INTO test1 (col1) VALUES (myvar);
    commit;
    end;
    --Testing the direct assignment method.
    declare
    cursor c1 is select col1, length(col1) len1 from test1;
    myvar VARCHAR2(32767);
    begin
    for arec in c1 loop
    myvar := arec.col1;
    --DBMS_LOB.READ(arec.col1, arec.len1, 1, myvar);
    dbms_output.put_line('Read data of length: ' || length(myvar));
    end loop;
    end;
    The following are the summary of the test results:
    ===================================
    1. If the database characterset is WE8ISO8859P1, then the above direct assignment
    method(myvar := arec.col1;) works for database version 9i/10g/11g without any
    errors.
    2. If the database characterset is UTF8 or AL32UTF8, then the above direct assignment method(myvar := arec.col1;) will generate the "ORA-06502:
    PL/SQL: numeric or value error" when the length of the CLOB data is greater
    than 8191(=8K-1). The same error can be reproduced across all database versions
    9i/10g/11g.
    3. Using DBMS_LOB.READ(arec.col1, arec.len1, 1, myvar) method to read CLOB data into a VARCHAR2 variable works for both WE8ISO8859P1 and UTF8
    characterset and for all database versions.
    So - it seems as I'd surmised, UTF8 changes the way VARCHAR2 and CLOB data is handled. Not too surprising, I suppose - may you all be lucky enough to be able to stay away from this sort of issue. But - the DBMS_LOB.READ workaround is certainly sufficient for the text processing situations we find ourselves in currently.
    Cheers,
    Jim C.

  • Read data from SharePoint using ABAP sql command

    We need to read data from a SharePoint site and update the sap object services with the information. There is a lot of information on how to put data into Sharepoint from SAP, but we need to get data from SharePoint and put it into SAP. Is it possible to retrieve data from SharePoint using sql command in ABAP program? If it is possible, what do we need to do to have SAP recognize where to get the SharePoint data?
    Richard Newman

    Hi Newman,
    You can use native sql in your abap code to read data from SharePoint's database. But I would suggest you to generate a SharePoint webservice which can provide you the neccessary data so that you can consume this webservice in ABAP
    (Will be quite faster than native sql).
    Regards,
    Ozcan.

  • Error reading data from Info Provider

    Hi Folks,
    I am executing a report and am getting the following error message:
    Error reading data of Info Provider.
    System Error: Whole Number Overflow on Multiplication.
    The infoprovider being read is a Virtual Info provider Based on DTP/3.x InfoSource.
    Let me know what could be the potential problem here ? How would I fix such issues.
    Regards
    Arjun

    Hello,
    There is some problem in data. Check if in transformation u have any formulas or routines.
    regards,
    Shashank

  • DUMP ANALYSIS- DBIF_RSQL_INTERNAL_ERROR    when reading data from infocube

    HI ALL,
    When i am trying to read the data from an info provider RSDRI_INFOPROV_READ.
    the runtime error which is comig is DBIF_RSQL_INTERNAL_ERROR
    it is throwing a dump which says An internal error in the database interface occurred during access to
    the data of table "RSMDATASTATE ".
    the lines at which it is dumping are
    SELECT SINGLE * FROM RSMDATASTATE
    INTO E_S_DATASTATE
    WHERE INFOCUBE = I_INFOCUBE
    I checked in the table RSMDATASTATE it is having an entry for the required infoprovider.
    Please suggest me if anybody across this error in the past.
    is there anything to do with cube settings rool ups and compression or something. Please suggeste me.
    Thanks in advance
    Best regards
    SG

    check this thread...
    [Function Module 'RSDRI_INFOPROV_READ';
    --- thanks...

  • Read data in InfoCube using Planning Function

    Hi Expert,
    someone know the appropriate FMs for reading data in an infocube and provide data, from the same infocube, to the bps cube using FM-Init and FM-Exit in a planning Function?
    Many Thanks in advance
    Fabio

    You could try to use FM RSDRI_INFOPROV_READ: it will give you back the data in E_T_DATA.
    Hope it helps
    Regards

Maybe you are looking for

  • Why is the crop tool in Lightroom 5 so sluggish on my otherwise very fast machine?

    I'm running a Macbook Pro Retina, new from this time last year.  It's got 16gb RAM, a 768gb SSD (with about 150gb free space), and 2.8GHz processor.  Everything else is lightening fast on my system.  Lightroom is fine otherwise, but the crop tool is

  • I-tunes 10.2 will not Launch, but appears in Task Manager Processes

    Hi all, apologies for the repost here, but i have yet to find a solution and im new to the boards (i hope im not breaking etiquette!) My problem is with Itunes not launching in windows 7 64 bit. * I have uninstalled/reinstalled all itunes/quicktime c

  • CRM IC WebClient: Check Web Input for OO

    Hi all experts, I am new to the enhancement of CRM. So, all kind of helps will be greatly appreciated. For your info, I'm using CRM version 5.0 My requirement is to add extra field ID number at Identify Account Screen at Webclient. I have extended an

  • Service.connect fails occasionally with strange error

    I've created an application which checks an POP3 mailbox every minute to check if there are any messages and if there are, it processes the e-mails according to some rules. This works fine most of the time but every now and then the application fails

  • NIO bug? selector doesn't return

    Hello, I have a strange problem with my server. When a number of concurrent connections became more than 1000 the server hangs up. I use NIO API to manage connections. The server logic is IRC-style, it broadcasts a large number of small messages. In