Loading ReportDocument from InfoObject

I'm trying to load a Crystal report from BusinessObjects into a viewer (either web or winforms).  This report is a previously scheduled instance that was archived out of BusinessObjects with its data to a file.  In order to get it through our firewall to a web viewer, we're republishing the report instance to an Archive folder in BusinessObjects.  When re-publishing the instance, I set the following parameters:
Report newRpt = (Report)infoObj;
newRpt.Files.Add(rptFile);
newRpt.Properties.Add("SI_PARENTID", folderID);
newRpt.KeepSavedData = true;
newRpt.NeedsLogon = false;
newRpt.EnableThumbnail = false;
newRpt.Title = rptTitle;
//for each ReportLogon...
  newRpt.ReportLogons<i>.PromptOnDemandViewing = false;
Publishing works with no problems.  We've tried viewing two ways - using the code in the Client Desktop tutorial, the report starts trying to refresh the data which we DON'T want to happen.  So, we are trying to load the report object into a ReportDocument and view it tat way.  However, when we try to bring the report to to the viewer, we get an Invalid ReportSource error.  To get the report, we query the InfoStore to find the published report. We then load the returned InfoObject to a ReportDocument with the following code ("rpt" is an InfoObject, "esess" is an Enterprise session, and "rptDoc" is a ReportDocument):
rptDoc = new ReportDocument();
rptDoc.Load(rpt, esess);
In the viewer, we're using the following code:
rptViewer.EnterpriseLogon = esess;
rptViewer.ReportSource = rptDoc;
Does anyone have any thoughts on getting this to work?  Thanks!
-Dell

HI
Hierarchy loading is possible in BW3.5
i think its not possible to load hierarchy in BI 7.0to infoobject attributes from flat files.
And for loading in 3.5 you can refer to blog by Prakash Bangali in BI general.
Cheers
Sunil

