Crystal Reports Macros - grabbing data outside of DB

Hello all,
Here is some background: 
I have a database that is storing audit events from Novell's eDirectory.  The information it contains has the user dn, however it doesn't contain the first name or last name of the user dn in question.  Is there anyway that I can have a macro called to grab the information I need that isn't in the DB?
So in essence, I would like to do dynamic look ups in either an Active Directory tree or eDirectory tree depending on the entry I get back.  Is this feasible?  Or am I only limited to pulling data from the database?
Any enlightenment appreciated!
Thanks
Edited by: Dean Liu on Feb 27, 2009 12:58 AM

No, Crystal has no option to do this. You could write a UFL, post your question to the Developement forum for help on writing one, or use the database query or tool to get the info into the DB. If you can export it to a text file CR can report off of CRV files types.

Similar Messages

  • Crystal Report Using ECC Data has Auth error in Infoview

    We've created a Crystal report that successfully accesses ECC data from a function module in our Dev environment when the report is executed from within Crystal Designer.  When we try to execute the same report against the same development ECC system from within InfoView we get the following error:
    ERROR: The Database Logon Information for this report is either incomplete or incorrect. 
    The connection information is the same as it is in designer. We are able to successfully run Crystal Reports over BW data within InfoView. Any ideas about what might be wrong?
    Doug

    Ingo,
    The consumers of the report do have ECC access for order and inventory management so licensing should not be an issue.
    We were able to resolve the issue. The problem was with our version of SAP GUI on the BO Dev server.
    We had to update our u201CServices.dllu201D and our u201CSAPLogonTree.xmlu201D file with an accurate version.  Once that was done, the report executed as expected in InfoView using LDAP.
    Thanks,
    Doug
    Edited by: Douglas Eberle on Jun 13, 2011 6:54 PM

  • Using crystal report to extract data from Audit Log

    I have a customised form which contains main fields (i.e 20 fields) and when a field is changed, it's being recorded in the audit log.
    Would it be possible to use Crystal Report to extract data from the Audit Log? Ideally, i would like the report to show me all the latest field values in a spreadsheet type format (i.e. one field per column)
    Has anyone try this and if so, what is involved?

    An element with both text & a sub-element is a mixed-content element.
    For example ElementA is a mixed content element.
    <ElementA>
    Text
    <ElementB></ElementB>
    </ElementA>
    Extract just the Text from ElementA.
    <xsl:template match="ElementA">
    <xsl:apply-templates select="text()" />
    </xsl:template>

  • Can Crystal Report XI update data in a SQL Table

    Post Author: abidamin
    CA Forum: Data Connectivity and SQL
    Hi,
    I have a very specific requirement to update a flag field in one of SQL2005 database tables, I need to update a One character field with Y on all selected records printed on the report as a result of running the report successuflly.
    Can anyone let me know if it is possible to update a SQL table field using Crystal Report XI.
    Regards

    Post Author: SKodidine
    CA Forum: Data Connectivity and SQL
    Perhaps this KBase article can be of some help.
    http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2011921&sliceId=&dialogID=18608077&stateId=1%200%2018610053

  • Crystal Report 2011- SAP Data Sources: CL - no items found

    Background:
    SAP ECC 6.0 was purchased three years ago with DSD package. Only FI and SD modules are in use. Accounts download data filesfrom SAP to produce spreadsheet reports. Few user trust these numbers. We are setup as "SAP in the Cloud" model- Listening to constant user complaints, it seems SAP is broken. Interim solution: Crystal Report for everyone.
    Encouraged by Ingo Hilgefort papers and Crystal Report Forum:
    We decided to deploy Crystal Report 2011 and Business Object XI 3.1 with SP4 for our small user community. These software are installed on local XP laptop and Business Object XI 3.1 installed in the SAP server as well.
    Problem Description:
    The desktop user cannot see SAP infosets or tables contents. When connect to the data sources. After user login, she can navigate to expand the data source CL.- displays "no items found ". I can reproduce this error. Using the Crystal Report wizard and selecting various data sources such as: SAP Table, Cluster and Functions: CL, DD and FN category only DD and FN display items.
    Current Environment: SAP in the Cloud.
    SAP Server::ECC 6.0 EhP3 dual stack. Database MSSQL, OS 2008 Server, Business Object Intergration Kit 3.1, Remote Acces VPN.
    Desktop Environment: Crystal Report 2011: SP1, Business Object Xi 3.1, XP SP3
    Surprise: Clicking on either DD and FN tab inside the connector window in Crystal- it expands and displays tables and content reference but not CL.
    Questions: Do we have to move to EhP5 for the CRX 2011 to work ? What is wrong: ? Any help will be appreciated?
    This question is for Ingo H. How to convince SAP hosting company otherwise to solve our problem ? Is is desktop problem or Host side configuration ?

    Ahmad
    K900687 is Open SQL Connectivity transport and required for direct SAP tables connectivity, so you need it, but I am not sure if the warning message relevant to your problem. Sometimes warning is just a warning.
    You can see other objects in DD, but not in CL, it means the connection works. You probably do not have required authorisations to see objects.
    I would suggest to review the Authorisation section of SAP Integration Kit Installation Guide here:
    [http://service.sap.com/~sapidb/011000358700000559912010E/xi31_sp3_bip_sap_inst_en.pdf ]
    You may also check what is the differences between DD and CL in terma of authorizations.
    If you think CR 2011 is broken, then test CR 2008. Is still available for free 30-days trial download here:
    [http://www12.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx]
    , but you would need to add SAP Integration Kit to it.
    Vitaly

  • Populating a Crystal Report from XML data

    Hi,
    I want to populate a Crystal Report using a XML data structure. Below I have explained what Iu2019m trying to do in detail,
    u2022 First I will create a Crystal Report using Crystal Report XI R2 designer  by connecting to a Oracle database using a native Oracle connection (not ODBC or JDBC)
    u2022 Then I want to write a Java application using CR XI R2 JRC SDK to open this report
    u2022 Then to run and populate this report using a XML data structure (which I have separately in a disk location. XSD too is available in disk)
    u2022 Then to export this report with data to either PDF or RPT file with saved data in to disk.
    The questions I have are,
    1. Is this possible to do in away?
    2. If so, can you please provide me with a sample code for doing this? I tried some of the other threads in the forum but some had broken links.
    3. Do the xml and the xsd needs to be in a special format?
    4. Is there any other configuration setting I should do?
    Hope you can help me. Thank you in advance.
    Regards,
    Chanaka

    Hi Chinmay,
    Thank you for the prompt answer. I have gone through this before. It explains on how to create a report using a xml database from CR designer. What I want to do is to set the data source programmatically to a xml date source from the code. I didnu2019t find anything like that. Is it the same way as setting the database connection information?
    Also another question I have is how does a report with two tables work? Say I have a master u2013 detail report (order and order lines). The master part is taken from one table (order_tab) and the detail part is taken from another (order_detail_tab). Do I need to have 2 xmls or is one structured xml sufficient? How will the same work if I have the detail section in a sub-report? Will it work with one or do I need to have two?
    Regards,
    Chanaka

  • Crystal Report not fetching data

    Hi Everyone,
    I have a crystal report which is not fetching any data but when I run the same sql in the database the data comes.Can anyone please help me in finding what exactly the problem is.
    Regards,
    Neeraj

    Sorry we can't help you, not enough info.
    See Rules Of Engagement.
    What have YOU done to debug the problem?
    Version of CR and any patches?
    Database connecting to and any patches?
    Version of Database Server and Client?
    How are you connecting, ODBC, OLE DB or Native?
    What error are you getting?
    Don

  • Crystal Report on ECC data

    Hi All,
    My client has typical requirement where they want free form text from Portofolio Item to be printable or exportable documents.For which I think only option is to design Crystal Report on SAP PPM Portfolio Item Notes(Portfolio Item Details>Overview tab> Project Summary--> columns Project Purpose, Rationale etc). These are free form text and user can enter unlimited characters . Now my user want data from these fields in form of documents either they print or export to Word or PPT.
    Please suggest me whether Crystal is right tool or any other document management tools we can use.
    We are on BI 4.0; SAP BW 7.30 and ECC 6.0.
    Appreciated your help and guarantee of points for helpful answers.
    Regards,
    Reddy

    Hi Ingo,
    Its nice to see you and thanks for response. I am sorry as I was traveling couldn't reply. My requirement is to display ECC data(I am using FM) in BO report and I read that there is concept called Business View Manager. So can you please suggest me whether to use BVM to improve Crystal Report performance or not required.
    And also if report consists of more number of columns(200+), whats the best way to design Crystal Report? I mean if we have all fields in one row than it is hard to read especially if there are long descriptive fields. In that case Subreports, Hyperlinks etc or some other way to make it user friendly and readable format.
    Please let me know if you need additional info and greatly appreciate your help. Only question is if we have more number of columns and rows whats the SAP best practice for designing/formatting Crystal Report.
    Thanks and Regards
    Reddy

  • Crystal report showing Incorrect data against Bex Query

    I have created Crystal report on top of Bex Query, I have not done any calculations in the report, just dragging structure and key figure in the report, ran for one month, when I compare with Bex Query with same period, it is showing incorrect data.
    I don't know what can be wrong here?
    We are Business Objects 3.1 SP3.
    Thanks,
    Ravi

    HI,
    I would suggest you trace the workflow in Web INtelligence according to these notes:
    Tracing:
    Unix : Note 1235111
    Windows : Note 1260004
    and then post a link for downloading the trace files here.
    regards
    Ingo

  • Crystal Report 8.5 (Date/Time Tab Missing)

    Hi All,
    I have been using Crystal Reports Pro 8.5 (SP3) for a while now but I have come across one problem which I cannot understand.
    All Date and Time fields within our SQL database are showning in Crystal as only Date fields even though they are definately Date Time field. If I explore the field data within Crystal it only shows me the Date field.
    The interesting twist is my work colleague has got the same O/S Windows 7 and the exact same version of Crystal as me and he is able to see the Date/Time tab when formatting the field and Crystal identifies the field as a DateTime field.
    Any help would be much appericated.
    Thanks

    Hello,
    It's the ODBC driver you are using, or how ever you are connecting. They are likely using a newer version which CR see's the data/time field type and not convert it to a date field.
    Or it could be one of your Report Options. 8.5 is 10 years old not so I don't recall what the reason for this was now.
    Check your database driver and settings.
    Thank you
    Don

  • Connect Crystal report with FI Data through MAXDB ERP Tables or Datasources

    Hi,
    I want to create crystal report queries for SAP ERP FI Data. The source system database is MAXDB.
    How can i connect the maxDB database or ERP to crystal report?
    Do i need tables or datasources to create queries, and how do i connect them to crystal report.
    I will thankful for any help.
    Kind regards
    Arnaud

    I would recommend to take a look here:
    BOBJ and SAP R/3
    /people/ingo.hilgefort/blog/2008/03/23/businessobjects-and-sap-part-4
    The drivers I am talking about will be available in the CR Designer once you install the BO integration kit for SAP solutions.
    If you try to access directly the underlying MAX DB database you will not have access to all data since SAP ERP stores the data partially compressed in the database tables.
    Regards,
    Stratos

  • Crystal Reports and Oracle Dates

    Post Author: Robert
    CA Forum: General
    Hey Guys, I am experiencing some issues with Crystal Reports Developer XI (SP4) and Oracle Dates. Situation:I have a view setup in oracle database, i use this view to base my reports. Within the view there is a logtime column (to_date(logtime,'DD-MM-YYYY') & to_date(logtime,'DD-MON-YYYY') -: i have used both) When i connect to the database the database expert (view on the left of the screen) displays the logtime column as date time, but when i go to refersh the report with data with the logtime as group 1, i get a whole lot of errors:1: Failed to Retrieve data from Database2: Failed to Retrieve data from Database    Details: ORA-01861: Literal does not match format String    Database vendor code: 18613: Failed to Retrieve data from Database    Details: Failed to execute SQL statement. OCI Call................................... Anybody got any ideas why this is happening, if i use the to_char the report work fine...well it will not sort by date!! Any help, most appreciated.... Robert 

    Post Author: Robert
    CA Forum: General
    Hello there and thanks for your reply,
    I have found the problem, it was not really a problem but a slight misjudgment of the use of the to_date function in oracle!
    I should have used to_date in conjunction with to_char
    to_date(to_char(logtime,'DD-MM-YYYY'),'DD-MM-YYYY')
    Presto
    No need fo any formula in crystal to do this....
    Thanks again

  • Crystal Reports return no data after publish to Infoview.

    *Description of Problem or Question:
    Reports defined in Crystal report client do not work correctly when published to Infoview.
    When report run from client, correct data is returned. When run from Infoview, no or limited data is returned.
    The problem is new since installation of Service Pack 3 fixpack 3.5.
    We are using the SAP Integration kit.
    Product\Version\Service Pack\Fixpack (if applicable):
    BOBJ XI 3.1 SP3, FP 3.5 (Including Integration kit transports)
    Relevant Environment Information (OS & version, java or .net & version, DB & version):
    Windows 2003 64-Bit, Java, Linking to SAP ECC6 on MAXDB 7.6
    Sporadic or Consistent (if applicable):
    Consistent, altough 1st refresh returns data, subsequent refresh returns no rows or few rows.
    What has already been tried (where have you searched for a solution to your question/problem):
    We have searched SAP Marketplace for OSS notes but none match our problem.
    Steps to Reproduce (if applicable):
    Create report in Crystal Reports - publish to Infoview
    Install BOBJ XI 3.1 SP3 and FP 3.5
    Refresh report in infoview - shows limited or no data
    Open report in Crystal Reports 2008 Client, refresh data - returns correct data.
    Save Cystal report to Infoview, refresh data in infoview (scheduled or online) - returns incorrect or no data.

    Hello,
    this is interesting. Check your CR Server settings if there are any limits with regards to rows or timeouts after the installation of FP3.5
    If your CR reports are running on a Universe, check the properties of the Universe if there are limitations affected to the rows.
    If this all brings no result i would highly recommend to open a Support Message at SAP - maybe thats a Bug coming with FP3.5
    Regards
    -Seb.

  • Crystal reports from XML data source in 'CR in Eclipse(CR4E)'.

    I'm trying to generate the crystal reports from XML file using 'eclipse in crystal reports' through programatically. It had thrown this error.                                                                               
    log4j:WARN No appenders could be found for logger (com.businessobjects.reports.sdk.JRCCommunicationAdapter).
    log4j:WARN Please initialize the log4j system properly.
    Exception in thread "main" com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Error loading database connector.  The class 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader' could not be accessed.---- Error code:-2147467259 Error code name:failed
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
         at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.an.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.b0.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.b0.b(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.bb.int(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.byte(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.addTable(Unknown Source)
         at com.businessobjects.samples.CreateXMLInlineSchemaReport.main(CreateXMLInlineSchemaReport.java:50)
    Caused by: com.crystaldecisions.reports.common.QueryEngineException: Error loading database connector.  The class 'com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader' could not be accessed.
         at com.crystaldecisions.reports.queryengine.Connection.ur(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Connection.uB(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Connection.br(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Connection.bs(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Connection.t1(Unknown Source)
         at com.crystaldecisions.reports.queryengine.Table.u7(Unknown Source)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(Unknown Source)
         at com.crystaldecisions.reports.common.CommandManager.a(Unknown Source)
         at com.crystaldecisions.reports.common.Document.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.f.a(Unknown Source)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
         ... 24 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         ... 36 more
    Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Failed to load the database connector 'crdb_xml.dll'.
         at com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader.loadDriver(Unknown Source)
         ... 40 more
    Edited by: Kondal Kolipaka on May 29, 2009 6:25 AM

    Hi,
    1) Open the Crystal report with XML datasource connectivity in the Crystal Report designer.
    2) Click on File ->Report Options.
    3) Uncheck the Verify On First Refresh box.
    4) Save the Crystal report.
    5) Open this Crystal report in Crystal Report for Eclipse designer and try Executing it again.
    Please let me know the results.
    Thanks,
    Neeraj

  • Crystal Reports dynamic parameters data source

    Database: Sybase ASA 9
    Crystal: Developer 11 SP4 , activex viewer
    Application: Powerbuilder 11
    I am embedding crystal reports into a powerbuilder 11 application. The crystal reports (.rpt files) are created in Crystal reports developer 11 sp4. The application programmatically change the DSN for the crystal reports to connect to the database that the customer is using. This works fine except when the report contains dynamic parameters (parameter select values from table in database to select from). The dynamic parameter(s) still references the DSN used in development as appose to the new (changed) DSN , although the rest of the report use the "new" DSN. I have spend many many hours on this and are at a lost on how to fix this ?
    Following is in short the code I use:
    FOR li_table = 1 TO iole_crx_report.database.tables.count
    // get connection properties collection for this table
    iole_crx_connection_info = iole_crx_report.database.tables[li_table].connectionproperties
    iole_crx_connection_info.DeleteAll()
    iole_crx_connection_info.add("DSN",itrx_database_info.Lock )
    iole_crx_connection_info.add("User ID",itrx_database_info.userid)
    iole_crx_connection_info.add("Password", itrx_database_info.dbpass)
                                                  iole_crx_connection_info.add("UseDSNProperties",TRUE)
                                  iole_crx_connection_info.add("AllowCustomConnection", TRUE)
    NEXT
    iole_crx_Database.Verify()

    Hi, Johan;
    There is no SDK option to change the datasource that the dynamic parameters are based on. Your only option would be to change the DSN itself to point to the new database. Or, not use dynamic parmeters.
    Regards,
    Jonathan

Maybe you are looking for

  • Changed my Apple ID and this is what happens....

    I changed my apple ID last week, i figured if i change it then it would be the same on all my devices, boy was i wrong! ive nothing but trouble since i did... i changed it to my @me.com email address, which i now cant verify becasue i cant access my

  • Create GR using BBP_PD_CONF_CREATE

    Hi Experts I have a requirement in which I have to automatically create GR from PO. For this I have created an FM. In this FM I first call BBP_CF_ASSIGNMENT and then map the header structure(without the dummy guid as it gives error in the BBP_PD_CONF

  • How to create members and properties in BPC for Excel...

    Hello, Is it possible to maintain and create members and properties from an input schedule of BPC for Excel? We want to give access to the end users to maintain one dimension (invoices) from an input schedule of BPC for Excel,  in order that they wil

  • [SOLVED] Screen problem with HP 2133 mini-note

    Hello Archers! First of all, a HUGE thank you to the Arch Community – I've been using Arch on my desktop for five years, and between the forum and the wiki, have been able to solve/fix every issue so far without needing to post a question.  Now I'm s

  • Who have a solution for Pc win 7 in DisplayPort in my iMac 27?

    Hi I have a big problem... When I run (with cmd/F2) my Pc tower on displayport on my iMac 27 the icones on my Pc with Win7 are alway mix on my desk, window 7 never remember the places of icones of my last session???? When I plug the same Pc on other