Accessing Crystal Report's name in BI Customer Exit

Hi Experts,
Is it possible to access the name of Crystal Report in BI Customer Exit?
Regards,
Ajay

Thanks Don,
BI cstomer exit means CMOD of Business Intelligence.  Actuualy i want to control scheduling or publishing of Crystal Report from BI side...is it possible or whether through some API's  we can do it or not.
Please tell if i have to post question in the forum suggested by u you or some other forum.
Regards,
Ajay

Similar Messages

  • Crystal Reports with BEx Query using Custom Exit Variable

    Hi,
    We have BW BEx Query using Customer User Exit variable to derive  the Fiscal Week for Last Year (called it VAR2) based on another user input variable Current Fiscal Week (called it VAR1).
    VAR2 is derived from VAR1 in CMOD via some codings and thus it DOES NOT have the "Variable is Ready for Input" flag ticked in the BEx. VAR1 is user input variable, so it has "Variable is Ready for Input" flag ticked in the BEx.
    When we create a Crystal Reports with the BEx Query using variable VAR2, and when we run it we got an error message saying "Failed to execute query; '[]<java.lang.UnsupportedOperationException: No Selection State Support!ZP_MI_LYPUBWEEK>'. Redesign your query or contact the data source maintainer to solve the problem".  (note: ZP_MI_LYPUBWEEK is VAR2 in this case).
    Could anyone please assist? Surely, CR supports BEx customer user exit variables like the above, right?. I also refer to the forum below as it seems to have a similar issue (except mine with an error message), but it does not provide a solution in it.
    Crystal Reports with BEx Query using Custom Exit Variable
    Thanks,
    Andy

    Hi Vibhav,
    We have the SAP Crystal Reports for Enterprise XI4.0 Version 14.0.0. Not sure if SP0 or other SP, got to check with Basis Team later.
    We tried that "mandatory" option and did not work either.
    Anyway, SAP has now come back again saying it is something they will fix it in next release/version. We got a phone call from them and a reply below to our OSS.
    23.08.2011 - 08:20:49 CET - Info for Customer by SAP  
    I have raised this issue on the Idea#s Place as an enhancement request
    on the below link:
    https://cw.sdn.sap.com/cw/ideas/5586
    This ER contains the information of including the customer exit
    variables in the report without checking the #input for ready# option.
    This ER can be considered for being implemented in the future
    versions. You can refer to SAP Note: 1515837 - How To: Enhancement
    Request Process - "Idea Place" for more information regarding the Idea
    Place.
    Cheers,
    Andy

  • Accessing Crystal Reports XI from ASP

    Post Author: cutedude43
    CA Forum: General
    I need to access Crystal reports from ASP. The catch is Crstal Reports XI is not installed on the web server where the ASP application is hosted. However there is another machine where Crystal Reports XI is installed. Can you please let me know, in detail, how I could view crystal reports through the ASP application under this scenario. If this is possible please also detail the required run time files that needs to be deployed on the web server where the ASP application is hosted.
    If this is not possible, please detail the other ways through which I can invoke the crystal report from my ASP application page.
    Thanks
    Vaidyanathan

    The only code you will find on this web site is for VB 6. I have a few C++ apps. Not knowing a thing about flex, I am not sure if either of those will be of any use to you(?). Other than that, see if you can find some flex forum and ask there...
    Ludek

  • Pass along Crystal Report file name on export to Excel

    Hello, I am using Crystal Reports 10 and create numerous Crystal reports, all of which end up being exported out to Excel.  Is there a way to export the name of the Report or its file name out to Excel as well?  I work with so many reports that I can't always trace back the Excel version of the report back to its Crystal report roots.
    Thank you.

    Hi
    In field explorer  Use Special Field called File Path and Name drag and place it  in Report Header
    If you want just the report Name then use Report Title.
    Cheers
    Rahul

  • Overwrite crystal report file name with new version but keep history

    I am writing a Crystal Reports .NET SDK in C# code to upload a crystal report files from its destination to CMC folder on BO XI R2 Platform.
    On "Upload Button" click_event, validate the two check boxes controls named "Keep History", and "Remove History". Once "Keep History" check box is selected, check If the SAME report file name exists in the same destination CMC folder, if Yes, overwrite it BUT Keep the History and all its associated objects like "recurring objects". If "Remove History" is selected, then remove the existing report and upload the new report file name.
    Please provide me some codes on how to do this task. This is definitely a "WIN" - "WIN" effort and contribution to my Team Goals.
    P.S. This is a similar scenario when you are uploading report on BO Enterprise R2 CMC.
    When Uploading a new report to a folder but same report file name exists, the BO System will promt message "Report File Name" already exists. Do you want to Overwrite it?" If Yes, then system will overwrite the file but it will keep the history and recurring objects.
    Any help would be greatly appreciated.
    Thanks,
    Bien

    Suggest looking at [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/NETBusinessObjectsEnterpriseSDKSamples] wiki for links to pertinent samples. Also, check out the [Developer Help File|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_server/default.htm]. Searching these forums for similar queries may also prove to be fruitful
    Ludek

  • Crystal Reports for VS2010 using a custom SAP ABAP function module data source

    I recently worked with Crystal Reports 2011 and was able to connect and retrieve data from our R/3 system via an ABAP function module. While researching other features, I found this version that can be installed into Visual Studio 2010. The parameters are not very user friendly in Crystal Reports so I was hoping to create a custom dialog to collect my report parameters.
    Does anyone know if I were to install Crystal Reports for Visual Studio 2010, would I be able to design a front-end selection screen in a Visual Basic form and then pass the input to through the Crystal Reports connection to my ABAP function module to retrieve the data filtered on the back-end by the selection screen parameters and return the results to be reported in the Crystal Reports output?
    I am using Visual Studio 2010 Professional Visual Basic with the .NET Framework 4.0 on 32-bit Windows 7. I was able to connect to our R/3 system in Crystal Reports 2011, so if I were to install Crystal Reports for VS2010, would there be a similar way of connecting to SAP?
    Any assistance or direction would be greatly appreciated.
    Thanks,
    Bryan

    Hello Bryan
    I don't know for sure, but I doubt this will work in CRVS2010. Only hope is that the utility available for download in this KBA will point you in the right direction.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Exception when there is "~" in the Crystal report applicaiton name

    Hi all,
    I am new in using the Crystal report and i faced the follwing problem:
    1. I am using Crystal report for eclipse version 1.0.8.v1541.
    2. The application name with which the Crystal reports are deployed on the engine contains "~" in the name.
    3. In the jsp I use the following code to request the report:
    ReportClientDocument reportClientDocument = new ReportClientDocument();
    reportClientDocument.open("CrystalReport_IssuesPerCategories.rpt", OpenReportOptions._openAsReadOnly);
    4. I get the following exception :
    com.businessobjects.reports.sdk.d: Report file /D:/usr/sap/LKG/J00/j2ee/cluster/apps/sap.com/test%7Efeedback_crystal_report_app_v2/servlet_jsp/sap.com%7Etest%7Efeedback_crystal_report_v2/root/CrystalReport_IssuesPerCategories.rpt not found
         at com.businessobjects.reports.sdk.c.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.v.if(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.do(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
         at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
    (When I try to run the jsp from an application with a name without "~" in it everything works ok.)
    Is this a bug? Is there some work around? Or maybe it is a fixed in some newer version?
    (I am using NWDI + CBS as a build sustem and the ~ in the name is added automaticaly , so i cant skip it)
    Thanks in advance!
    Best regards, Svetlomira

    Typically the Shift charater sets are reserved characters for names, temp files etc.
    Don't use it.

  • Accessing Crystal Reports 12 report from a CF7/8 Web Application

    Beside exporting the Crystal Reports 12 report to PDF, HTML,
    or some other doc format, does anybody have any experience with
    accessing a Crystal Reports 12 report in its native .rpt format?
    I've tried using cfreport, but with no success!?

     >>>However when accessed remotely from a client PC the report is not displayed >>>as
    the user is not authenticated by SSRS.
    Does that mean the user (a workstation) is not member of the domain?
    >>>I need to control access to the reports and can't have anonymous access to the >>>reports. 
    If that is within a domain you need just create a local group on the host server (SSRS) and those users
    into...
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Cannot access Crystal Reports after adding SP1

    On a new install of Crystal Reports 2008 I downloaded and added SP1 (cr121_clickonce.zip) to try to update my .NET to the new version of Crystal.  I now get the error message:
    The procedure entry point ?PrintLegend@CMapXLegend@CSLib300@@QAEXJJJJJ@Z could not be located in the dynamic link library cslibu-3-0.dll.
    I also added the update from 'cr120_redist_install.zip'  which will allow my users to access the .NET files and programs they need.  (This I did only on one machine to test its success)
    I am sure it is a case of inexperience but can you help me get back in business with Crystal Reports 2008

    Hmmm, "... I downloaded and added SP1 (cr121_clickonce.zip)"
    That file is not the SP 1 download. Sp 1 is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100010503722008E/cr2008_sp1.exe
    So. At this point, I'm not really clear as what has been done and why.
    E.g.; "...I downloaded and added SP1 (cr121_clickonce.zip) to try to update my .NET to the new version of Crystal"
    - this sounds kinda muddled up...
    And this: "I also added the update from 'cr120_redist_install.zip' which will allow my users to access the .NET files and programs they need. " also does not sound right.
    I'd recommend uninstalling CR 2008 on your development system. Reinstall and then Apply SP 1 from the above link. This will update you to CR 2008 SP1 on the development computer.
    Now, if you are then trying to deploy a .NET app to a client, use the MSI from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100011722132008E/cr121_redist_install.zip
    or you can build your own deployment project using the msm from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100011715292008E/cr121_mm.zip
    Ludek

  • User cannot access Crystal reports after user was deleted and recreated

    We are using Crystal Enterprise XIr2.  We are using Windows AD authentication.  We had an issue with a user where they were deleted in Active Directory.  Now they can no longer run Crystal reports.  When I go into the CMC and open users I see this user.  When I try to open this user I get the following error
    There was an error while retrieving data from the server: Active Directory Authentication failed to get the Active Directory groups for the account with ID "8B003DF11D45B244AC3B61AB36B6C445:ALLENDG". Please make sure this account is valid and belongs to an accessible domain.
    I think Crystal is still trying to access the user's old Active Directory account.
    I cannot delete the user either in CMC.
    Is there someway I can correct this user.
    Thanks
    Adam

    Arjun - Thank you for your help.  I looked in Central Management Console but I could not find what you indicated.
    CMC--> Public Folder --> Administration Tools
    In administration tool, there are two objects
    1) Update Windows AD Group Graph
    2) Update Windows AD Group Graph and Aliases --> Right click on this Report and click on RUN Now.
    I ended up deleting the records for this user in these SQL tables and then user could access InfoView
    CMS_Aliases5 (2 records for this user)
    CMS_InfoObjects5 (1 record with both aliases)

  • Use of GUID to Access Crystal Report on BW Server

    Hi,
    In the iView we have an option to select the "BusinessObjects Enterprise Report Type" = bw_id.
    As I understand this allows us to add a Crystal Report to the portal which are held on the BW Server as long as we enter the GUID in "BusinessObjects Enterprise Report ID".
    What do we enter for  "Application Parameters" and "Application Parameters"
    Thanks,
    Leo

    Hi,
    that depends on the actual application you entered. the application is also an open entry and you could create your own application and then enter additional parameters if needed
    ingo

  • How to Change Crystal Report database name from visual basic code?

    Hi all,
    I have created a Crystal Report (CR)  with .NET VB. I also have developd some UDTs for that pusrpose and everything is OK.
    However I cannot use the same CR in another Company which has the same UDTs. I have not found how Connect to Company (in other words change the DB the report reads).
    Any Idea?
    Thanks,
    Vangelis
    Edited by: Vangelis Kanellopoulos on Jul 19, 2008 6:07 PM
    Edited by: Vangelis Kanellopoulos on Jul 20, 2008 10:27 AM
    Edited by: Vangelis Kanellopoulos on Jul 20, 2008 10:28 AM

    Hi Vangelis,
    Here's a simple VB class that has functions for setting the login details for the report and passing parameters.
    Option Strict Off
    Option Explicit On
    Public Class CrystalFunctions
        Enum ParamType As Integer
            Int
            Text
        End Enum
        Public Shared Sub SetCrystalLogin(ByVal sUser As String, ByVal sPassword As String, ByVal sServer As String, ByVal sCompanyDB As String, _
               ByRef oRpt As CrystalDecisions.CrystalReports.Engine.ReportDocument)
            Dim oDB As CrystalDecisions.CrystalReports.Engine.Database = oRpt.Database
            Dim oTables As CrystalDecisions.CrystalReports.Engine.Tables = oDB.Tables
            Dim oLogonInfo As CrystalDecisions.Shared.TableLogOnInfo
            Dim oConnectInfo As CrystalDecisions.Shared.ConnectionInfo = New CrystalDecisions.Shared.ConnectionInfo()
            oConnectInfo.DatabaseName = sCompanyDB
            oConnectInfo.ServerName = sServer
            oConnectInfo.UserID = sUser
            oConnectInfo.Password = sPassword
            ' Set the logon credentials for all tables
            For Each oTable As CrystalDecisions.CrystalReports.Engine.Table In oTables
                oLogonInfo = oTable.LogOnInfo
                oLogonInfo.ConnectionInfo = oConnectInfo
                oTable.ApplyLogOnInfo(oLogonInfo)
            Next
            ' Check for subreports
            Dim oSections As CrystalDecisions.CrystalReports.Engine.Sections
            Dim oSection As CrystalDecisions.CrystalReports.Engine.Section
            Dim oRptObjs As CrystalDecisions.CrystalReports.Engine.ReportObjects
            Dim oRptObj As CrystalDecisions.CrystalReports.Engine.ReportObject
            Dim oSubRptObj As CrystalDecisions.CrystalReports.Engine.SubreportObject
            Dim oSubRpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
            oSections = oRpt.ReportDefinition.Sections
            For Each oSection In oSections
                oRptObjs = oSection.ReportObjects
                For Each oRptObj In oRptObjs
                    If oRptObj.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
                        ' This is a subreport so set the logon credentials for this report's tables
                        oSubRptObj = CType(oRptObj, CrystalDecisions.CrystalReports.Engine.SubreportObject)
                        ' Open the subreport
                        oSubRpt = oSubRptObj.OpenSubreport(oSubRptObj.SubreportName)
                        oDB = oSubRpt.Database
                        oTables = oDB.Tables
                        For Each oTable As CrystalDecisions.CrystalReports.Engine.Table In oTables
                            oLogonInfo = oTable.LogOnInfo
                            oLogonInfo.ConnectionInfo = oConnectInfo
                            oTable.ApplyLogOnInfo(oLogonInfo)
                        Next
                    End If
                Next
            Next
        End Sub
        Public Shared Sub SetCrystalParams(ByVal sFieldName As String, ByVal iDataType As ParamType, ByVal sVal As String, ByRef oRpt As CrystalDecisions.CrystalReports.Engine.ReportDocument)
            Dim oFieldDefs As CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinitions
            Dim oFieldDef As CrystalDecisions.CrystalReports.Engine.ParameterFieldDefinition
            Dim oParamVals As CrystalDecisions.Shared.ParameterValues
            Dim oDiscreteVal As CrystalDecisions.Shared.ParameterDiscreteValue
            oFieldDefs = oRpt.DataDefinition.ParameterFields
            oFieldDef = oFieldDefs(sFieldName)
            oParamVals = oFieldDef.CurrentValues
            oParamVals.Clear()
            oDiscreteVal = New CrystalDecisions.Shared.ParameterDiscreteValue()
            Select Case iDataType
                Case ParamType.Int
                    oDiscreteVal.Value = System.Convert.ToInt32(sVal)
                Case ParamType.Text
                    oDiscreteVal.Value = sVal
            End Select
            oParamVals.Add(oDiscreteVal)
            oFieldDef.ApplyCurrentValues(oParamVals)
        End Sub
    End Class
    And here's how you would use them:
    ' Create an instance of the Crystal report
    _rptCrystal = New CrystalDecisions.CrystalReports.Engine.ReportDocument()
    _rptCrystal.Load(_oSBO.AddonPath + "\Reports\MyReport.rpt")
    ' Call SetCrystalLogin to see the logon information for all report tables
    CrystalFunctions.SetCrystalLogin(sUser, sPassword, _oSBO.SboCompany.Server, _oSBO.SboCompany.CompanyDB, _rptCrystal)
    ' Set my report parameter value
    CrystalFunctions.SetCrystalParams("MyParam", CrystalFunctions.ParamType.Int, 999, _rptCrystal)
    ' Print the report straight to the printer                          
    _rptCrystal.PrintToPrinter(1, False, 0, 0)
    The other way to approach this solution would be to base your Crystal report on a .NET dataset rather than a database connection. However, as you've already written your report, the code above is going to be simpler to implement.
    Kind Regards,
    Owen

  • Crystal Report Server XI, adding a custom variable destination

    Hello and thanks for any help on this.
    I am relatively new to CR Server and have a need to create and use a custom variable in a scheduled report.  Basically I want to place this variable in the report destination email body.
    It looks like there are some pre-built variables to choose from like:
    %SI_STARTTIME%
    %SI_USERFULLNAME%
    Is it possible to create new variables and use them on the report destination section?
    Thanks again,
    Eric

    You may visit this URL for reference:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    Go to BusinessObjects Enterprise SDK >> Java developer guide>> Viewing Reports and Documents using URLs
    Thanks

  • How to get the caller's name in a custom exit.

    I am using the menu exit of ABAP Editor(SEUED001),but in the inclued program, how could I get the program name which is being editing in the editor? the sy-cprog returns the name of the include program.
    Edited by: yanluckly on Aug 23, 2010 7:58 AM

    SMOD->SEUED001->Display componens->double click on EXIT_SAPLEDITOR_002->See the source code...
    function exit_sapleditor_002.
    *"*"Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(PROGRAM) LIKE  SY-REPID
    *"       EXCEPTIONS
    *"              CANCELLED
    include zxseuu22 .
    endfunction.
    PROGRAM is the importing parameter for the function module.
    matt

  • Crystal reports server and microsoft access db

    Hi
    I have created a Crystal Report using Crystal Reports XI. In terms of a datasource I simply used a unc path to the actual mdb file.
    I can open the report local on the PC in CR XI and the report runs no problem however I have deployed to our Crystal Reports server XI so that users can use it.
    The problem is that when I try to run the report from the Info view console it keeps asking me for a user id and password. I have logged into the CMC admin console and looked at the properites of the report and the process/database tab however not matter what I configure in there it either asks for the username and password or says invlaid object when I try to view the report.
    I have created other reports which have used an SQL database as the data source and published them to the CR Server and they work no problem so I am guessing I need to change something for using an Access DB as the dataource. Not usr eif that change is in Crystal Reports XI or Crystal Reports Server?
    Can anyone help?
    Many thanks

    Try this
    Symptom
    Access files present on the network drives.
    Create a report based on files on the network drives.
    Reproducing the Issue
    Create a Crystal Report using Access and Excel files on the network drive as Data Source.
    Crystal Reports XI Release 1, Release 2.
    Operating System: Windows XP SP2
    Database: Microsoft Access / Excel.
    Resolution
    On the Windows XP system go to Start -> Settings -> Control Panel.
    Double Click on Administrative Tools.
    Double Click on Data Sources (ODBC).
    Click on the System DSN tab and then Click on Add.
    Select a driver for which you want to set up a data source.
    For Access Files select 'Driver do Microsoft Access (*.mdb)' as driver type and then click on Finish.
    For Excel Files select 'Driver do Microsoft Excel (*.xls)' as driver type and then click on Finish.
    Enter the Data Source Name and under the Database option click on Select.
    Then click on the Network button, Map Network Drive window will appear.
    Select the Drive and Folder where you have the Access and Excel Files on the network and then click on Finish button.
    Select the appropriate Directory where the file is located and double click on the folder and select the Excel or Access files depending on the driver you have selected and click on OK button.
    After the DSN is created click on OK button.
    Open the Crystal Report application.
    Click on create New Report.
    Under the Available Data Sources expand the Create New Connection then expand ODBC (RDO) and select the newly created Data Source Name and then click on Finish.
    Select the appropriate tables and create a report as per the requirement.
    Keywords
    Excel Access Crystal Reports Network Drive
    Regards,
    Raghavendra

Maybe you are looking for

  • Is it possible to restore music and videos deleted by itunes

    as the title states is it? today i updated my ipod touch to 1.1.5. and i have jailbroken it before but the jailbrake was gone so i decided to go and back up my music on my brother's laptop which already had itunes on my account of his laptop. but whe

  • Change a web template in  Web Application Designer  3.X

    Hi All, I have a web template , when i execute it i get a chart format by default. But i want to change it to table format .Can you please let me know how to do it?. I am not able to change the web template . Thanks and Regards, Sharath

  • COOIS Enhancement

    Hi, In ALV report of the COOIS-OPERATIONS,I wish to add the field Header Material. Is there any type of enhancement by which I can add the same? Thanks, Satyajit

  • Access to workstation name

    Hi: Is there a way to access any "system" variables with Acrobat JavaScript?  I haven't been able to find anything (other than Date()) in the references.  This is outside the scope of core JavaScript, as far as I know. In particular, I want to be abl

  • ImageCapture Question

    The other day I opened and used Image Capture for the first time.  Now every time I restart the computer Image Capture opens at login.  I have made sure I do not have the "Open at Login" option checked.  I am missing where I should go to eliminate th