Similar Messages

  • Loading Hierarchies from InfoObject Attributes

    How can I load a hierarchy from an InfoObject Attribute in BI70 ?

    HI
    Hierarchy loading is possible in BW3.5
    i think its not possible to load hierarchy in BI 7.0to infoobject attributes from flat files.
    And for loading in 3.5 you can refer to blog by Prakash Bangali in BI general.
    Cheers
    Sunil

  • How load data from One Infoobject to Another Infoobject?

    Hi GuRUS
    Any body has succeded in loading data from One Infoobject to Another Infoobject?
    Pls Let me kNow
    Regards
    Durai

    Hi Durai,
    Create export datasource on the info-object and then load the data to the other info-object.
    Check this link also:
    Re: How load data from Infoobject to another Infoobject?
    Bye
    Dinesh

  • Loading a ReportDocument from an InfoObject

    Enteprise XI R2, C#.NET
    We're trying to load a Crystal report from BusinessObjects into a viewer (either web or winforms).  This report is a previously scheduled instance that was archived out of BusinessObjects with its data to a file.  In order to get it through our firewall to a web viewer, we're republishing the report instance to an Archive folder in BusinessObjects.  When re-publishing the instance, I set the following parameters:
    Report newRpt = (Report)infoObj;
    newRpt.Files.Add(rptFile);
    newRpt.Properties.Add("SI_PARENTID", folderID);
    newRpt.KeepSavedData = true;
    newRpt.NeedsLogon = false;
    newRpt.EnableThumbnail = false;
    newRpt.Title = rptTitle;
    //for each ReportLogon...
      newRpt.ReportLogons<i>.PromptOnDemandViewing = false;
    Publishing works with no problems.  We've tried viewing two ways - using the code in the Client Desktop tutorial, the report starts trying to refresh the data which we DON'T want to happen.  So, we are trying to load the report object into a ReportDocument and view it tat way.  However, when we try to bring the report to to the viewer, we get an Invalid ReportSource error.  To get the report, we query the InfoStore to find the published report. We then load the returned InfoObject to a ReportDocument with the following code ("rpt" is an InfoObject, "esess" is an Enterprise session, and "rptDoc" is a ReportDocument):
    rptDoc = new ReportDocument();
    rptDoc.Load(rpt, esess);
    In the viewer, we're using the following code:
    rptViewer.EnterpriseLogon = esess;
    rptViewer.ReportSource = rptDoc;
    Does anyone have any thoughts on getting this to work?  Thanks!
    -Dell

    is the page1.swf file name really Page1.swf or PAGE1.SWF or
    PaGe1.SwF or some other "version" of page1.swf?

  • SAP BPC 7.5: Master Data and Hierachiy Load from InfoObject

    Hallo Forum Participants,
    I am going to load Master Data from a "Clarity" Reporting Tool in BW to SAP BPC 7.5 via Process Chains (/CPMB/IMPORT_IOBJ_MASTER, /CPMB/IMPORT_IOBJ_HIER) delivered from SAP.
    These Process Chains load the Master Data and Hierarchies from an InfoObject. To find out more about Ticking of BPC I have performed a following test. So, on BPC Admin Interface I have duplicated the Dimension u201CAu201D and called it as Dimension u201CBu201D (in BW site InfoObject u201CAu201D and u201CBu201D). In the Member Sheet of Dimension u201CBu201D I have implemented the several changes und tried to load Master Data from BW namely from infoObject u201CBu201D into BPC Dimension u201CAu201D. Therefor I created a transformation file and mapped one for one IDu2019s. The data Manager started these chains, but resulted nothing (Status: red X).
    What are the features of BPC InfoObjects in Comparision with regular InfoObject?
    How can I load Hierarchies into InfoObject?
    What else I must take into account?
    Why does not work this simple test?
    Regards.
    Alisher
    Edited by: Alisher Babaev on Jan 6, 2012 1:59 PM

    Hallo pkrishna,
    so it is successed with master data load, but without hierachiies.
    My Master Data Properties on Dimension Sheet are:
    -ID
    -EVDESCRIPTION
    -PARENTH1
    -CURRENCY
    I have mapped as below:
    ID=ID
    CURRENCY=/CPMB/CURR
    /CPMB/CURR- my technical id in BW.
    In the Note you advised transformation file has been mapped like below:
    -NODENAME=NODENAME
    -HIER_NAME=HIER_NAME
    -PARENT=PARENT
    -ORDER=ORDER
    After executing of package i get whether rejected list or log file. No data can be retirieved from InfoObject.
    Have you any Idea?
    regards

  • How to load hierarchy from file into InfoObject with compounding Attr & LN

    Hi,
    I have created an InfoObject called YCOSTC0 which has a compounding attribute 0CO_AREA. and Text is Lanugage dependent, hence the key is YCOSTC0, 0CO_AREA and LANGUAGE, now when i load hierarchy from flat file as mentioned below, it creates duplicate blank rows in master data table, becuase the flat file contains only the YCOSTC0 Info Object and this data gets loaded into 0CO_AREA column in master data table which is the first column. how can i load hierarchies from flat file into an InfoObject that has a compounding attribute and Language dependent. please provide me a sample file structure with data.
    NodeID     InfoObject     Node Name     Link Name     Parent ID     Language     Short Text     Medium Text     Long Text
    1     0HIER_NODE     CC_HIER               EN     Cost Center Heirarchy     Cost Center Heirarchy     Cost Center Heirarchy
    2     YCOSTC0     C001          1     EN     CC 1     Cost Center 1     Cost Center 1
    3     YCOSTC0     C002          2     EN     CC 2     Cost Center 2     Cost Center 2
    4     YCOSTC0     C003          2     EN     CC 3     Cost Center 3     Cost Center 3
    5     YCOSTC0     C004          3     EN     CC 4     Cost Center 4     Cost Center 4
    6     YCOSTC0     C005          3     EN     CC 7     Cost Center 7     Cost Center 7
    7     YCOSTC0     C006          4     EN     CC 5     Cost Center 5     Cost Center 5
    8     YCOSTC0     C007          4     EN     CC 8     Cost Center 8     Cost Center 8
    9     YCOSTC0     C008          4     EN     CC 10     Cost Center 10     Cost Center 10
    10     YCOSTC0     C009          7     EN     CC 6     Cost Center 6     Cost Center 6
    11     YCOSTC0     C010          6     EN     CC 9     Cost Center 9     Cost Center 9
    Thanks
    Akila R

    Hi -
        Check the following link.
    Hierarchy Upload from Flat files
    Anesh B

  • Problem while loading data from ODS to infoobject

    Hi guys,
    I am facing problem while loading data from <b>ODS to infoobject</b>.
    If I load data via PSA it works fine but
    if I load data without PSA its giving error as Duplicate records.
    Do u have any idea why it is so.
    Thanks in advance
    savio

    Hi,
    when you load the data via the PSA, what did you select? Serial or Paralel?
    If you select serial most likely you don't have duplicates within the same datapackage and your load can go through.
    Loading directly in the IObj will happen thefore if you have the same key in two different packages, the "duplicate records" will be raised; you can perhaps flag your IPack with the option "ignore duplicate records" as suggested...
    hope this helps...
    Olivier.

  • Data loads into multiple InfoObjects from 0EHS_PHRASE_TEXT DataSource.

    Dear Experts,
    I am working on SAP HCM-BW 7.0 Implementation and am trying to load data into 8 different InfoObjects (Texts) through 0EHS_PHRASE_TEXT (Phrases) extractor.
    There are many InfoPackages in place created during the previous project loading into different set of Standard BCT InfoObjects.
    After migrating the 0EHS_PHRASE_TEXT DataSource from 3.x to 7.0 version, I have created different InfoObjects with Transformations and DTPs upon business requirements to load them. The relevant data is available in 0EHS_PHRASE_TEXT when checked in Extractor Checker (RSA3). However, when I create InfoPackages to load these different InfoObjects, I don't see the Data Targets listed and it makes sense since the data is first loaded into PSA and then will be loaded into Data Targets (in this case InfoObjects with Text) using DTPs.
    My concern is... when I create a Process Chain to load Master Data into these Objects, the following action is happening:
    1. Load 10 Records into PSA and then into InfoObject A. All 10 Records are loaded into A.
    2. Load 5 Records into PSA and then into InfoObject B. Previous 10 + New 5 Records are loaded into B.
    3. and it continues... for 8 InfoObjects.
    My question is... is there are way that I can see the corresponding Data Target tab in InfoPackages so the Data is immediately picked from PSA of 0EHS_PHRASE_TEXT DataSource and then loaded into the corresponding InfoObjects.
    Or should I make use of Transfer Rules by Re-storing the 0EHS_PHRASE_TEXT DataSource from 7.0 to 3.x version...!!
    Your help is much appreciated.
    Thanks,
    Chandu

    Hi Andreas
    Thanks for replying and sorry for the confusion.
    The extractor is delivering 10 and then 5 because of different selection parameters in the InfoPackage "selecting" which InfoObject I wish to load the texts for.
    Your understanding of my requirements is correct.
    Could you please elaborate Option 1 bit more..!
    Regarding your Option 2, I don't want the DTPs to extract directly in full from the datasource because by doing so, all the data apart from the relevant data is also loaded into each and every InfoObject. And I don't want that to happen. I want to load only relevant data into respective InfoObjects from the PSA using DTPs.
    I have tried to setup filters in DTPs with different Selection Parameters and tried to load relevant InfoObjects. For example, I am trying to load ZEHS_SUBS InfoObject with EHS_INJ_SUB_SUBSTANCE as the Selection Parameter. There are 54 records in both Source System and PSA for this parameter.
    And the request is showing 54 in Transferred Records but only the very last 1 in Added Records. When I check in the Target (ZEHS_SUBS) InfoObject, it is showing only 1 Record. I have tried many combinations. They are:
    1. Loaded only EHS_INJ_SUB_SUBSTANCE data from Source System into PSA and then tried to execute the relevant DTP.
    2. Checked the 'Do Not Extract from PSA but Access Data Source (for Small Amounts of Data) and tried it.
    3. Tried with both Delta and Full Extraction Mode.
    4. Set Filter on Single Value as 'EHS_INJ_SUB_SUBSTANCE' to extract this data only.
    5. Set Filter Excluding all the other Single Values.
    6. Checked the 'Handle Duplicate Record Keys'.
    Still only the last 1 records out of 54 is showing up in the Target InfoObject.
    Please let me know if you have any idea as to why this is happening so.
    Thanks for your time.
    Chandu

  • Load data to infoobject master text from csv

    Dear Experts
    I have infoobject master,
    and in tab master data/text, I thick :
    - short text,
    - medium text
    - text languange dependent
    now, I want load data from csv to the infoobject master text
    how many columns i must set in my csv ?
    must I set languange column and record number column ?
    really appreciate your help
    Best Regards
    Jeiming

    hi,
       the easy way is to create direct update infosurce and then the transfer rules  on the text.
    the system will automatically create thwe transfer rules with the fields and then u can use for for dataload.
    in general u can go to text table and see the fields required.
    u have to include all fields in text table in tr.
    regards

  • 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

  • Data load failed while loading data from one DSO to another DSO..

    Hi,
    On SID generation data load failed while loading data  from Source DSO to Target DSO.
    Following are the error which is occuuring--
    Value "External Ref # 2421-0625511EXP  " (HEX 450078007400650072006E0061006C0020005200650066
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject 0BBP
    So, i'm  not getting  WHY in one DSO i.e Source  it got successful but in another DSO i.e. Target its got failed??
    While analyzing all i check that SIDs Generation upon Activation is ckecked in source DSO but not in Target DSO..so it is reason its got failed??
    Please explain..
    Thanks,
    Sneha

    Hi,
    I hope your data flow has been designed in such a way where the 1st DSO as a staging Device and all transformation rules and routine are maintained in between 1st to 2nd dso and sid generation upon activation maintained in 2nd DSO.  By doing so you will be getting your data 1st DSO same as your source system data since you are not doing any transformation rules and routine etc.. which helps to avoid data load failure.  
    Please analyze the following
    Have you loaded masterdata before transaction data ... if no please do it first
    go to the property of first dso and check whether there maintained sid generation up on activation (it may not be maintained I guess)
    Goto the property of 2nd Dso and check whether there maintained sid generation up on activation (It may be maintained I hope)
    this may be the reason.
    Also check whether there is any special char involvement in your transaction data (even lower case letter)
    Regards
    BVR

  • Error while loading data from application server

    Hi all,
    Am facing a problem while loading data from application server.
    The error i get is ....
    *" The argument ' Rental/Lease ' cannot be interpreted as a number while assigning character to application structure*.
    'Rental/Lease' is a value for a character infoobject length 30. I checked for the sequence of fields in data source and the sequnce of values am receiving in application server and the sequence match.
    when i copy these values into a CSV onto a desktop and load,load is successful.
    Please let me know your views.
    Thanks&Regards,
    Praveen

    It looks like the system is trying to convert Rental/Lease to a number format.   Is the info object type CHAR or NUMC or ???  I would look there.
    Also, make  sure / is in RSKC.
    Brian

  • Error in loading data from PSA to masterdataTables by using ProcessManually

    Hello,
    While loading Attribute master data to Masterdata tables, the data is loaded successfully to PSA but when I clicked process manually tab in the monitor screen to load the Attribute master data to Masterdata tables it is showing error.
    Can anyone pls help me in solving this issue.
    Thanks,
    Soujanya

    Hi Soujanya,
    If it is a SAP BI 7 data flow, in order to load data from PSA to the InfoObject master data tables, you have to run the corresponding DTP.
    On the other hand, if it is a SAP BW 3.x data flow, the InfoPackage should be configured so as to update data to subsequent targets (that is to say, the InfoObject).
    Finally, take into account that if the DataSource provides duplicate records, the DTP or the InfoPackage (depending on the dataflow version) should be configured in order to deal with it.  Otherwise, you could receive error messages during data load.
    I hope this helps you.
    Regards,
    Maximiliano

  • Error when i am loading data from PSA to ODS

    hai Gurus
    Very good morning
    Actually i am loading data from PSA to ODS.
    But when i am loading data i am getting the error InfoObject/BIC/0REFER_DOC does not contain ALPHA -CONFORMING VALUE 0.
    Can anybody help me to solve the problem and reload the data
    Thanks & Regards
    Jayavardhan

    Hi,
    Lacs of postings are there in this forum on this topic. Searching teh forum is the best option  for u now.
    With rgds,
    Anil Kumar Sharma .P

  • BI 7.0 - Error while loading data from R3 to PSA

    Hi,
    I transported Master Data ATTR/TEXT object from DEV to QA (BI 7.0 NW 2004s); and getting the following error while loading the data from R3 in to PSA using the InfoPackage.
    Any clue to resolve this issue is appreciated.
    Monitor - STATUS tab:
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Service API .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.
    Monitor - Details Tab:
    Extraction (messages): Errors occurred
    Error occurred in the data selection
    Request IDoc : Application document not posted
    Error Message:
    Diagnosis                                                                               
    In the source system, there is no transfer structure available for    
        InfoSource 0ACTIONTYPE_TEXT .                                                                               
    System Response                                                                               
    The data transfer is terminated.                                                                               
    Procedure                                                                               
    In the Administrator Workbench, regenerate from this source system the
        transfer structure for InfoSource 0COMPANY_TEXT .                                                                               
    Thanks,

    Hi,
    Pl try the below
    The l_dta data target that you want to load is an InfoObject (master data or text
    table).
    You must declare this for the InfoProvider in Transaction RSD1.
    You do this on the 'Master Data/Text' tab by assigning any InfoArea to the InfoObject.
    The InfoProvider (that is, this InfoObject) is then displayed below this InfoArea in
    the InfoProvider tree.
    Rregards,
    Senthil

Maybe you are looking for