Export Datasource Returning 0 Records

Hi,
I have an export datasource on a COPA cube. This data source returns zero records when the infopackage is run. However, in RSA3 and LISTCUBE it returns records correctly.
I set a breakpoint in Function Module RSDRC_CUBE_DATA_GET. This worked fine in RSA3 but on running the InfoPackage the breakpoint was not reached so I guess the problem is before this.
I tried deactivating the V fact table view but this has no effect.
Any ideas why this may be happening? Or any ideas how I can debug this further? What Function Modules are called when an Infopackage is executed?
Regards, Lea

Do you have any restriction on your infopackage? Ar eyou making a full load?
if you do not have any restriction, try to regenerate again the Export Datsource and restart the loading.
Which is your release?
Mike

Similar Messages

  • CUBE Export DataSource - No Records Returned

    Hey guys,
        I`m having a strange problem in the system.
        (1) I Righ-Click on the InfoCube and Generate Export DataSource
         (2) I am able to find the 8DataSource in the InfoSource area
         (3) When I RSA3 on this DataSource it returns NO data at all.
        I have repeatedly tried this for many Cubes in my system but same issue remains.
        However, when I do the same for DSO, I don`t have any problems as in the Export DataSource for DSO's returns data in RSA3.
        Please help

    Hi,
    Make sure Source cube has data,
    is it Active the target cube/source cube.
    log off and login in to the system so that system will get refreash,
    try to delete req without data and repeat the load.
    i think one of the above should work in any case....
    are you using BW 3.5, if so check it in one of the root in datamart...you should find the EDS....
    Kiran

  • SSIS: Merge Problem: the input is not sorted (for use in exporting a multi-record format file)

    I am using the following useful article regarding exporting a multi-record file:
    http://vsteamsystemcentral.com/cs21/blogs/steve_fibich/archive/2007/09/25/multi-record-formated-flat-file-with-ssis.aspx
    I have created the 2 datasources, ordering each on a field commmon to both.
    I have created the two derived columns headers and am now moving on to the merge.
    It is failing with the following error:
    "the input is not sorted"
    And whilst I definitely have an order by on the query, when I look at the metadata between the datasource and the derived column, the Sort Key Position items displays "0" for all my fields, I was expecting the sort field to have a "1" in this column.  What am I missing?
    Any help would be most appreciated!

    The thing to remember here is that the SSIS designer gets its metadata from the RDBMS - metadata like the column names, data types and sizes that describe the data being returned.
    But the RDBMS metadata does not include anything about the sort order of the data.
    If you have an ORDER BY clause in your source query, you need to accurately and appropriately set the IsSorted and SortKeyPosition properties in the Advanced Editor for your data source component. It is your responsibility as the package developer to ensure that you're giving SSIS the correct information. If you're not, you'll get the same errors you've posted here.

  • Export datasource on a cube

    I have a export datasource for a custom cube. It is returning with zero records whenever we do extraction. I have regenerated it but it has not helped.
    It gives no records even in RSA3.  Although data is present in Cube.
    Thanks in advance for your help.

    Hi,
    When you extract data from the cube, the view of the fact table is important because if you have compressed the data in the source, then data needs to come from the F and the E table, hence the view is needed. If this is corrupt for some reason, the extraction does not happen. Running this program will recreate the fact table views for all the cubes. Should not take too long...
    Hope this helps...

  • DSO activation failed due to creation of the export datasource failed

    hi experts,
    i am activating DSO, but failed. Cause is "The creation of the export DataSource failed"
    there are many threads in the forum saying restoring the BI myself source system can address it, I tried many times, but failed.
    I used program RSDG_ODSO_ACTIVATE to activate an already activated DSO, it returned same error and the original activated DSO turned into inactivated. So I guess there must be something wrong with the setting.
    please advise, thanks!
    attach error info:
    The creation of the export DataSource failed
    Message no. RSBM035
    Diagnosis
    The system could not create DataSource .
    System Response
    The metadata for a DataSource must be created while the export InfoSouce is being generated. An error occurred at that time.
    Procedure
    Consult the appropriate developer (function module: RSA1_OLTPSOURCE_GENERATE).
    The delta process ODS does not exist
    Error when creating the export DataSource and dependent Objects
    Error when activating DataStore Object ZFIM_D09

    Hi,
    As I read the system RESTORE option should resolve your issue. From RSA1 try to restore your source system and try to active your DSO again.
    Regards,
    Durgesh.

  • Zero elimination into the export datasource

    Hi gurus!
    I have the following problem:
    1) In the Infocube 1 I have a export datasource and this provider receives data from a FLAT FILE;
    2) In this FLAT FILE I have 19 records. One of them has all key figures as zero value;
    3) When I load this FLAT FILE into the Infocube 1 receives all records (total of 19);
    4) I have the Infocube 2 that receives data from Infocube 1 (via export datasource);
    5) When I load data from Infocube 1 to Infocube 2, I miss the record with all KF as zero value. I receive only 18 records.
    Does anybody know what is happening?
    Note: This behavios is like the zero-elimination on compress data.
    Thanks in advance,
    Silvio Messias

    Hi,
    check if your record exist in your Source ICube.
    If yes (and you don't filter your extraction) then the extractor is not considering the records having all key figs = 0.
    If not then then check whether you have routines having RETURNCODE <> 0 in TRules or URules...
    strange...
    Olivier.

  • Datasource return nothing

    Hi experts!
    If a datasource return no record how I can check this ?? using if condition
    And display an error message

    Hi.
    Try this. It works for me.
    Use a counter to see how many records the datasource have.
    example.
    <jbo:DataSource id="dsClients" appid="LoginModule" viewobject="RctClientesView1" />
    <jbo:SetWhereClauseParam index="0" value="<%=strTip%>" datasource="dsClients" />
    <!--use this LINE BELOW if you have the data source after a post operation. VERY IMPORTANT-->
    <jbo:RefreshDataSource datasource="dsClients" />
    <jbo:RowsetNavigate datasource="dsClients" action="first" />
    <% int i;
    i=0;
    %>
    <jbo:RowsetIterate datasource="dsClients" >
         <%i+=1;%>
    </jbo:RowsetIterate>
    <%
    if (i>=1){%>
         <!-- when hare more than one record, put your code here.-->
         <!-- You can change the if statement to what ever you like-->
    <%}else{%>
         <!-- when the datasource has no records, put your code here.-->
    <%}%>

  • Return records from Stored Procedure to Callable Statement

    Hi All,
    I am createing a web application to display a students score card.
    I have written a stored procedure in oracle that accepts the student roll number as input and returns a set of records as output containing the students scoring back to the JSP page where it has to be put into a table format.
    how do i register the output type of "records" from the stored function in oracle in the "registerOutParameter" method of the "callable" statement in the JSP page.
    if not by this way is there any method using which a "stored function/procedure" returning "record(s)" to the jsp page called using "callable" statement be retrieved to be used in the page. let me know any method other that writing a query for the database in the JSP page itself.

    I have a question for you:
    If the stored procedure is doing nothing more than generating a set of results why are you even using one?
    You could create a view or write a simple query like you mentioned.
    If you're intent on going the stored procedure route, then I have a suggestion. Part of the JDBC 2.0 spec allows you to basically return an object from a CallableStatement. Its a little involved but can be done. An article that I ran across a while back really helped me to figure out how to do this. There URL to it is as follows:
    http://www.fawcette.com/archives/premier/mgznarch/javapro/2000/03mar00/bs0003/bs0003.asp
    Pay close attention to the last section of the article: Persistence of Structured Types.
    Here's some important snippets of code:
    String UDT_NAME = "SCHEMA_NAME.PRODUCT_TYPE_OBJ";
    cstmt.setLong(1, value1);
    cstmt.setLong(2, value2);
    cstmt.setLong(3, value3);
    // By updating the type map in the connection object
    // the Driver will be able to convert the array being returned
    // into an array of LikeProductsInfo[] objects.
    java.util.Map map = cstmt.getConnection().getTypeMap();
    map.put(UDT_NAME, ProductTypeObject.class);
    super.cstmt.registerOutParameter(4, java.sql.Types.STRUCT, UDT_NAME);
    * This is the class that is being mapped to the oracle object. 
    * There are two methods in the SQLData interface.
    public class ProductTypeObject implements java.sql.SQLData, java.io.Serializable
        * Implementation of method declared in the SQLData interface.  This method
        * is called by the JDBC driver when mapping the UDT, SCHEMA_NAME.Product_Type_Obj,
        * to this class.
        * The object being returned contains a slew of objects defined as tables,
        * these are retrieved as java.sql.Array objects.
         public void readSQL(SQLInput stream, String typeName) throws SQLException
            String[] value1 = (String[])stream.readArray().getArray();
            String[] value2 = (String[])stream.readArray().getArray();
         public void writeSQL(SQLOutput stream) throws SQLException
    }You'll also need to create Oracles Object. The specification for mine follows:
    TYPE Detail_Type IS TABLE OF VARCHAR2(1024);
    TYPE Product_Type_Obj AS OBJECT (
      value1  Detail_Type,
      value2 Detail_Type,
      value3 Detail_Type,
      value4 Detail_Type,
      value5 Detail_Type,
      value6 Detail_Type,
      value7 Detail_Type,
      value8 Detail_Type);Hope this helps,
    Zac

  • Corrputed loaded text from an Export Datasource with Unicode

    Hi Experts
    I am new with BW and this forum helped me a lot in the past year.
    I am loading texts to an InfoObject using a Master Data (texts) Export DataSource from another InfoObject. The system is NetWeaver 2004s (BW 3.5) with Unicode.
    The InfoObject's Text MD is Language Dependent but users enter the system only with EN language.
    For some reason the loaded texts are corrupted.
    For example:  The original InfoObject has Hebrew texts (that were loaded perfectly from the source system which is also Unicode), but the text in the PSA table and in the text table of the target InfoObject will be: ###########
    Can anyone help?

    Hi Niraj
    Thanks for your answers
    Let me explain:
    Currently, we load texts with Hebrew chars from the SAP ECC6 system and everything is good (we see Hebrew chars in SAPGUI/BEx/WAD etc.)
    The problem occurs when we load these texts from one InfoObject to another, via Export DataSource.
    To do that, We generated an Export DataSource for the original InfoObject and assigned it to the target InfoSource of the other InfoObject. After running an InfoPackage for this DataSource, the texts that were loaded to the PSA (and hence, to the target InfoObject texts table) were corrupted - which means that they appeared: ##########
    Thanks,
    Yaniv

  • Error while generating export datasource in Test and Prod system

    Hi experts,
    I tried to generate export datasorce on a cube in teh testing system so that i can use this as a datasource for another cube. I did this so that i can transport all teh relevnt objects from D to T. But Iam gettin teh following erro msg
    <b>System setting does not allow changes to be made to object ISTD 80CRM_PRI.</b>
    while Prod system produces teh follwoing error msg
    <b>Changes to Repository or cross-client Customizing are not permitted</b>
    <b>Choose 'Display object' or 'Cancel'.</b>
    After i have done this and when i go to the context menu of teh infocube i can see maintain export datasource option.
    Also I couldn't see the infosource generated in Infosources ( FYI I have already done display generated objects under settings)
    Can anyone tell me how to proceed further.
    Thanks,
    DV

    Hi DV,
    Generally export datasource are not included in the request from the test server. It gets generated automatically when (ODS,Cube) based on which the datasource s transported to production / quality .
    I think solution should be try not to include export datasource, infosource ,transfer rules to request from dev server.
    Hope that helps.
    Regards
    Mr Kapadia

  • Generate Export Datasource

    Hi All,
    While activating an ODS object, I got the error “The creation of the export datasource failed”. I tried activating the entire source system and replicated it. But still I am facing this issue. I checked the ODS in RSRV also. There it gave me the error “Number of rows for active program and temporary program are different". I am facing this issue for newly created ODS objects also.
    Can someone throw some light on this?
    Thanks in advance,
    Febina

    Hi Febina Mohanan
    Welcome to the board..
    There are few considerations with your issue
    1)Occured Because of Space issue Just check the space statistics in DB02 with the help of BASIS
    2) Connectivity..
    3) Just try in rsa1 Settings--->display Generated Objects >selct show generated objects->Continue..
    4) Activate u r ds with the programe "RS_TRANSTRU_ACTIVATE_ALL"
    Hope this will help...
    Regards
    R M K
    Assining points is the only way of saying thanx in SDN ***

  • Error while generate export datasource.

    Hi Experts,
    APO - 3.0A(BW-2.0A)
    In APO while creating generate export datasource for a cube, I am getting the following error.
    Creation of InfoSource 8XXX for target system BW 1.2 failed - Message no. RSBM 026
    Diagnosis - Failed to create InfoSource &v1& for target system BW 1.2.
    System Response -
    The InfoCube cannot be used as a data mart for a BW 1.2 target system.
    Any help is highly appreciated.
    Thanks&Regards,
    VJ

    Thanks Rebort,
    Just now I completed it after searching for OSS note. Anyhow thanks for you help too.
    Now I am facing a different problem. The generated DM infosource is not available under InfoSource - DM.
    I have changed the ODS setting from Hide to Show
    also InfoSources - RC - insert lost nodes..
    no luck.. any suggestion
    Regards,
    VJ
    Message was edited by: Vijay Kumar

  • The Creation of Export DataSource Failed Error while transporting ODS Cube

    Hi  All,
    I am facing this issue from last 1 week.. i had developed an ODS cube in APO-DP BW which will fetch data from SAP R/3 and its working fine in APO Dev Server.  But when i transport this cube into APO PAC(Prodn Server) the below error i am getting..
       Start of the after-import method RS_ODSO_AFTER_IMPORT for object type(s) ODSO (Activation Mode)
       The creation of the export DataSource failed
       Password logon no longer possible - too many failed attempts
       Password logon no longer possible - too many failed attempts
       Error when creating the export DataSource and dependent Objects
       Error when activating DataStore Object ZANAUTSL
    I also updated the transport conversion tables but still problem not resolved.
    Immediate help is hightly appreciated.
    Thanx
    AJ

    Hi AJ,
    Looking at your error, it seems that the RFC user's password is locked and hence connectivity from R/3 towards APO BW is broken.
    You know the name of your export datasource (from R/3 to APO BW). Find out the name of your R/3 source system e.g. PACCLT000, by scrolling to the right against teh export data source.
    Take help of your Basis or EAI team to identify the RFC destination corresponding to the connectivity from the R/3 source system (PACCLT000) to your APO BW system. (If needed ask for help from your BW team, I am not very sure how connectivity would be set up from R/3 to APO BW, I guess this would be independent from CIF connectivity)
    For this RFC connection from R/3 to APO BW, see which RFC user is maintained in SM59 in APO and ask your security team to reset (or unlock) the password of this RFC user in R/3, and then if required update the user password details in SM59 in APO also.
    After this, your issue should get resolved.
    Thanks - Pawan

  • Generate Export DataSource from InfoCube In Production System

    Software component : BI release 7.0 SP 18
    Dear Gurus,
    we have a strange situation in our production system from a month till now.
    We want to generate an export data source from an infocube to load data into another one but now when we try to generate in prod ( right click on infocube and select "Generate Export DataSource" ) we can't create anymore.
    Following message appears :
    no changes to repository and cross client customizing object allowed
    and the generation is stopped.
    We always did it in production system in the same way as in the other system and then transported the update rule or transformation, but now it seems that is no more possible.
    No setting has been changhed in SCC4 and in object changeability. Maybe is an authorization problem or is due to any other setting?
    Does anybody has a way to solve this problem?
    <removed by moderator>!
    Kind Regards
    Stefano
    Edited by: Siegfried Szameitat on Nov 24, 2008 4:18 PM

    Hi Stefano,
    If you want to generate an export datasource you ask your basis team to open the system so that you can do.
    As per the Sap Best Practise you can do  the export datasoorce in your development system and move it to the quality and after testing you transport to Production.
    Generallly if you can look in to production authorizations you may have only some operation like to display only.SOme times basis may give authorizations like creation of DTP and Infopacks like that.
    Regards

  • Transport Error-The creation of the export DataSource failed

    Hi Experts,
    I am transporting a DSO from DEV to QA in 7.0 system.While transporting the DSo i am getting the below mentioned error.
    The creation of the export DataSource failed
    Reading the Metadata of APMD0009 ...
    Creating DataSource 8APMD0009 ...
    Password logon no longer possible - too many failed attempts
    Password logon no longer possible - too many failed attempts
    Error when creating the export DataSource and dependent Objects
    Error when activating DataStore Object APMD0009
    the request conatins just the DSO and not the Export datsource.i have also tried exporting both together still it failed.
    I have referred OSS note No.597326 for the same.But it didnt helped in resolving the issue.
    Has any one come across this kind of an issue.
    Thanks in advance!!!!!
    Regards,
    Umesh.

    No it didnt seem to work still got the same password error..                                                                               
    Start of the after-import method RS_ODSO_AFTER_IMPORT for object type(s) ODSO (Activation Mode)              
    /     The creation of the export DataSource failed                                                                 
          Name or password is incorrect (repeat lo gon)                                                                
          Name or password is incorrect (repeat lo gon)                                                                
          Error when creating the export DataSource and dependent Objects                                              
          Error when activating DataStore Object 0BBP_BID                                                              
    /     The creation of the export DataSource failed                                                                 
          Name or password is incorrect (repeat lo gon)                                                                
          Name or password is incorrect (repeat lo gon)                                                                
          Error when creating the export DataSource and dependent Objects                                              
          Error when activating DataStore Object 0BBP_QUO                                                              
    /     The creation of the export DataSource failed                                                                 
          User not authorized. Session terminated                                                                      
          User not authorized. Session terminated                                                                      
          Error when creating the export DataSource and dependent Objects                                              
          Error when activating DataStore Object 0PUR_DS03                                                             
    /     The creation of the export DataSource failed                                                                 
          Name or password is incorrect (repeat lo gon)                                                                
          Name or password is incorrect (repeat lo gon)

Maybe you are looking for