Storing report document in Session

Hi I have followed the advice on storing the Report document in the Session object. My code does this in the Page_Load event when not a postback. It all seems to work until I attempt to drill down to a sub report. I'm then asked for parameter info even though these have been spedified when populating the report.When I enter in the parameters I get a 'cannot make connection' error.
Anyone have an idea what this could be. If I leave the report to relaod every postback it all works but of course paging is slow.

To add to Don's reply, here is a KBA on sessions:
1985571 - How to use sessions in web applications using the Crystal Reports viewer (the complete code)
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter

Similar Messages

  • Daily report for user sessions in oracle10g database

    I would like to genarate the daily report for user sessions in oracle10g database
    daily report of how many of sessions present in oracle database for each user

    Thanks for link ( I know you always post the oracle document link here)
    But I am expecting scripts( someting like logon trigger and logg off trigger) to genarate the user session report.

  • Error while checking in and storing: C:\Documents and Settings\Administr

    Dear
    Whille saving then document in dms , i am getting this error.....
    Error message is : "Error while checking in and storing: C:\Documents and Settings\Administrator\My Documen...."
    Message Number is 26253
    R Karthikeyan

    Hi all,
    Similar kind of issue occurred in one of our webdynpro applications of SAP NetWeaver Portal-
    The error message "Error while checking in and storing" was returned by the BAPI while trying to replace documents in the DMS Server via portal.
    But the documents were getting stored in the back end by the use of standard T-Codes.
    Later it was found that ABAP tables COMPONENTS & COMPONENT_DATA are inconsistent by looking into the HTTP trace file.
    The HTTP patch "http.c#21" was being used in our server.
    SAP suggested the below mentioned steps-
    -->Download the most recent SAPHTTP version & install it.
    -->Then delete the RFC connections SAPHTTP & SAPHTTPA through T-Code SM59
    -->Regenerate them again with report RSHTTP05
    They were carried out in our ECC server & the issue was resolved.
    Please try them out if applicable in your case & let us know.
    Thanks & Regards,
    Shreyashri Kar

  • Report Document not show on Crystal Report Viewer in C#

    My program is modified from VB.NET. Now I struck with Crystal Report that Crystal Report Viewer didn't show Report Document.
    Printing code is composed of two forms. One assign parameters and objects need. Other is Crystal Report Viewer form, CrystalReportForm. Last one run report by parameter from the first.
    When run this code that it didn't found any error but the problem is no report show on Crystal Report Viewer on second form. It just blank Crystal Report Viewer. There arm't any message response.
    Here is my code.
    // report caller form.
    private void Print()
       CrystalReportForm rptForm = new CrystalReportForm();
       string[] strtbl;
      strtbl = new string[1];
       string[] strqry;
      strqry = new string[1];
       // prepare var
       string myqry;
       string myrpt;
       // Pass The Table That you used in the crystal Report
      strtbl[0] = "r_receipts";
       // Pass the Query
      myqry = "SELECT * FROM r_receipts";
      myrpt = "rptReceipts.rpt";
      strqry[0] = myqry;
       //Pass For Mdi True
      rptForm.MdiParent = this.ParentForm;
      rptForm.ViewReport(myrpt, strtbl, strqry, "");
       //Parameter Value It is Optional
      rptForm.Show();
    // Crytal Report Viewer form.
    public void ViewReport(string ReportName , string[] TableName, string[] QueryString , string Parameter = "")
       //Me.MdiParent = mainpage;
       if (TableName.Length  != QueryString.Length  )
       MessageBox.Show("Passed Variable Are Not Correct", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);
       return;
       CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
       CrystalDecisions.Windows.Forms.CrystalReportViewer crv  = new CrystalDecisions.Windows.Forms.CrystalReportViewer();
      crv.ActiveViewIndex = 0;
      crv.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
      crv.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
      crv.Dock = System.Windows.Forms.DockStyle.Fill;
      crv.Location = new System.Drawing.Point(0, 0);
      crv.Name = "CrystalReportViewer";
       MySqlDataAdapter at =new MySqlDataAdapter();
       DataSet ds = new DataSet();
       for (int i = 0; i < TableName.Length; i++)
      at = GetDataAdeptor(QueryString[i]);
      at.Fill(ds, TableName[i]);
       string rptPath  = "";
      rptPath = Application.StartupPath + "\\" + ReportName;
      rpt.Load(rptPath);
      rpt.SetDataSource(ds);
       if (Parameter != "")
      rpt.SetParameterValue(0, Parameter);
      crv.ReportSource = rpt;
      crv.Refresh();
       //CrystalReportViewer.DataBind();
       //Me.Panel1.Controls.Add(CrystalReportViewer);
       Panel panel1 = new Panel();
      panel1.Controls.Add(crv);

    Hi Bhushan,
    It's not yet fixed. My dataset (ds) can't bine to DataGridView as
    DataGridView1.DataSource = ds
    But it could do like this
    DataGridView1.DataSource = ds.Tables[0];
    When I bine to Crystal Report Viewer setdatasource
    CrystalReportViewer1.setdatasource = ds.Tables[0];
    It still not work, anyway you suggest let me in the right way. I very confuse the thing I fix to bine to DataGridView
    Thank,
    Chaiwat

  • Can we have a "print button" to print massive report document ?

    Hi there,
    Can we have a "print button" to print a massive report document (e.g 3000 page , each for a specific customer description), instead of exporting to pdf or excell before printing.. ?
    Thanks
    -toni

    You cannot have a print Button in the report, But have you tried Scheduling the report, and setting the output to printer? That might meet your requirement. You can also use the schedule section to run it immediately (once)
    -Domnic

  • Error while checking in and storing: C:\Documents and setting*

    hI,
    I hace install the content server and i made content repository also.
    everything I made on development server, and the original application file is getting check in also.
    now when I tried to check in it in test sever, it giving me error like  Error while checking in and storing: C:\Documents and setting
    I transported all request like content repository and all to  test server from development server.
    regards,
    nitin

    Hi, Nithin,
    Check this also in development
    In your local machine Goto
    C:\windows\system32\drivers\etc
    There will be file called "hosts"
    in that file plz specify the IP of the content server.
    Eg;
    <IP address> <Content server name>
    102.210.23.186 My Content server
    Save the file.
    Restart the machine and then try check-in the file in content server.
    Regards,
    Ben

  • Error while checking in and storing: C:\Documents and Settings

    Hi,
    i have some problem in DMS , while doing Check in process after attaching documents in CV01n.
    geeting error like "Error while checking in and storing: C:\Document and Settings.."
    please suggest me how to solve this problem.
    thx in advance...
    Karthik.

    Hi Karthik,
    There may be several factors contributing to this error.Some of these maybe:
    -Storage category defined improperly/missing
    -HTTP/FTP destination missing
    -Incomplete Workstation application definition
    -Incomplete Authorization
    Please run through/search for each of these issues (discussed several times in the forum) and adopt corrective action wherever necessary.
    Regards,
    Pradeepkumar Haragoldavar

  • Error while checking in and storing: C:\Documents and Settings\user\Desktop

    Hi all,
    I'm getting  the following Error while checking in original to Content Server
    "Error while checking in and storing: C:\Documents and Settings\user\Desktop" Message 26253
    OAC0, OACT, CSADMIN settings seems to be Ok .
    Settings in DMS SPRO - in dc10, dc20(data carrier used PC)- everything fine
    -Authorization issues are not there
    Earlier checking in was possible with same settings, but now we are getting this error.
    From my end i had test the RFC Connection (SAPFTP, SAPFTPA, SAPHTTP, SAPHTTPA) through SM59 and its test run was successful. So the possibilty of RFC Failure was ruled out.
    I knew this problem was arised as there is some issue in Content Repository, but not able to trace it out.
    If any one knew what to do in this case, then let me know.
    Secondly, what are the things need to be checked to identify the content repository Checking in Issue.
    Regards,
    S Anand

    Error Resolved.
    I had only executed the below command
    ./dbmcli on SDB>db_execute SET LOG AUTO OVERWRITE ON
    OK
    seems like Log file was full. but now its working.
    Thanks for your suggestion.
    Regards
    S Anand

  • How to add a field object to group header section in crystal report document?

    Hi All, I have got two questions mentioned below, please share your inputs. 1)I want to know whether it is possible to add a field object to header section in crystal report document programmatically? I am using crystal runtime for visual studio. I know that using RAS we can do it, but I want to do it using managed library of crystal runtime. Please suggest. 2) I am doing a POC where I am using RAS (unmanaged library) to manipulated crystal report document. Please see code below: var dbTable = _reportDocument.ReportClientDocument.DatabaseController.Database.Tables[0]; var dbField = dbTable.DataFields.FindField(item.ColumnName,                         CrystalDecisions.ReportAppServer.DataDefModel.CrFieldDisplayNameTypeEnum.crFieldDisplayNameName,                         CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleEnglishUS); CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject fieldObject = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();                     fieldObject.DataSourceName = dbField.Name;                     fieldObject.FieldValueType = dbField.Type; var groupHeaderArea = _reportDocument.ReportClientDocument.ReportDefController.ReportDefinition.GroupHeaderArea[0].Sections[i]; _reportDocument.ReportClientDocument.ReportDefController.ReportObjectController.Add(fieldObject, groupHeaderArea); In above code last line throwing exception : "The report field type is not valid." at CrystalDecisions.ReportAppServer.Controllers.ReportObjectControllerClass.Add(ISCRReportObject ReportObject, Section Section, Int32 nIndex) Thanks, Jai

    Hi Jaikumar
    As per the SCN Rules of engagement, one question per thread please.
    Re. your 1st question. Adding a field to a report is considered to be a report creation APIs (RCAPI). Only the RAS SDK has RCAPIs, so you can not use plain jane crystal APIs. For how to with RAS, see the examples here: NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    Also, consult the Developer Help Files:
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    Re. your second question, please create a new discussion.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Problems in creating and storing new documents using BAPI_DOCUMENT_CREATE2

    Hi experts,
    I'm getting problems in creating and storing new documents using BAPI_DOCUMENT_CREATE2.
    I have a scenario where is defined the document type ZC1, document part 200, authorization group 0002 and for all of these  documents the storage category "Cofre DMS1". And the status which demands the storage category is 'FR'.
    I've been fullfiling the BAPI_DOCUMENT_CREATE2 in this way:
    "Tables
    data: it_doc like bapi_doc_draw2,
          it_return like bapiret2,
          it_files like bapi_doc_files2 occurs 0 with header line,
          it_objs like bapi_doc_drad occurs 0 with header line.
    "Variables
    data: wl_doctype like bapi_doc_draw2-documenttype,
          wl_docnumber like bapi_doc_draw2-documentnumber,
          wl_docpart like bapi_doc_draw2-documentpart,
          wl_docversion like bapi_doc_draw2-documentversion.
    it_doc-documenttype = 'ZC1'.
    it_doc-documentpart = '200'.
    it_doc-documentversion = '00'.
    it_doc-description = 'Test of documents creation via BAPI'.
    it_doc-username = sy-uname.
    it_doc-statusextern = 'FR'.
    it_doc-authoritygroup = '0002'.
    refresh it_files[].
    clear it_files.
    it_files-originaltype = '1'.
    it_files-storagecategory = 'Cofre DMS1'.
    it_files-wsapplication = 'PDF'.
    it_files-docfile = 'c:\110307.pdf'.
    it_files-description = 'Test file'.
    append it_files.
    refresh it_objs[].
    clear it_objs.
    it_objs-objecttype = 'EKPO'.
    it_objs-objectkey = '47000497600010'.
    append it_objs.
    CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
      EXPORTING
        documentdata = it_doc
      IMPORTING
        documenttype = wl_doctype
        documentnumber = wl_docnumber
        documentpart = wl_docpart
        documentversion = wl_docversion
        return = it_return
      TABLES
        objectlinks = it_objs
        documentfiles = it_files.
    After execute the BAPI process I got the following error:
    E26 087 - Data carrier COFRE DMS1 not defined
    Does anybody have a sugestion to help me, please?
    Thks
    David
    Edited by: David Tsutsui on Mar 18, 2010 10:52 AM

    Please refer to this thread, it tells why you need a data carrier you can also configure the same in DC20.
    Data Carriers for Storage the Originals of DMS

  • Output only the Interactive Reporting document in an IR job/output?

    Hello,
    I have created an Interactive Reporting job using the File->Import->File as Job. I have walked through the various screens to supply oce connection information, output directory etc. The output however, shows up as a Table of Contents - 1) Interactive Reporting Document 2) Interactive Reporting Document (Web Client) 3) A HTML file that contains log information.
    Is there a way to specify that only yhe Interactive Reporting Document be generated and placed in a target directory of choice?
    I don't want to produce an output everyday and have my users open up the Table of Content and have them pick the document. I just want the document output standalone.
    Thanks in advance.

    Wasn't there an Acrobat issue that affected this as well? Make sure that is updated, too.
    While I'm on it, this is being viewed in Acrobat/Reader, right? Anything else, especially Mac Preview is a bit of crapshoot.

  • Creating a new reports document

    Hi everyone,
    Iu2019m having an issue using In-Proc RAS when creating a new report document in .NET. The following code (C#) will fail (Saying that it requires a Loaded RPT file to do anything against that member)u2026
    CrystalDecisions.CrystalReports.Engine.ReportDocument myTest = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    myTest.ReportClientDocument.New()
    How are you suppose to create a new blank document using the CrystalReports engine? The only way I can do anything with the above object is to actually load a .RPT file. Itu2019s different then when using the RAS SDK which goes like:
    ReportClientDocument objClientDoc = new ReportClientDocument(); //this is a ReportAppServer object
    u2026Set The Report Server Nameu2026
    objClientDoc.New();
    Thanks for the help!
    Peter

    Hi Peter,
    If you are using ReportDocument object then you need to load the object with a report name.
    //define the object
    ReportDocument rdocument = new ReportDocument();
    //load the report
    rDocument.Load(path of the report);
    //View the report
    CrystalReportViewer1.ReportSource=rdoc;
    However if you use the RAS then you need to use the ReportClient document object for it.
    //define the object
    CrystalDecisions.CrystalReports.Engine.ReportDocument rdoc1 = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    // assign it to the reportclient object
    ISCDReportClientDocument rClient1 = rdoc1.ReportClientDocument;
    //Load the report
    rdoc1.Load(path of the report);
    //View the report.
    crystalReportViewer1.ReportSource = rdoc1;
    So I do not see any reason why we would need the New() method.
    Does that help?
    AG.

  • Create Attachment issue in storing the document

    We are facing an issue in tranaction PR05 (Travel Expense Manager) on services object for Create Attachment. We would like to know is there anyway/manage to find any setting so that the u201CCreate Attachmentu201D  would result in storing the document on the content server like the u201CStore Business Documentu201D does.
    Please advise and confirm.
    Thanks & regards
    AK

    I try to answer based on my understanding.
    If you want to store the document in the server when attaching the document in Services for object, it can be done.
    You have to define the directory in the server where the documents are to be stored. Also you need to define a naming convention for all the files which need to be stored in the directory.
    Then you have to programatically enable the services for object to store the files in the directory created for that purpose. Also on clicking, you should programatically enable the document fetching from the directory by making use of the naming convention.

  • How to set report output to session variable

    Hi,
    Is there any way to set report output to session variable . If my report returns 1 row and 1 column.
    I have a dashboard prompt where i am selecting Name , but i want to find out the ID of that name .
    that ID i want to pass to a column Fx , to achieve this i created a intermediate report and i got the ID. Now my problem is how do i set this ID in session variable .
    Please help if anyone knows...

    Did you read this:
    how to set session / presentation variable in repository variable
    Dashboard prompt on Month Name but report filter on month ID:
    Re: Dashboard prompt on Month Name but report filter on month ID needed
    If you have dashboard prompt (name) then you may have only one report that is filtered by name but show id or not show id but use id in the function. Or two reports like in the solution in the second link above and the second report has id in the function and filter by id from the first report. You don't need to set this ID in session variable for this example.
    Please close your previous threads if they are answered.
    Regards
    Goran
    http://108obiee.blogspot.com

  • What is Report Document Format?

    Hi,
    I have seen "Report Document Format" in many Oracle Report Developer's job adverts. Following is an example.
    "Skills & Experience Required, Oracle Reports Developer - expert level, Report Document Format (RDF) - must have extensive knowledge in this area. Java Development, Working with Oracle Databases and good Communication Skills."
    My question is what is "Report Document Format"? I hope it is different from RDF (Report Definition File).
    Thanks.

    Hi,
    It's a bit of personal...
    R u sailaja from Hyd Sqlstar Intl...
    If so then i am Ravi from the same..Remember(Madhu's batch)..

Maybe you are looking for

  • SAP R/3 to JAVA Interfacing

    Hi Dear all,       My requirement is that to connect SAP R/3 System with JAVA system through RFC. And through that need to pass data from SAP to JAVA AND also JAVA to SAP. Please tell me what is role of ABAPer here. Means what settings I have to do f

  • Can't get rid of white border around image

    http://www.gunnar.ca/laminatepage2.htm I created a rounded corner in photoshop for my table. I created a cell in the bottom left corner of the table and placed the gif. There is a thin whit border around the outer edge of the gif, so it doesn't look

  • Date Comparision in XSL

    Hi , I have a requirement where i need to take the Earliest and Last date time among DateTime Item nodes . i/p: <Order> <line> <Date1></Date1> <Date2></Date2> </line> <line> <Date1></Date1> <Date2></Date2> </line> <line> <Date1></Date1> <Date2></Date

  • Can I use same code to download on to my laptop/iPad as well as main computer. I have already purchased Elemenats12?

    I Have bought Elements 12 on a software card from PC world. I have registered it on my main computer. Can I also download it on to my laptop/ iPad?

  • Tri monitor

    I have my lovely g5 DP 1.8 and in theres the radion 9800 pro which has two 19" tft's. Now in to my possetion i have yet another 19" lucky moi i know. well as you can imagin - one graphics card drives 2 monitors, not three, thus i need to know if i ca