Getting Infoview Folder Location in Crystal Reports

Hi,
I was wondering if anyone knows if it is possible to create a formula or function in Crystal Reports 2008 that would allow a Crystal Report to dynamically retrieve the Infoview folder path that it is in within Infoview XIR2 SP4?
Let's say in Infoview that I have a folder hierarchy with a report in a subfolder (sorry for the poor drawing), such as:
Public Folders -> Folder A -> Folder B -> Folder C -> MyReport.rpt
|----
> Folder D -> Folder E
I'm trying to find a way to create a formula or function in Crystal Reports that would return something like:
   | Public Folders | Folder A | Folder B | Folder C
I'm using the pipe symbol as an example delimiter. Subsequently, if I were to move the report to Folder E in the above structure, the formula would return:
   | Public Folders | Folder D | Folder E
Is this possible? I know that Crystal has a built-in function to get the path and file name of the report, but it returns the physical path and name of the file in the FRS, not the logical folder path within Infoview.
Edited by: Perry Provost on Nov 25, 2010 8:00 PM

Hi Perry,
First, don't mix Report version and BOE versions. If you are on XI R2 then use CR XI R2 also. Or be careful, new functionality may cause problems in BOE.
There is no function in CR 2008 that could do that. You could however, if you are or have a developer available, write a UFL that could query BOE to get the info. They do need to be the same version though.
You may want to post your question in the BOE forum also, there may be a way to get the info using Query Builder.
Thank you
Don

