Can I have a SQL statement in a Custom Function in Crystal Reports 2008

I'd like to create a custom Crystal Reports function which does a database lookup. Is this possible? In the pseudo code below "v_le_afe_xref" is a dataource in the report.  A syntax check fails on the select.
Function legal_entity_co (old_co AS number) AS number
SELECT v_le_afe_xref.NEW_BURKS FROM v_le_afe_xref WHERE old_co = v_le_afe_xref.OLD_BURKS
END FUNCTION
Thanks.

Hi David,
Not sure where you are trying to use the function but CR doesn't support Functions directly, this changes so try Service PAck 3 to see if it's been added. Try using a SQLExpression, and do not include a SELECT in the SQL or using a Command Object.
You may be able to define it on the server and then call it from CR using a Command also.
Thank you
DOn

Similar Messages

  • Need to adjust SQL query for left outer join in Crystal Reports 2008.

    I need to change this SQL 2005 query.....
    SELECT     omnicell_anl.DeviceIDsLastMetricTable.member_id, omnicell_anl.DeviceIDsLastMetricTable.[Device Name],
                          omnicell_anl.DeviceIDsLastMetricTable.Account, omnicell_anl.labeledLastMetrics.PROPERTY_NAME,
                          omnicell_anl.labeledLastMetrics.latest_monitor_value
    FROM         omnicell_anl.DeviceIDsLastMetricTable LEFT OUTER JOIN
                          omnicell_anl.labeledLastMetrics ON omnicell_anl.DeviceIDsLastMetricTable.member_id = omnicell_anl.labeledLastMetrics.member_id
    WHERE
        omnicell_anl.labeledLastMetrics.PROPERTY_NAME = ?MyProperty
    To this query in Crystal Reports Report Writer:
    SELECT     omnicell_anl.DeviceIDsLastMetricTable.member_id, omnicell_anl.DeviceIDsLastMetricTable.[Device Name],
                          omnicell_anl.DeviceIDsLastMetricTable.Account, omnicell_anl.labeledLastMetrics.PROPERTY_NAME,
                          omnicell_anl.labeledLastMetrics.latest_monitor_value
    FROM         omnicell_anl.DeviceIDsLastMetricTable LEFT OUTER JOIN
                          omnicell_anl.labeledLastMetrics ON omnicell_anl.DeviceIDsLastMetricTable.member_id = omnicell_anl.labeledLastMetrics.member_id AND
                          omnicell_anl.labeledLastMetrics.PROPERTY_NAME = ?MyProperty
    I can't seem to get the left outer join function of Crystal Reports to emulate the same SQL query in SQL 2005.  Any ideas on how I can create this same query in Crystal 2008?
    Thanks,
    Dominic
    Edited by: Dominic Carissimi on Oct 28, 2008 7:55 PM
    Edited by: Dominic Carissimi on Oct 28, 2008 7:56 PM

    If you want the list of values for command level parameter then you need to add another command like
    select PropertyField from table
    and delete the links between this command and the existing command.
    Now go to field explorer and edit the command level parameter and make it as dynamic and add the property field from newly added command.
    Hope this helps!
    Raghavendra

  • How can i use one SQL statement to solve problem?

    How can i use one SQL statement to solve the question below?
    For a Table named A, there is a column named F(char type).
    Now select all the records where F like '%00' and update their F value to '%01'
    Just one SQL statement.Do not use PL/SQL block.
    How to do that?
    Thanks.

    What is the data volume for this table?
    Do you expect lots of rows to have '%00' as their value?
    Following two statements come to mind. Other experts would be able to provide better alternatives:
    If you have index on SUBSTR(f, 2):
    UPDATE A
    SET    f = SUBSTR(f,
                      1,
                      length(f) - 2) || '01'
    WHERE  substr(f,
                  -2) = '00';If most of the rows have pattern '%00':
    UPDATE A
    SET    f = SUBSTR(f,
                      1,
                      length(f) - 2) ||
               DECODE(SUBSTR(f,
                             -2),
                      '00',
                      '01',
                      SUBSTR(f,
                             -2));

  • XML Publisher - can we specify multiple SQL statements in the report?

    Hi there,
    can we specify multiple SQL statements in the report with XML Publisher?
    Regards,
    Liviu

    Could we eventually generate with the Wizards available in XML Publisher desktop 5.6.2 an xml file with a structure like the one given below? The reason is to facilitate creation of the two rowsets. Thanks, Liviu.
    <?xml version="1.0" encoding="UTF-8"?>
    <DATA>
         <ROWSET2>
              <ROW2>
                   <FIELD1>Query1</FIELD1>
                   <FIELD2>field2</FIELD2>
                   <FIELD3>field3</FIELD3>
              </ROW2>
         </ROWSET2>
         <ROWSET>
              <ROW>
                   <FIELD1>Query2</FIELD1>
                   <FIELD2>field2</FIELD2>
                   <FIELD3>field3</FIELD3>
              </ROW>
         </ROWSET>
    </DATA>

  • How can I write a SQL statement which checks if a table exists?

    How can I write a SQL statement which tells me whether a table exists?

    execute an sql query: select * from <tablename>
    catch the exception n check whether the erroe code
    matches the one that occurs for table doesn't exist
    that's itHow is your answer any different from the one given in the first reply?
    It isn't.
    As WorkForFood says DatabaseMetaData has a bunch of methods for getting information about tables but this is more useful when you don't know the names of any of the tables.. it sounds like you do so I would concur SELECT from table is probably the quickest way to go. If it helps the Xopen error should be either S1000 or 42S01 (I think) but I would try and see if there is a specific vendor code for table not found/not exists error and check for that.

  • Crystal Report 2008 results "Password did not match error" in SQL Server Log

    Hi,
    I am trying to develop some crystal reports using Crystal Report 2008 SP4 to connect to SQL server 2008 through RDO (ODBC). My problem is that anytime Crystal Report is trying to establish a connection with SQL Server, first it tries to connect with the wrong password and results the following error message in SQL Server log:
    Login failed for user 'peyman'. Reason: Password did not match that for the login provided. [CLIENT: 192.168.2.198]
    The login name 'peyman' is the right one as I have quoted the same in setting up ODBC System DSN using "SQL Server Native Client 10". But somehow Crystal Report is taking its chance and trying to connect before prompting me for the password. After this error logged to SQL server side, I can see Crystal Report pops up the prompt to enter DSN password. After supplying password to this prompt, Crystal Report works fine and pulls the data and renders the report without having any more incorrect password error logged to SQL Server.
    The attached file shows the step I am taking to regenerate the issue. I need this to be fixed as anytime uses any of these reports and tries to render it with crystal runtime engine the same error message raises in SQL Server side and logged in the log file.
    Thanks,

    Hi Peyman,
    This is the way it should work, In CR designer when you open the report it does nothing. As soon as you hit the Refresh button then CR tries to use the connection saved with the report. It assumes what is saved with the report is a valid server and connection info. CR simply tries to verify the server is still active.
    If you don't want it to fail in CRD then before opening any report Click the File, Log on Database option and connect. Now when refreshing reports it won't log the failed.
    In the SDK it does the same thing, it assumes the Server info is the same and does try to connect to verify the Server does exist. It only takes a few milli-seconds to do this
    To stop this from happening set the log on info first then it won't log the attempt to connect, it's checking to see if Trusted is allowed.
    TIMESTAMP    THREAD_ID    FILENAME    LINE_NUMBER    LOGGED_DATA    LEVEL
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    444    Set Product View Locale: 4105    20
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    478    Set Preferred View Locale: 4105    20
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    500    Set Process Locale: 4105    20
    2014-6-2 8:30:11.440    57320    .\qecommon.cpp    117    This property is currently in a read-only state and cannot be modified. File Name: ".\QEProperty.cpp". Line: 217    1
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    444    Set Product View Locale: 4105    20
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    478    Set Preferred View Locale: 4105    20
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    500    Set Process Locale: 4105    20
    2014-6-2 8:30:11.968    57208    .\qecommon.cpp    117    This property is currently in a read-only state and cannot be modified. File Name: ".\QEProperty.cpp". Line: 217    1
    2014-6-2 8:30:11.999    57208    .\QESession.cpp    444    Set Product View Locale: 1033    20
    2014-6-2 8:30:12.4    57320    .\qecommon.cpp    117    This value is write-only. File Name: ".\QEProperty.cpp". Line: 145    1
    2014-6-2 8:30:56.278    57208    .\odbcapi.cpp    301    Beginning COdbcapi::DriverConnect    20
    2014-6-2 8:30:56.342    57208    .\odbcapi.cpp    335    Ending COdbcapi::DriverConnect    20
    2014-6-2 8:30:56.342    57208    .\connect.cpp    2170    SQLDriverConnect succeeded: DSN = 192.168.13.172, User ID = sa, Password = ********    10
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 916    1
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    1184    Beginning CQERowset::readFirstRecord    20
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    2149    Beginning CQERowset::restart    20
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    2370    Beginning CQERowset::execute    20
    2014-6-2 8:30:56.353    57208    .\DbQueryBuilder.cpp    514    Query Targets: sqlncli10, ODBC3SQLServer    10
    2014-6-2 8:30:56.353    57208    .\DbQueryBuilder.cpp    525    Successfully built query:    SELECT "Orders"."Customer ID", "Orders"."Employee ID"   FROM   "xtreme"."dbo"."Orders" "Orders"    10
    2014-6-2 8:30:56.353    57208    .\odbcapi.cpp    875    Beginning COdbcapi::ExecDirect    20
    2014-6-2 8:30:56.354    57208    .\odbcapi.cpp    884    Finishing COdbcapi::ExecDirect    20
    2014-6-2 8:30:56.354    57208    .\rowset.cpp    220    SQLExecDirect succeeded:  SELECT "Orders"."Customer ID", "Orders"."Employee ID" FROM   "xtreme"."dbo"."Orders" "Orders"    10
    2014-6-2 8:30:56.354    57208    .\QERowset.cpp    2814    bindToField succeeded: Orders.Customer ID is using client buffer    10
    2014-6-2 8:30:56.354    57208    .\QERowset.cpp    2814    bindToField succeeded: Orders.Employee ID is using client buffer    10
    Notice it doesn't try to connect first if I set the log on info first using code.
    So nothing we can do to stop SQL server from logging this info. Check with the DBA, possibly they can "filter" out the application attempts to connect or change your work flow in the app.
    If you have a Preview Button to view the report then simply add your Database log on info prompt there if Connectioninfo.Trusted is not true:
    mainSecureDB = rpt.Database.Tables[tableIndex].LogOnInfo.ConnectionInfo.IntegratedSecurity;
    if mainSecureDB = false then prompt the user for log on info and set accordingly, if it is true the it should not fail when it connects.
    This is simply a matter of changing your App work flow...
    Thanks
    Don

  • Crystal Reports 2008; Can't select the certain table. Why?

    Please help me everyone!
    problem note:
    I'm using Crystal Report 2008 to access MS SQL Server 2005 Database.
    Everything was good until last month.
    But somehow when I select the table "FTABLE11C", Crystal Repors hanging-up and no more Crystal Reports works.
    If I copy the FTRAN11C to different name such as "aaa" using following statement and use Crystal Reports then I can select the "aaa" whthout problems.
    Select * into aaa from FTRAN11C.
    So, I drop the tbale FTRAN11C and copy FTRAN11C from aaa table using following statement,
    select * into FTRAN11C from aaa
    and select the FTRAN11C again on Crystal Reports 2008, Crystal Reports 2008 hanging-up again.
    I'd like to know how to solve this situation.
    Thanks.
    1. We didn't have any patch on SQL Server.
    2. I delete one field on table that named "FTRAN11C".
       That's all.
    3. I tried following steps;
       a. Copy the file to another name.
            Select * into aaa from FTRAN11C
       b. Droped the bad table.
            Drop table FTRAN11C
       c. Copy back from saved table.
            Select * into FTRAN11C from aaa
    4. Open Crystal Reports 2008
       a. Connect to database with OLD DB.
           Crystal Reports shows all the tables within database without any problems.
       b. Select the table aaa.
           No problems. It shows on right side box.
       c. Select the table FTRAN11C that is recently created from saved table.
           Now we have problems.
            It does not shows on right side box.
            Little circle displaying forever.
            If I click right side x, Crystal Reports 2008 is closed.
    5. If I use following command on SQL Server Management Studio Express, all of data shows without any problems.
           Select * from FTRAN11C

    Install all patches as you are on the original release:
    Be sure you have the keycode, used to install the product, I will not be able to get you a new one if you lose it or don't have it available.
    The easiest way to update is to uninstall CR 2008 and then install Service Pack 3 full build:
    https://smpdl.sap-ag.de/~sapidp/012002523100009989492010E/cr2008_sp3_fullbuild.zip
    Then install SP 4:
    https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
    Then test your reports again.
    As for using/upgrading to CR 2011 it's not required and likely won't make any difference but you can upgrade if you want of course.
    Don

  • Crystal Reports 2008 can't access R/3 queries

    Hi there,
    My company is in the middle of SAP implementation and our go-live is in 2 months. We don't have a BW system in place and are (for the most part) using the Standard SAP Reports available out of the box to facilitate the requirements of the different business users. But as we all know, there are always some reports that require customization. So, for that we decided to use Crystal Report 2008 (ver. 12.3.0.601) to design custom reports while accessing data from the Standard SAP Tables. I am able to access the Standard SAP Tables in R/3 (built on Oracle database) and the fields in those tables from the Crystal Report 2008 Database Expert option and have created an A/R Aging Report successfully. However, while working on my second report (GL Journal Entry By Invoice#) I am struggling to maintain and improve the query execution time since I am accessing data from huge standard FI-CO tables (BSEG, BSID, BSAD). Our 3rd party implementation team has already designed a custom report in R/3 that is available in all the clients using the T-Code in NetWeaver for the end users but it's missing some fields that the end users would need for go-live and it's not possible to ask the 3rd party implementation team to make the needed changes to the already customized report (for whatever reasons). And, that's why, I am asked to customize this report in Crystal. I suspect the execution time is so bad in Crystal because of lack of filtering of the data when I am pointing at the huge Standard Tables. I would have added some SQL clause and filters to bring in only the required fields from the table into the Crystal environment but I don't have that option since the R/3 system is sitting on Oracle. I have couple questions:
    1) Would it be advantageous to build the custom Crystal Report on top the custom R/3 report that is already in place since in the R/3 report I can create a default variant with the conditions I want and it gets executed every time I call it in Crystal giving me only the data I am interested in? And, is it even possible?
    2)  Why am I not able to see the R/3 custom report from the Database Expert option even though the report is accessible from NetWeaver? I am able to access all the Standard SAP Tables from Database Expert in Crystal 2008.
    And I forgot to add, we don't have an ABAP expert in house to create ABAP function modules that might help me filter the data in the R/3 system.
    Is there any suggestions that will get the job done? Am I doing anything wrong here?
    Sorry for the long story but I wanted to give you guys a full background of the issue.
    Any help will be greatly appreciated.
    -RBora

    RohitBora wrote:
    Hi there,
    > My company is in the middle of SAP implementation and our go-live is in 2 months. We don't have a BW system in place and are (for the most part) using the Standard SAP Reports available out of the box to facilitate the requirements of the different business users. But as we all know, there are always some reports that require customization. So, for that we decided to use Crystal Report 2008 (ver. 12.3.0.601) to design custom reports while accessing data from the Standard SAP Tables. I am able to access the Standard SAP Tables in R/3 (built on Oracle database) and the fields in those tables from the Crystal Report 2008 Database Expert option and have created an A/R Aging Report successfully. However, while working on my second report (GL Journal Entry By Invoice#) I am struggling to maintain and improve the query execution time since I am accessing data from huge standard FI-CO tables (BSEG, BSID, BSAD). Our 3rd party implementation team has already designed a custom report in R/3 that is available in all the clients using the T-Code in NetWeaver for the end users but it's missing some fields that the end users would need for go-live and it's not possible to ask the 3rd party implementation team to make the needed changes to the already customized report (for whatever reasons). And, that's why, I am asked to customize this report in Crystal. I suspect the execution time is so bad in Crystal because of lack of filtering of the data when I am pointing at the huge Standard Tables. I would have added some SQL clause and filters to bring in only the required fields from the table into the Crystal environment but I don't have that option since the R/3 system is sitting on Oracle. I have couple questions:
    >
    > 1) Would it be advantageous to build the custom Crystal Report on top the custom R/3 report that is already in place since in the R/3 report I can create a default variant with the conditions I want and it gets executed every time I call it in Crystal giving me only the data I am interested in? And, is it even possible?
    No - this is not possible; you can only report in Crystal against ECC tables, ABAP functions, and SAP Query/Infosets
    > 2)  Why am I not able to see the R/3 custom report from the Database Expert option even though the report is accessible from NetWeaver? I am able to access all the Standard SAP Tables from Database Expert in Crystal 2008.
    ABAP Reports are not a datasource in Crystal
    >
    > And I forgot to add, we don't have an ABAP expert in house to create ABAP function modules that might help me filter the data in the R/3 system.
    > Is there any suggestions that will get the job done? Am I doing anything wrong here?
    > Sorry for the long story but I wanted to give you guys a full background of the issue.
    >
    > Any help will be greatly appreciated.
    >
    > -RBora
    Hello,
    Those are some big tables to be reporting against in Crystal
    Have you considered creating an InfoSet using logical database BRM (Financial Documents) that could then be used to report against Crystal?
    We do use Crystal / SAP Query against the logical database BRM as an InfoSet and so far we haven't seen the performance issues you are describing.
    Also, have you considered upgrading to Crystal Reports 2011?  Not sure that it would help the performance issues you are describing.
    Regards,
    Tammy

  • Crystal Reports 2008 sql image field stretches in report display

    i have the full version of Crystal reports 2008 i run through a .net web form to display the reports. i have need to display logos which in resize mid stream before saving to the sq table. My problem is when i got to retrieve the images it looks like crystal is stretching them to fit. I can have horizontal or vertical images and i resize them to fit the smallest determined in the report. Another issue is the background turns black. The images appear to be "normal" outside of the report. Am i doing something wrong? Is there a setting i'm missing i need to config or something? I'm kind of lost i assumed as long as i stored the images in teh proper size they would diplay correctly. Any help is greatly appreciated.

    Are you seeing this behavior in the CR designer or in a .NET app?
    Ludek
    Follow us on Twitter
    http://twitter.com/SAPCRNetSup

  • Can not use crystal reports 2008

    Hi All
    I m not able to use crystal reports on windows server. I can use it everyehere  bt not on the server i dnt know if the problem is bcoz it's a 64bit machine or not.
    We are using .Net application.
    Thanks in advance.
    Anita

    Hi Anita
    Crystal Reports 2008 doesnu2019t have 64 bit support or runtime hence you are getting the attached error.                                                                               
    To run the application with Crystal reports there are two workarounds:                                                                               
    1. Run the IIS under 32 bit mode so that your application will use 32 bit Crystal Reports runtimes.                                                                               
    For this please do the steps mentioned below:                                                                               
    1.When compiling the application in Visual Studio .NET 2008 you will need to force it to 32 bit mode.                              
    You can do this by right-clicking the project name in the Solution Explorer.                                                       
    2.For VB.NET                                                                               
    Click Compile, then Advanced Compile Options.  For the Target CPU drop down box, change it from "AnyCPU" to "x86" then click OK.   
    3.For C#.NET                                                                               
    Click Build and change the Platform Target option from "Any CPU" to "x86".                                                                               
    Now follow the steps mentioned in the Kbase article from below link:                                                               
      http://support.microsoft.com/kb/894435                                                                               
    You should then be able to run the application on a 64 bit OS without error.                                                                               
    The second workaround is                                                                               
    To change the references in your web application to CR 10.5 i.e. Crystal Reports basic for Visual Studio 2008. Crystal Reports 10.5 has the runtime for 64 bit machine.                                                                               
    For this:                                                                               
    1. Uninstall Crystal Reports 2008 from your machine.                                                                               
    2. Run the set up file for Visual Studio 2008 (from CD or the installation source that you use).                                                                               
    3. Click on Repair.                                                                               
    4. From the list of components select Crystal Reports 10.5 and click on Next.                                                                               
    5. After the repair is done you should be able to use the application using Crystal Reports.                                                                               
    Hope this helps!!
                                                                                    Regards,                                                                               
    Sourashree

  • Can not download crystal report 2008 Service Pack 1 Version 12.1.0.892

    I can't download crystal 2008 sp1 from
    https://smpdl.sap-ag.de/~sapidp/012002523100006555792009E/cr2008win_sp1.exe
    and I got follow message
    Error Message - ObjectID not existant
    What happened?
    ObjectID not found in R/3
    What can you do?
    Check your ObjectID
    Error code: SAPSMPDL2A-20110626101415-0014
    Error details: 10021DD9-702/1A053/3162-63F0D6C5-3CB8B45-2992FF
    Service Name: SAPIDB
    Service Server: SAPSMPDL2A
    Process-ID: 1608
    Thread-ID: 4360
    Sorry for any inconvenience.
    Your SAP Service Marketplace Team

    Hi,
      If you just need to download CR 2008 SP1, why don't you download it via the Support Portal
          Support Portal -> Software Downloads -> BusinessObjects Downloads -> Support Packages and Patches -> C -> Crystal Reports 2008.....
       If you don't have access or can't see the path mentioned above, you may need to request for access first.
    Regards,
    Ken

  • Converted to Crystal Reports 2008 and now have an issue with deployment

    Post Author: lwager
    CA Forum: Deployment
    I have converted my application to Crystal reports 2008 and I have that as a prerequisite in my set up program but everytime I try to install the software package on the client's machine I get this error when it is trying to install Crystal Reports
    Verifying file integrity of C:\DOCUME1\lauriew\LOCALS1\Temp\VSD1B7B.tmp\CrystalReports 12.0\CRRuntime_12_0_mlb.msiWinVerifyTrust returned 0File trustedError: Setup has detected that the file 'C:\DOCUME1\lauriew\LOCALS1\Temp\VSD1B7B.tmp\CrystalReports 12.0\CRRuntime_12_0_mlb.msi' has changed since it was initially published.
    Does anyone know why I am getting this error?  Thanks in advance for your help.

    I'm having the same problem ! Can someone help me with this problem ????

  • Where can I find the latest upgrades for Crystal Reports 2008

    Hello all
    My question is rather simple, I need to know. Where can I find  the latest upgrades for:
    1) Crystal Reports 2008 Merge Modules
    2) Crystal Reports 2008 Runtimes.
    Are they incremental upgrades ????
    Thanks in advance..
    ADrián.-

    Downloads page is here:
    http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
    [This|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReports2008-VersionandDownloadinformationforSPsand+FPs] wiki tracks latest SPs and FPs with download links.
    [This|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki has links to runtime (I believe I have not updated this for FP 2.5 yet, but the downloads page has these)
    And yes, they are incremental.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • SAP Crystal Report (2008) through SQL Query parameters

    Hi,
    I Created a report in Crystal report (2008) based on Sql Query. I created parameters in SQL query prompt only (all single valued).
    Based on this I need to show the data in detail section.
    For Graph, I used another SQL query, and added one subreport to the Main report header section. Since this subreport is also using the SQL query prompts for taking parameters.
    Since both the reports are using same set of parameters. I mapped Main report parameters to sub-report parameters.
    So Now structure is like,
    In a report there is one subreport.
    Main report ....SQL query generates parameter prompt..same parameters is passed to subreport.
    In subreport there are sql generated prompts. and we mapped that prompts to main report parameter prompts.
    Now it is running fine from crystal report, but not from CMC. It is not showing the graph.
    Made Two Experiment:
    1. To check subreport is running or not , Mannualy put my name in sub report--working fine.(CMC)
    2. To check the parameters are correctly mapped--printed the value in subreport--Showing all the parameters value from CMC
    but it is not running the SQL query of that sub report.
    Any suggestion ?? Or is there anyoption to check?? Or a CMC setting.
    Please suggest and respond..
    Thank you in advance.!!

    Hi Rajeev,
    This is Crystal reports development community, you said the report is working fine in Crystal. it is problem in CMC. So the issue is at BI Server.
    So i think you need to create the thread in the below community.
    BI Platform
    --Naga

  • Can we use Crystal Reports 2008 tool to directly reports on SAP R\3 data?

    Hi,
    Can we use Crystal Reports 2008 Designer to directly reports on SAP R\3 data without any additional Integration Kit for SAP?
    I believe the Integartion Kit is only for reporting on SAP BW data.
    Thanks in advance for your response and any additinal details you can provide.
    Thanks,
    Sri

    Please post this query to the Crystal Reports Design forum:
    SAP Crystal Reports
    That forum is monitored by qualified technicians and you will get a faster response there.
    Thank you for your understanding,
    Ludek

Maybe you are looking for