Question - Best practice data source for Vs2008 and Crystal Reports 2008

I have posted a question here
CR2008 using data from .NET data provider (ADO.NET DATASET from a .DLL)
but think that perhaps I need general community advise on best practice with data sources.
In Crystal reports I can choose the data source location from any number of connection types, eg ado.net(xml), com, oledb, odbc.
Now in regard to the post, the reports have all been created in Crxi 6.3, upgraded to Crystal XI and now Im using the latest and greatest. I wrote the Crystal Reports 6.3/ XI reports back in the day to do the following: The Reports use a function from COM Object which returns an ADO recordset which is then consumed fine.
So I don't want to rewrite all these reports, of which there are many.
I would like to know if any developers are actually using .NET Class libraries to return ADO.NET datasets via the method call or if you are connecting directly to XML data via whatever source ( disk, web service, http request etc).
I have not been able to eliminate the problem listed in the post mentioned above, which is that the Crystal Report is calling the .NET class library method twice before displaying the data. I have confirmed this by debugging the class lib.
So any guidance or tips is appreciated.
Thanks

This is already being discuss in one of your other threads. Let's close this one out and concentrate on the one I've already replied to.
Thanks

Similar Messages

  • VS2008/VS2005 and Crystal Reports 2008 Developer

    Hi,
    1.) I am using VS2008 and Crystal Reports 2008 Developer. Are there any issues I need to consider when developing using both of the above? (or with VS2005)
    2.) The confusion for me is in regards to the SDK. From what I understand from articles etc is that using CR 2008 dev we can use the .NET SDK or RAS SDK for development purposes?
    3.) So downloaded the sample code for RAS .NET from [here|https://www.sdn.sap.com/irj/boc/businessobjects-samples?rid=/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375] and tried "DatabaseLogon_CS" example, as the option. It automatically opened in VS2005 (no problem) however it would not run.
    I would get an error :
    Failed to connect to server "localhost".
    Error returned from Windows Sockets API : 0.
    and line causing this is >>> rcd.Open(ref path, 0);
    Code below:
            string sampleReportPath = @"C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\Samples\en\Reports\Demonstration\World Sales Report.rpt";
            object path = (object)sampleReportPath;
            // Create an instance of the ReportClientDocument.
            ReportClientDocument rcd = new ReportClientDocumentClass();
            // Set the location of the RAS server.
            rcd.ReportAppServer = "localhost";
            // Use the Open() method of the ReportClientDocument to open the report.
            rcd.Open(ref path, 0);
    I have been able to open the RPT file by itself. So it does 'see' the database.
    Reason why it would not run?
    Any help would be appreciated. Thanks

    If you're using the sample code from our website, make sure you have uncommented the InprocRAS option in the ConfigureCrystalReports method (see below). From your error description it seems like you're using the unmanaged RAS option, which requires a RAS server.
    private void ConfigureCrystalReports()
            /* The following methods implement the same sample functionality in three different RAS
             * scenarios. Uncomment the method you would like to use.
             * - inprocRAS() logs onto a databse using RAS and SQL authentication.
             * - managedRAS() logs onto a database using RAS and SQL authentication from a managed RAS server.
             * - unmanagedRAS () logs onto a database using RAS and SQL authentication from an unmanaged RAS server.
             * Undocument the call to the method which applies to your appropriate RAS settings.
            DatabaseLogon_inprocRAS();
            //DatabaseLogon_managedRAS();
            //DatabaseLogon_unmanagedRAS();

  • Alternative data source for EO and VO

    It is usually the requirement to customize the Entity Objects and View Objects so that they can work with data sources different than database schema objects (tables, views,...), some examples are Web Service or Oracle Coherence cache.
    I have developed mini projects using both data sources mentioned, by overriding relevant methods in the implementation EO and VO classes. There is one limitation I realize when developing these projects. Although both the EO and VO rely directly and completely on the alternative data sources (Web Service and Coherence), still there must be a schema object existing in the local database to back the EO and VO. This is because I still have to call super methods from ViewObjImpl and EntityImpl, and these methods are still doing some operations with the schema objects, and without these objects, ORA-00942: table or view does not exist will be thrown.
    For example, after overriding executeQueryForCollection in ViewObjImpl to take data from web service, it is still necessary to call super.executeQueryForCollection so that data will actually appear on the web page, and without the schema objects, this method will throw ORA-00942.
    My question is, is there any way to completely eliminate the need of schema objects in EO and VO? I know the answer (if exist) will be complicated but I'm willing to explore.
    Thanks.

    Thanks Timo,
    I figured out how to achieve this.
    Basically when creating the EO, I did not specify the schema object in the first step, and for each attribute that I created in the wizard, I also unchecked the checkbox "persistent". I could then create VO based on this EO and override all the necessary methods in the EO and VO so they can do CRUD operations via Web Service.
    In the case of only creating an VO (read-only, for retrieving/reading data only), I could also mark each attribute as "transient" by checking a checkbox in the creation wizard.
    Edited by: nhd on May 7, 2013 8:01 PM

  • SAP B1 Crystal Reports Add On and Crystal Report 2008

    Hi,
    I have posted the question at SAP Reporting Forum, but not much luck.
    The following reports is created in Crystal report 2008.
    From  http://help.sap.com/businessobject/product_guides/cr2008V1/en/CR2008_SP2_Fixed_Issues_en.pdf, I tnocie there could be moemry leak for Sybase Connectivity, but we are using ODBC.
    My client is using SAP 2007 SP00 PL49, SAP Crystal Report Add on is 2.0.0.7 and they have Beas 6.70.07
    They have encountered problem "The request cannot be submitted for background processing" after printing about 8 times of the same reports consecutively.  It is a work order reports which my clients prints for one operations at a time, with each operations generated 8 pages of output.  There are 5 jpeg on the report, which is not huge.
    Yes, I am aware there could be any problem related to that.
    What I notice is, on the workstation with SAP Business One client running, whenever user print a report named "Work Order", in the temp folder it creates one .rpt and 26 tmp files (Note that I have made up the number)
    Work Order {C0ECP901-C6F6.......}.rpt
    ~cpe{51DD9109........}.tmp
    ~cpe{71DD9109........}.tmp
    ~cpe{52DD9109........}.tmp
    ~cpe{53DD9109........}.tmp
    ~cpe{54DD9109........}.tmp
    At the moment, for a temporary solutions, everytimes when the error comes up, my client have to log off from SAP Business One, clear the temp folder and then relogin before they can print the same report.
    Anyone encounter the problem and manage to resolve. it.
    Edited by: Shwu Hua Gan on Aug 12, 2010 8:43 AM

    In case anyone is interested.
    I managed to drill down and get around with the following solutions.  Still in progress of monitoring, but seems to solve part of the problem.
    1. Open up the JPEG in Accessories--> Paint and notice that the JPEG is too big and cannot be seen without adjustting the scrolling bar.  Reduce the image size seems to work.
    2. The report is using dynamic graphic and reading JPEG path from a UDT with column 'type' and 'path'.  Subreport is used with record selection Type='Precheck'. When there was no Precheck type JPEG, it seems to crash.  We have asked client to add in type='precheck' and hyphen in path when it is not applicable.  In that sense, it will return something to the report.
    3. We also have subreport that read material issues.  when there was no material issue in the subreport, it crash.  So, we do the following:
    - section express - tick suppress blank section
    - right click subreport, tick suppress blank subreport.
    - in Subreport, at report option, we select suppress printing when no records.
    Note that workaround in point 3 does not seem to work for pictures.  So, it might be worth suppressing with formulas.

  • Crystal Report Server xi and Crystal report 2008 Barcode

    Hi, I have a crystal report server running (version xi) and have designed some reports using crystal report 2008.
    My problem is that I have used barcodes in the new reports and the server throws up an error about the barcode dll.
    Error message is
    Unable to retrieve Object.
    Error in File Report: Error in formula . 'BarcodeC39ASCII( ToText(CurrentFieldValue) )' UFL 'u2lbcode.dll' that implements this function is missing.
    Can I copy this dll to the server so that it runs ?
    Also, is there a crystal report server 2008, I dont see an install option on my CD?
    Is my only option to purchase Crserver 2008 ?

    Hi Philip,
    If you check in Crystal Reports designer when you created your formula,  you will notice in the 'Function Tree' of the Formula editor the DLL that responsible for 'Barcode39ASCII'.  The DLL is u25azalea.dll.
    Since this DLL was only shipped for CR2008 and not Crystal Reports XI there may be other dependencies.  As far as the location where it should be placed for CRS-XI,  it would most likely need to reside in:
    \Program Files\Business Objects\common\3.x\bin
    Regards,
    Wallie

  • Best practice data source from ECC 6.0 for legal consolidation in BPC NW7.5

    Hi there,
    after scanning every message in this forum for "data source" I wonder if there isn't any standard approach from SAP to extract consolidation data from ECC 6.0. I have to say that my customer is not using New g/l so far and therefore the great guide "how to get balances from ECC 6.0 ..." does not fully work for us.
    Coming from the old world of EC-CS there is the first option to go via the GLT3 table. This option requires clever customization and the need to keep both GLT0 and GLT3 in line. Who has experiences regarding maintenance of these tables in a production environment?
    We therefore plan to use data source 0FI_GL_4 which contains all line items to the financial documents posted. Does this approach make sense or will it fail because of performance issues?
    Any help is appreciated!
    Kind regards,
    Dierk

    Hi Dierk,
    Do you have a need for the level of detail provided by the 0FI_GL_4 extractor? Normally I would recommend going for the basic 0FI_GL_6 extractor, which provides a much more manageable data volume since it only gives the periodic activity and balances as well as a much smaller selection of characteristics. Link: [http://help.sap.com/saphelp_nw70/helpdata/en/0a/558cabb2e19a4db3097b81bba4fd0e/frameset.htm]
    Despite this initial recommendation, every client I've had has eventually had a need for the level of detail provided by the 0FI_GL_4 extractor (or the New G/L equivalent - 0FI_GL_14). Most BW systems can handle the output of the line-item extractors without much issue, but you should test using production data and make sure your system sizing takes into account the load.
    The major problem you can run into with the line-item extractors is that if your delta somehow gets compromised it can take a very long time (days, sometimes weeks) to reinitialize and this can cause a large load in your ECC and BW system. Also, for the first transport to production, it is important to plan time to initialize the delta.
    Ethan

  • Which are the best practices with mail for machos and any email client for PC

    I got some mac`s at the office, and I want make a best practices manual for my users, like, please open the clip to attach the file intead of drag and drop, beacuse the pc users see the photo embedded into the message body.
    could someone helpme?

    Why not print out Mail's Help files?

  • Standard data sources for Delivery and Purchase order quantity.

    Hi gurus ,
    Are there any standard data sources available for Delivery and Purchase Order quantity in Purchasing area .
    Thanks in advance .

    Hi,
    If you are looking for SD Scenario: Check this : https://websmp201.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002719062002E
    Happy Tony

  • Data Blocks - Different data source for Query  and DML

    Would anyone please tell me if it is possible in a BLOCK to define a stored procedure for queriying and a table for DML operations or vice-versa at the SAME time.
    If possible how do you do it using DATA BLOCK WIZARD? If you select your block to be based on stored procedure then it gives only stored procedure options for Querying and DML operations in next few screens.
    Also, suppose I used a stored procedure defined in a block for insert operations, is it implicitly called by INSERT RECORD function key in default menu? How does it take values from different fields on its own?

    Hi Deepon,
    We get data from both BSIK(open items)and BSAK (cleared items). Obviously if a accounting doc is not cleared it would be in open items and vice versa..
    Go through the help link for more information..
    http://help.sap.com/saphelp_bw33/helpdata/en/90/10e73a86e99c77e10000000a114084/frameset.htm
    Regards
    Manga(Assign points if it helps)
    Message was edited by: Manga

  • Local Administration rights for Xcelcius and Crystal Reports

    Hello Customercare,
        I am currently compiling a list of software that does and does not require local administrator rights to install and run.  
    I was wondering if you would be able to assist me, we currently use Crystal Reports version 8.5 and Crystal Xcelsius 4.5. I need to find out if these programs require local administrator rights on the computer they are to be used on to a) Install properly and B) run from that computer by a user without local administrative rights for that machine.
    Please let me know or point me in the right direction of a resource who would be able to help me with the above information.
    Many thanks for your time,
    Phil Booth
    GroupM
    Technical Support Engineer

    Hi Joseph,
    Download [Product guide/end userdocument|https://websmp103.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000713358&_SCENARIO=01100035870000000202&] select your product.
    For Business objects Integration kit for SAP click [here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a00ee3b2-5283-2b10-f1bf-8c6413e0898f]
    Regards,
    Shweta

  • "Date / Date Time" type parameters in crystal reports 2008

    i am using parameters in crystal report to select records. one of the parameters is "From Date" of type Date Time.
    i mapped this parameter to a field "DateIn" of type smalldatetime in my sql table.
    Now, when i open the report it asks for "From Date" but b y default it sets the time to current time so i have to change it to 00:00:00 manually. i want it to show 00:00:00 by default. which means i don't want time here.
    For this if i select the datatype of parameter "From Date" as Date only then i am not able to map it to the "DateIn" field of the sql table.
    Please help me out of this.
    Edited by: rohit0825 on Jun 2, 2010 2:25 PM

    >
    Deepravs wrote:
    > Hi Rohit,
    >
    > Change the Parameter to Date Datatype and use this formula in the "Record Selection Formula " (Report Tab -> Selection Formulas -> Record)
    >
    > = CDateTime ({?From Date})
    >
    > Though the parameter is date datatype it converts to datetime datatype amd maps to the desired column.
    >
    >
    > Thanks,
    Great !!!
    this is working.
    i found another way, i changed the datatype of parameter to Date and click ok and everything was good, it doesn't require any conversion to date time.
    Thank You so much. All Points You.
    Edited by: rohit0825 on Jun 3, 2010 10:47 AM

  • Related Data Source for Customer Trial Balance Report

    Hi Guys,
    Can any one please let me know the related Datasource, DSO and Cube available to develop Customer Trial Balance report on BEx.
    <b>My required Row/Colum objects are</b>
    <b>KPIs    Calculated/restricted     Formula/Logic     Unit     Authorisation</b>
    Total                Calculated     Sum of all the          Quantity
    invoiced                                     invoices for a
    Quantity                          FME
    Proposed
    Base Price        Calculated     Average price            Amount
                                                    for all invoices
                                                    per FME     
    Average Eqv.
    Base Price        Calculated     Average price            Amount
                                                    for all invoices
                                                    per FME     
    Price
    Difference             Calculated     Proposed Base         Amount
                                                    Price -  Average
                                                     Eqv. Base Price          
    <b>The aggregation behavior of the individual KPI</b>
    Key Figure                                  Aggregation            Characteristic             Time
                                              (Sum, Max, Last)          
    Net Debit Amount                         Sum                           All                  All
    Net Credit Amount                         Sum                           All                  All
    Total Debit Amount                         Sum                           All                   All
    Total Credit Amount                          Sum                          All                   All
    <b>Characteristics</b>
                         Hierarchy     Display Authorisation     Selection     Status/Mapping
    Customer Number                                 Yes     KNA1-KUNNR
    Customer Name                    
    Business Area                                  Yes        PRCTR
    Special GL Indicator                                  Yes                        Company Code                                   Yes      BKPF-BUKRS
    Industry Code                                     KNA1-BRAN1
    This is how my Functional Spec is..
    Please let me know ASAP.
    Thanks
    Murali

    hi,
    You can use this report.
    RFSLD00 Trial balance
    For Further Reference use the link.
    http://www.abapcode.info/2007/06/standard-sap-reports.html
    Regards
    Sumit AGarwal

  • Best Practice to bring OLAP Universe and WebI Report to Production

    What are the best ways to bring a WebI Report that is developed on a OLAP Universe (based on BEx Query) from Development to Production environment?
    Edited by: B.Wegner on Nov 8, 2010 2:54 PM

    1) Move your BEx query from SAP DEV to SAP PROD (SAP internal transport system)
    2) Move your report (incl. universe) using the LCM or the Import Wizard from your BOBJ DEV to your BOBJ PROD system
    3) Edit the universe connection in BOBJ PROD to point to your SAP PROD system.
    Regards,
    Stratos

  • Displaying the Data Source Name on a Crystal Report

    Does anyone know a way to display in the report header the Datasource name. We have Identical reports that get run on Identical databases with different Datasource names for our different manufacturing facilities. This would make it easier to Identify what Plant database the report was run against.
    Thanks

    there is a function in sql where you can use DB_NAME()
    this will produce in a stored procedure, not sure if you can use it in a sql expression or not

  • OIM 9.1.0.2 - Weblogic JDBC Multi Data Sources for Oracle RAC

    Does OIM OIM 9.1.0.2 BP07 support Weblogic JDBC Multi Data Sources (Services>JDBC>Multi Data Sources) for Oracle RAC instead of inserting the "Oracle RAC JDBC URL" on JDBC Data Sources for xlDS and xlXADS (Services>JDBC>Data Sources> xlDS|xlXADS > Connection Poll> URL) ?
    If yes, is there are any other modifications that need to be made on OIM, or just changing the data sources?

    Yes, it's supported. You install against one instance directly of the Rac Server. Then you update the config.xml file and the jdbc resource in your weblogic server with the full rac address. It is documented for installation against RAC. http://docs.oracle.com/cd/E14049_01/doc.9101/e14047/database.htm#insertedID2
    -Kevin

Maybe you are looking for

  • Key-entqry issue

    Hi, I have a form with 2 tabs. After querying some data, If I press ent_qry button, nothing happens. So I wrote the following code in the form_level key-entqry trigger. BEGIN    SET_MENU_ITEM_PROPERTY ('QUERY.CANCEL_QUERY', enabled, property_true);  

  • Authorization issue for TR VD01 & VD02

    Hi all, In customer master creation for TR VD01 and VD02 basically we have 3 VIEWS( General data, company code and sales area data). My main requirement is we have 3 sets of users. for one set of users we should give authorization only for creating a

  • Singleton's in Mutliple Programs

    My basic question is, if in my program I create a singleton class, but I run my program multiple times, do the the programs share the same class, or each make their own? I ask because I feel like I've seen both behavior, but can't tell what the diffe

  • Call a Dll

    Is it possible to call a Dll at Runtime?

  • Does gapless playback relate to burned CD's as well?

    Will the new gapless playback work when a playlist is burned onto a CD or is this just for iTunes play?