SQL tokens and Crystal Reports add-on

Hi all!
Can anyone tell, does sql tokens <parameter_name>@<sql_expression> works in SAP 2007A CR add-on? I know it works in SAP 8.8, but can we get same functionality in SAP 2007? Or we must work with dynamic parameters only in that SAP version?
Sorry if it discussed earlier, i haven't found any information.
Alexander.

Hi Alexander,
The tokens <parameter_name>@<sql_expression> only works in B1 8.8, not works in 2007A CR add-on.
Thanks,
Gordon

Similar Messages

  • SAP B1 Crystal Reports Add On and Crystal Report 2008

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

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

  • Where do you create a Selection Criteria TOKEN? (Crystal Reports, SAP B1)

    I have downloaded "How to Work with Crystal Reports in SAP Business One" and read where it mentions "tokens" (starting on page 19).  I followed the directions and created a New Parameter in a Crystal Report with the name of
    BPCode@Select distinct CardCode from OCRD where CardType = "C"
    as directed on page 21 as an example of a token.  OK, so now I have a parameter with a very long name that doesn't do anything when I run the report in standalone Crystal Reports connected to our SAP B1 application.
    At what place in the "Create New Parameter" dialog box in Crystal Reports do you actually enter this information?  Nothing in that dialog box seems appropriate for SQL expressions.  Reading through SCN threads, I could not find anything that addressed this simple question.  What am I missing?
    NOTE: I do NOT have the CR Add-In available to me in SAP B1.  I cannot get it to install.  All of my work is done in standalone Crystal Reports and all reports are then imported from there.  I am a CR developer with less than 1 month experience with SAP B1.
    Thanks.

    OK, so I imported an .rpt file as a "report" instead of as a layout and placed it in a known module location (though the options were extremely limited).  I had no idea where to go to run the report, but under "Modules", "Reports", and the location I just imported to, I found and chose the report.
    The next step was a dialog box with two blank prompts and a third blank prompt asking for a particular field value from a table in the report.  The actual Crystal report has only two parameters (good ol' DocKey@ and ObjectID@).  I have to actually look at a known document in B1 and enter the values for the parameters before I get an actual result.
    Now, more questions...
    If there is a token in this report process, where is it?
    Why would I run a report this way when it's going to ask me the DocEntry and ObjectId numbers which are not known to me unless I do research (Actually, what you don't know is that all of the reports I've created are revisions to marketing documents, so I haven't created anything new or unique to B1 that would involve complex analysis).
    I spend almost two hours a day scouring the SCN to figure this stuff out and am still lost.  I haven't read anything anywhere that describes this process in an adequate fashion.  If SAP makes BOTH B1 and Crystal Reports, why not make the connection between them seamless and user-friendly?
    Gordon, if you're listening, you'd probably do well writing another book on this subject!!

  • Crystal Report add-on SAP B1

    Hi Experts,
    I have successfully installed Crystal report add-on on SAP B1 server, I can see the attached report in all modules on server as well as client machine, but when i tried to open any report on client machine, it is not opening but it is properly display on server.
    Should i need to install crystal report runtime for all the client machine?
    Pls. guide me for the same.
    Regards
    Kamlesh Vagal

    Hi dear,
    Install the crystal report prerequisites on every client machine you want to show crystal reports.
    follow the below mentioned steps:
    1. The installation disk or folder will contain a single setup.exe
    2. Log on to the target PC as an administrator or admin type user (windows).
    3. copy the setup.exe to a convenient location on the target PC and run setup.exe
    4. Setup exe will install Crystal reports runtime (version 10), Microsoft runtime files and the add-on files. It is recommended that you keep the path selected by the installer. The default installation path for the Add-on files is C:\Program Files\SAP\SAP Business One\AddOns\SAP_CR_CRYSTAL_1_10.
    5. Once the setup.exe has completed, log on to SAP as manager or any other superuser.
    6. Using Administration | Addons | add-On Administration, register the Crystal Add-On, set the desired settings and restart SAP.
    7. There is a known issue within SAP where with multiple add-ons starting automatically with a super user, SAP will shutdown as soon as the user logs on. If this issue occurs always log in through the choose company screen. SAP is aware of this issue and will be rectifying this in a patch.
    8. Log on to SAP, as a super user.
    9. Run Account setup from Administration | Crystal Reports Administration | Account setup
    10. Type in the sa password for the SQL server that holds SAP databases, and click Update.
    11. Click the u201CCreate Ext Tablesu201D button. Add-on will create the additional tables now (this process must be performed for each new SAP company once).
    12. THE TASKS 3 TO 5 and task 10 INCLUSIVE WILL NEED TO BE RUN ON ALL PCS THAT NEEDS THE CRSYTAL ADD-ON. 13. Crystal add-on is ready to use. A help file is provided and you may test the add-on with the sample reports found in u2026\ SAP_CR_CRYSTAL_1_10\SampleReports. The help file can be found in u2026\SAP_CR_CRYSTAL_1_10
    this will solve your problem.
    Regards,
    Neetu

  • How to enable show SQL Query in Crystal report tool

    Hi,
    How can we enable the show SQL Query under Database tab in crystal report...
    We have a requirement to modify the SQL query in Crystal reports.
    Thanks,
    Gana

    Gana,
    CR has an "Add Command" feature that will allow you to use hand-coded SQL as your data source.
    Look at Defining an SQL Command in CR's online help (F1).
    If a command was used in the original report creation, it's a simple matter to go in and edit that SQL.
    If the report was not originally built w/ a Command you may find it difficult to switch over. In most cases it easier to start over from scratch, creating a new, blank report, that uses the command.
    Jason

  • Modify SQL query in Crystal Reports 2013

    Bonjour,
    Je voulais savoir s'il était possible de modifier la requête SQL dans Crystal Reports 2013, car les bases de données de notre application pour bibliothèque utilise un format de date particulier qu'il nous faut corriger directement dans la requête SQL.
    Merci pour vos informations.
    Cordialement
    Claude Marcilly
    Cannes - France
    Hello,
    I wanted to know if it was possible to modify the SQL query in Crystal Reports 2013. Databases of our application library indeed use a particular date format that we need to fix directly into the SQL query.
    Thank you for your information.
    Best regards
    Claude Marcilly
    Cannes - France

    Hi Claude,
    If you are creating reports using tables then go in Database menu and click on show SQL query, this will show the SQL generated by crystal reports.  Now go in database expert and expend your connection and double click on Add Command and past the query which was generated by Crystal and try to modify the date format and click OK.
    Now you need to redesign your reports based on Add command.
    or
    If your reports datasource is Add command you can directly go in add command and change it.
    -Sastry

  • EDITING SQL SCRIPT IN CRYSTAL REPORTS

    I just installed Version 12 and am trying to edit SQL scripts in Crystal Reports that were created in Version 8.  When opening the Database tab on the Main Menu, the Query Panel is greyed out and not accessible.  I can view the SQL Query but cannot edit it.  If someone can advise me what to do I would be very appreciative.
    Edited by: Frank Romano on Mar 18, 2009 4:17 PM

    Hi Frank,
    Here is the SAP Note that says that you cannot edit SQL from Crystal 9 and later
    Symptom
    In Crystal Reports (CR) 8.5 and earlier, it is possible to edit the SQL statement in the 'Show SQL Query' dialog box. Doing so allows the report designer to modify the SQL statement that CR generates. Starting with Crystal Reports version 9, users are no longer able to modify the SQL in the 'Show SQL Query' window.
    How can you control the SQL statement that Crystal Reports sends to the database?
    Resolution
    To control the SQL statement that Crystal Reports 9 and later uses, use the 'Add Command' feature to create a Command Object. The 'Add Command' feature replaces the ability to edit SQL statements in the 'Show SQL Query' dialog box. Use this dialog box to write your own SQL command (query) which will be represented in Crystal Reports as a Table object.
    More Information
    Additional information about creating and using Command Objects ('Add Command') can be found on our support site and within the Online Help file contained in Crystal Reports.
    On our support site search for the technical brief, cr_query_engine.pdf and knowledge base article c2016641 at
    http://support.businessobjects.com/search
    Keywords
    OBJECT ADD COMMAND EDIT SHOW SQL QUERY DATABASE ACCESS MENU MODIFY SQL Crystal Reports Show SQL query Command object , c2017389
    Regards,
    Raghavendra

  • Action failed after start Crystal report add-on then Account Setup

    Dear All,
    We got an error message on a work station when start Crystal report add-on >> Go Account Setup >> type in sa password >> Action failed
    Then I tried on the server. It used to work before. I type in the same password, the error message said 'login failed...'
    The password is correct. I can login by using management studio.
    Then I changed the password of sa user in management studio. On the server, after I changed password in Account Setup, it works. But on the workstation, I still have the same error message Action failed.
    They are on SAP2007A PL06HF01, SQL2008, the OS of the workstation is Windows Vista business
    Any idea? Thanks a lot.
    Regards,
    Yuka

    Hi Yuka,
    I moved your post to the Integration Kit forum.
    Also be aware that CR 2008 supports MS SQL Server 2008 with Fix Pack 2.3 installed. MS also only supports MS SQL Server with their new Client. Go to the install CD for SQL Server and instlal the client Tools which installs a new driver.
    Need to know what version of CR you are using?
    Thank you
    Don
    Edited by: Don Williams on Feb 22, 2010 6:50 AM

  • Crystal Report add-on in SAP2005

    Dear All
    Our customer is on SAP2005A and SQL Server 2000 (they will upgrade to SAP2007,SQL 2005 by the end of
    month) They have 3rd party add-on.
    They installed Crystal report basic 2008 and add the report to SAP by using SAP crystal report add-on
    They can onlyhave 1 user open the report in SAP. Is this a SAP behavior or they may have something
    wrong for the settings?
    They only need one workstation to design the report. So they only install Crystal report basic 2008
    on one workstation. But they need all users can open the reports in SAP. Should they buy more
    license? I need a clear answer for this. I cannot find the document on Portal. Please help. Thanks.
    Regards,
    Yuka
    Edited by: Jie Jin on Jul 21, 2009 4:46 PM

    The system message I got is "multiple report views are not permited" for the 1st question.
    2nd question is, when I run crystal report in SAP on my computer, I got an error message (I am on 1.0.0.10 of The add-on) Thanks a lot. Logon failed.
    Details: IM002:[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    Edited by: Jie Jin on Jul 22, 2009 12:50 AM

  • VS2008/VS2005 and Crystal Reports 2008 Developer

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

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

  • Views on CF Report Builder and Crystal Report

    Dear all,
    I would like to get your opinions on CF Report Builder and
    Crystal Report.
    As we all know, CF Report Builder is a new reporting tool.
    But I find it very difficult to design a complex report maybe due
    to limitation in its functionalities. Sometimes the tool shutdowns
    by itself without any warning and reason. But the output is nicely
    presented on a flash paper / pdf and it can be run on non-MS
    platforms.
    On the other hand, Crystal Report is a more matured product
    but runs only on MS platform. It is very easy to use and very
    powerful. I have been using it for almost 10 years. But the output
    is not nicely presented on the web browser unless if we purchase
    Crystal Report Enterprise to generate the report which is very
    costly.
    Can you all share your views? I need to make decision which
    tool(s) to use. Really appreciate it.
    Cheers,
    Keiko

    Hi Keiko,
    Yes, CF Report builder is new and initially there was few
    issues with this. But I guess now it's good after hotfixes.
    Well, I am using CF Report Builder. It's good for me. You can
    also design and develop complex reports, that depends upon the
    query you are writing. You can also add subreports to your main
    reports.
    Mainly CF Report is platform independent and you can also
    generate reports in PDF, EXCEL and FlashPaper.
    Crystal Report is no doubt is very good, and it's there for
    long years. I agree you can create complex reports with this, but
    you also can do the same in CF also. You are using this for last 10
    years, so I guess you should try something new and that is CF
    Report Builder and you can judge then.
    I am sure you will have fun with CF.
    Thanks
    Sankalan
    (www.mindfiresolutions.com)

  • Crystal Report Add On

    Dear All,
    I have SAP B1 crystal report add installed in my client computer.  And also i already setup display menu for each user (which module should appear for each user).  The problem is once i run crystal report add on, then SAP B1 will display all menu again for each user while they (user) don't want to see all these unused modules.  Is there any setting to avoid this problem?
    Thanks and Regards

    Hi,
    After staring the Crystal reports addon,again do the form setting for the respective user.
    Then close sap b1 session.
    Now log in sap b1,start the addon,all modules will not be displayed
    I have checked in my test system and i am getting the desired result.
    Kindly let us know if this solves your issue.

  • See sql query from crystal report without crystal report

    see sql query from crystal report without crystal report 

    Hi,
    Depends on datasource type but you could have a look at ODBC trace or if you have access to the SQL Server you could use profiler to monitor the session.
    Regards,
    Craig
    And this will only be of use if you know which Server/Insstance/Database the Report is connecting to...
    Please click "Mark As Answer" if my post helped. Tony C.

  • Extracting SQL Queries from Crystal Reports

    I am trying to find a way or a utility to be able extract SQL queries from Crystal reports into a text file for documentation purposes.  These queries are not in the repository, they were entered into each of the reports when the reports were being built and I can't find a way to extract them.  Any ideas/suggestions?

    Hello,
    CR doesn't have the ability, and I don't recall if this has ever been asked previously. Great suggestion for the Idea Place tab in the up right corner of this page.
    If you find a developer it's quite simple to get:
                // log onto the server and then get the SQL.
                rptClientDoc.DatabaseController.LogonEx("van-w-13-dwilli", "xtreme", "sa", "pw");
                GroupPath gp = new GroupPath();
                string tmp = String.Empty;
                rptClientDoc.RowsetController.GetSQLStatement(gp, out tmp);
                // show the SQL but easy enough to save the SQL text to a file.
                MessageBox.Show(tmp, "Data Source Set and SQL Statement", MessageBoxButtons.OK, MessageBoxIcon.Information);
    Of course you need to open the report first, lots of samples on how to...
    Thank you
    Don

  • SBO B1 2007 and Crystal Report AddOn

    Hi,
    My client is using SAP 2007 SP00 PL49, SAP Crystal Report Add on is 2.0.0.7 and they have Beas 6.70.07
    They have encountered problem "The request cannot be submitted for background processing".  Yes, I am aware there could be any problem related to that.
    What I notice is, on the workstation with SAP Business One client running, whenever user print a report named "Work Order", in the temp folder it creates one .rpt and 26 tmp files (Note that I have made up the number)
    Work Order {C0ECP901-C6F6.......}.rpt
    ~cpe{51DD9109........}.tmp
    ~cpe{71DD9109........}.tmp
    ~cpe{52DD9109........}.tmp
    ~cpe{53DD9109........}.tmp
    ~cpe{54DD9109........}.tmp
    Is it normal?  Does anyone know what are these .tmp files?

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

Maybe you are looking for

  • Iphone 3s hardware not supported by Windows xp

    I plugged in my wife's iphone 3gs phone to update in Itunes.  I got a message from Windows that the hardware driver was not recognized.  I was able to get in Itunes and record my device.  It started updating.  I came back to an error message and now

  • VAT against Free Issue Material

    Dear Sir, We have a scenario where we get Free Issue Material from our Customer . We do MIGO against the receipt of  such Material , without referencing the Purchase Order . We are required to avail the VAT also against the receipt of such Material .

  • Converting 'little endian bytes' to short

    i need to convert to bytes in little endian format (low order byte first) into a short. i wrote an algorithm that i thought would solve this problem. it seems to work most of the time, however occassionally it does produce the wrong value. i was hopi

  • Question for photoshop

    I need some help when I click on get perfection with PhotoMerge Group shot it will not let me open it, it tells me that I have to download adobe AIR. I do have it downloaded but for some reason I can not open it.. What do I need to do to get this fix

  • Re:Transfer Routine to split an incoming data record

    Hi , We need to split an incoming data record coming from R/3 in to multiple records before updating into the cube. The requirement is as follows. We are having a record whose structure is as follows: Order No  | Transaction Value for 1st Fiscal Peri