Similar Messages

  • I would like to get certified for the SAP Crystal Reports. So, I would like to get some info about the currently available Certification Exams for Crystal Reports (2011/2013). Also, would greatly appreciate  if you have any suggestions for thi

    Hi,
            I would like to get certified for the SAP Crystal Reports. So, I would like to get some info about the currently available Certification Exams for Crystal Reports (2011/2013). Also, would greatly appreciate  if you have any suggestions for this Certification Exam preparation materials from another 3rd party or from SAP directly .  I would like to prepare or get trained well before taking the exam as I see it costs around $500.
    Thanks in advance for your help in this regard!
    Sincerely,
    J

    Please search here.. Training and Certification Shop for your desired certification or training. Don't forget to set your location.
    Please use some summarized title for your query.

  • Change the field object location in crystal report

    hello,
    i want to change the contols location in crystal report and the controls alignment in run time to make mirror ,how can i access this controls and this properties. we use two language English and arabic that have different alignment.
    thanks and best regards,
    Mahmoud awad

    <p>The best place to start would be on the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm" target="_blank">DevLibrary</a> you can find the reference guide for the APIs for the CR .NET SDK. Generally speaking, you can access the particular field object using the corresponding class and modify it&#39;s left/right/top/etc properties to change placement.  For example, if you want to modify properties for a text object on a report, use the TextObject class and the members exposed by that class.</p><p>Depending on what properties you want to modify, you&#39;ll need to look at other classes such as the FieldFormat class or ObjectFormat class to access other properties.  So I recommend using the reference guide to help you find what you are trying to do.</p><p>-MJ</p>

  • Getting Image from database in crystal report

    Hi Experts,
                         I have a user UDF which has Image datatype. I store all the image in C:\Program Files\SAP\SAP Business One\Bitmaps\   folder.Now i have to show this image in my crystal report. When i tried to pick this image from database it gives me only the name of image with extension like abc.jpg . How could i achive this in crystal report.
    Thanks and Regards

    Hi Om
    As you have the location of the image, you can insert it as an OLE object onto the report.
    Click on Insert -> OLE Object -> specify the path of the image.
    For more information, please refer to Crystal Reports help.
    Regards
    Sourashree

  • Error in switching from one database location  to another database location in Crystal Reports using JSP

    Hi,
    Please help me in resolving the issue while changing the database dynamically in crystal reports using JSP. I followed the below link to change DB connection dynamically.
    CRJava Modify DB Location
    Please help me on this.
    While switching from one database to another i found the issue.
    dbController.replaceConnection(oldConnectionInfo, newConnectionInfo,pFields,replaceParams);
    The Error is:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Subreport does not exist.---- Error code:-2147467259 Error code name:failed
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:732)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
        at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:480)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:421)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
        at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
        at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
        at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.char(SourceFile:220)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.new(SourceFile:240)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.do(SourceFile:452)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.if(SourceFile:429)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:156)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
        at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:65)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.a(SourceFile:1921)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValues(SourceFile:2237)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValue(SourceFile:2328)
        at org.apache.jsp.DynamicDB_jsp._jspService(DynamicDB_jsp.java:255)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.reportdefinition.ReportModificationException: Subreport does not exist.
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.a(SourceFile:229)
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.for(SourceFile:214)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1492)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
        ... 47 more
    Any help Appreciated.
    Thanks
    Penchal

    Do you have subreports in your reports?
    If yes, set the connection info for the subreports as well.
    Additionaly refer to the below discussion
    http://scn.sap.com/thread/3153289
    As you are using Crystal reports for ecllipse runtime libraries to build your jsp, you would need to post your dicussions in the below forum to get better response.
    http://scn.sap.com/community/crystal-reports-for-eclipse
    The above space is dedicated for the issues with crystal reports for ecllipse.
    Thanks,
    Prithvi

  • Database Location using Crystal Report XI

    Crystal Report XI Developers Edition; VB 6 Enterprise Edition
    Prior to using Crystal Reports, I will create (if not already there) a database in my Visual Basic project file.
    Via Crystal Report XI, when I designed reports, I used Database Location as my project file where I stored a copy of the .mdb file.
    Prior to creating an "installaltion setup" package, I will create a Directory in Program Files. Let's use and example--I'll call the Directory in Program Files "Sports" so what I do is to copy the ".mdb" file to this directory and change the database location in the rpt files to "C:\Program Files\Sports".
    I have a question, in most install packages, the installer has the option to change the location of the setup files. Let's say installing my application, the user changes the directory. Therefore, the setup files (including the database) are not in "C:\Program Files\Sports" they are in "C:\Program Files\SomeOtherDirectory".
    QUESTION: How does Crystal Report know about this change? Remember in the design I setup the database location as ""C:\Program Files\Sports". Is there a way to tell CR where the database file is located (i.e. application path)?
    Thanks,
    Sam

    The Crystal Reports dlls must be in the correct Bin directory (depends on the version of CR used). You can not change this. If you are using a database such as Access mdb, you can set the report to look in it's own directory for the mdb database. If that is what will work for you, ensure that the report and the database file are in the same folder. let me know if you need more info on this.
    Ludek

  • How to get the ard file of crystal reports

    Hi all,
    I have downloaded crystal reports from sap market place but i dont have .ard file for that how to transfer that reports into sap. How to get the ard file please help me out.
    Thanks & Regards,
    Murtuza Ahmed.

    When you click on your SAPCrystalSetup.exe and select the path to your add-on folder it will install the files and your ard file will be situated in your add-on folder.  Then you can start SAP up and install it from SAP. 
    So if your SAP install is in your local drive your ard file for crystal reports should be here C:\Program Files\SAP\SAP Business One\AddOns\SAP_CR
    Hope this helps.

  • Infoview error when opening crystal report

    Anyone experienced this type of problem and managed to resolve it?
    Kindly assist.
    Thanks

    Sorry I did not provide all the information.
    I get the error message u201CThe database login information for this report is either incomplete or incorrect".  This is when refreshing a crystal report in Infoview.  The data source is SAP and am directly accessing the tables.  Am running IE 8 and crystal reports 2008.  I have checked security options and they look ok.

  • Getting Communication failure error in crystal reports

    Hi All,
    We are using Crystal reports for our business as a report tool. We are getting Communication error failure message. Please help us to resolve this issue. We are using Multihomed server.
    If we can resolve this problem by coming Monday morning EST it will be great help for us.
    Contact numbers are Surya : (1) 609-439-6786 (mob) and (1)  408-689-7221 (home)
                                      Venkat: (91) 9444704889 (mob)
    Waiting for your call.
    With Regards,
    Venkat.

    Hi,
    The error messages occur because there are multiple network cards or name resolution issues on the server.
    To resolve the error, specify an available port for an IP address
    1. Open the Crystal Configuration Manager (CCM).
    2. Stop the CMS.
    3. Define an available port number on the command line of the CMS for the IP address (for example, - Port <IP Address>:<port number>). Verify that the port number is not in use.
    4. Start the CMS.
    Now Logging on to the CMS from the applications will now occur successfully.

  • Reg : How to get the company address in Crystal Report

    Dear members,
    I am stuck up with problem in Crystal Report in my project. I want to get the company address in the Crystal Report. How can i get the company address in the crystal report. Hope i will get help in this regard.
    Thank you.
    Regards,
    Venkatesh Rajagopalan

    Hi Dear
      plz send me  what is your methad to applay,
    so i am sending u code   for company address
    all company information  contain the OADM table ,
    so applay the select query  ang get the data form table
    this ia sample code ........
      SAPbobsCOM.Recordset oRecordset = (SAPbobsCOM.Recordset)ICreon_SBOAddOn.SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                    string GetComp = "select * from OADM ";
                    oRecordset.DoQuery(GetComp);
                    strCompName = oRecordset.Fields.Item("CompnyName").Value.ToString().Trim();
       Use this code  u will find the company name
      and after  that pass this valu a parameter
    oRPT.SetParametervalue ("CompanyName", strCompanyName)
      so pass the strCompanyName  as a parameter in the  cdrystel report.
    hope  help this code ,
    if u have any problem so plz send me  question in form,
    if u r  satisfied my answer so pl give me rewards point,

  • Issues with Infoview data refresh on Crystal Reports based on BW BeX query

    Hi all,
    We applied the Business Objects XI3.1 fix pack 3.1 with Integration toolkit fix pack 3.1 in our environment.
    After that we started having trouble with Crystal Reports based on BeX queries that use manual input variables.
    The data refresh would not work in Infoview.
    The data refresh would work using the Crystal Reports designer gui on local machine.
    regards,
    Abhishek

    Hi all,
    This thread is for the benefit of all the BW/BO people who faced issues with BO reports not working after certain fix pack installations.
    After lot of time spent in debugging this and researching and some help from SAP, we found that BASIS had missed a step in the BO patching. This step was relating to applying some BW transports in the BW system related to the new Integration toolkit.
    Please use below notes for the BW transport task of patching BOE Integration toolkit.
    Refer to Note#1472104 which explains about loading the
    transports when we install BO Service Packs or Fix Packs. Also please refer to the Note#1271751 for the advice on transports for BW systems.
    Please go through page 206 (Configuring transports) in the SAP Integration Kit installation guide. You can download this document at below link.
    https://websmp106.sap-ag.de/~sapidb/011000358700000559912010E/xi31_sp3_bip_sap_inst_en.pdf
    Refer to Note#1345919 which explains about the process of loading transports for SAP IK.
    regards,
    Abhishek

  • Getting No rights error in Crystal Reports connection with SAP ECC 6

    I am ABAP/BI developer and would like to work in Crystal Reports 2011. Currently, We have SAP ECC 6 and BI 7 set up. I have installed trial version of Crystal Reports 2011.
    I am getting error while trying to create blank report in Crystal Reports:
    Create New Connection -> SAP Tables.. -> entered SAP Development server user id and password -> following error message :
    LOGON failed
    Details : You do not have necessary rights to design reports against the SAP system. Please check with your system administrator.
    My user id has all rights in development server.  So, is any special rights require? OR do we have to install any patch for Crystal Reports at SAP level?
    Please guide me.

    Hi,
    To be able to report off an SAP data source in Crystal Reports, request the SAP Administrator to set the appropriate authorizations for the user.
    For a list of authorizations that are necessary for each type of SAP connection, consult the document:
    BusinessObjects XI Integration for SAP Installation Guide
    In the "Authorizations" chapter, there is a description of each authorizations needed for each type of connection and actions.
    ( The document is attached to this SAP Knowledge Base Article in the attachment section )
    In addition to the authorizations specified in the SAP Integration Kit Installation Guide, the following authorizations are required:
    For Authorization object: S_RFC with Field name: RFC_Name. According to the installation guide the values should be: SYST, /CRYSTAL/OPENSQL
    Additionally you will need the value: SUSR as well.
    For Authorization object: ZSEGREPORT with field name: ACTVT. According to the installation guide the value is: 02 (Change)
    Additionally you will need the value: 01 (Create or generate) as well.
    Thank you.

  • Where to define .rpt file location in Crystal Report Server 2008

    Hi all,
    I have installed Crystal Report Server 2008 in my machine and trying to invoking the report from my java application. Earlier we have used Crystal Report Server XI Release 2 and in my java application i am passing crystal report server name, report name, parameters and it is woking fine in Crystal Report Server XI Release 2. But now I have installed Crystal Report Server 2008.
    In Crystal Report Server XI Release 2, we have a option to provide the report directory folder from the computer. That is in Central Configuration Manager - > Right click on Report Application Server -> Properties -> Parameter Tab -> Change Option Type to Server and And Select directory which contains the .rpt files.
    Like the same way, i need to give the report directory path in Crystal Report Server 2008. Then only the report server will find the report from the directory and display it. In my application i am passing the report name to the crystal report server. The report server will find the exact report from that folder from the local system and display it in application.
    I can able to give the report file directory in Crystal Report Server XI Release 2, but cannot able in Crystal Report Server 2008.
    Pls help me how could i do this?

    In Command Line Parameters of ReportApplicationServer

  • How do send to call on Infoview programated parameters did Crystal Reports

    Hi
    I created some reports in Crystal Reports 2008 that have parameters, these reports function fine, but when I try to view them on Infoview, my reports still appear all the information without requiring all the program parameters.I have done the following steps to try solve that, but the problem contnues:
    1. connect to the Central Management Console (CMC)
    2. open the properties of my report
    3. expand Default Settings and click on Parameters link
    4. I checked "Prompt when viewing"
    I´m using Business Objects 13 and Crystal Reports 2008
    Do you have another solution?
    Thanks in advance

    Hi,
    please open the report in the CR designer und go to File. Unselect there the Save data with report option and save the report again in the BOBJ repository.
    Regards,
    Stratos

  • Getting only Blank Values in Crystal Reports

    Hello Experts,
    I have crystal Reports on top of R/3. I am using table called EKKO, When I dragged the LIFNR (Vendor Number) in the report, It's bringing only blank values, I checked in SAP and it has 7000 records.
    For testing I created report with only this EKKO table, but the same thing, it's bringing only 91(Blank) records, I don't have any conditions or anything in my report.
    We are using Business Objects XI3.1, Crystal Reports 2008.
    Could anyone please help me?
    Thanks
    Ravi

    Yes, I created crystal report with only EKKO table. I haven't used any conditions or any parameter, I just dragged LIFNR (vendor Number) in the report and I see only blank values. When I checked in SAP, I have around 8000 records out of 91 records are blank values. So It is bringing only blank values.
    Thanks,
    Ravi

Maybe you are looking for