Crystal report 2008 for B1 hyperlink to purchase order window

HI all,
I am developing a crystal report in sap business one 8.8. I read SAP document '"How to working with crystal report in sap business one"  I know we could link report field to Item master data window use 'http://$b1$/link?table=OITM&key='+{POR1.ItemCode}
I also can use 'http://$b1$/link?table=OCRD&key='+{OPOR.CardCode} to link to business partner window.
But I have trouble use purchase DocNum to link to purchase order window. First I get error of formular require string when use
'http://$b1$/link?table=OCRD&Key='+{OPOR.DocNum}
I did some search and found ('http://$b1$/link?table=OINV&key=' & totext({OINV.DocNum},0)). I add totext into my formular
'http://$b1$/link?table=OPOR&Key='+totext({OPOR.DocNum},0)   
I run that report and get IE open when click DocNum  with   http://$b1$/link?table=OPOR&Key=9,917   rather than open purchase order window.
Please help me crystal report experts. I know I must miss something in there.

Hi Rob,
thanks very much for your help. that is working Now.
I post the hypherlink code here. I hope that will be useful for someone.
if {Command.ObjType}='22' then 'http://$b1$/link?table=OPOR&key='+ totext({Command.DocEntry},0,"","") // link purchase order
else if {Command.ObjType}='20' then  'http://$b1$/link?table=OPDN&key='+ totext({Command.DocEntry},0,"","")// link good receipt
else if {Command.ObjType}='21' then 'http://$b1$/link?table=ORPD&key='+ totext({Command.DocEntry},0,"","")// good retun
else if {Command.ObjType}='18' then 'http://$b1$/link?table=OPCH&key='+ totext({Command.DocEntry},0,"","") // A/P Invoice
else if {Command.ObjType}='19' then 'http://$b1$/link?table=ORPC&key='+ totext({Command.DocEntry},0,"","")  // A/P credit memo

Similar Messages

  • What's ObjectId in Crystal Report 2008 for SAP B1 8.8

    Hi all!
    I am using Crystal Report 2008 for SAP B1 8.8, i don't know ObjectID use for what. In some report temlate of Crystal Report 2008 for SAP B1 8.8, i saw they aways use this.
    Please explain for me.!!
    Thanks!

    There is a very usefull document, HowTo_Work_withCR_88.pdf.
    This should have been in you 8.8 upgrade package.
    This document explains quite a bit about how to create crystal reports and how to import into 8.8 as reports, or layouts.
    Your question is not specific enough for me to answer, but if you re-phrase it, I'll see if I can help.
    Rob

  • Crystal report 2008 for B1 Join report of open PO, good receipt, good retur

    Hi All,
    I am new to crystal report for B1. I am developing a report for showing all open purchase order, good receipt, good return, A/P Invoice and A/P credited memo   rows for selected project.
    This is similar to open item report, but I need to show detail rows (items) for each of those Document. I can easy do a select token with project code for only one type of those document e.g. open purchase order (link OPOR with POR1 and select records by project code).
    My question is how to do a report with those 5 types document together. I did try to include all those tables, but I canu2019t find a link between them.  Or Can I do something link sub reports to include all those report by using one selection token?  How can I do it?
    Any comment, ANTHING will be very much appreciated!!

    Hi Julian......
    yes you are correct use OLE DB connection and when it shows your PC Connection then just put the necessary information related to SQL server and DB for which you want to create this query.
    Once you put all these info then click on next and then finish.
    It will show you the Command option and one more option in expand and collapse format where all the tables and views of database are present.
    Just double click on command and paste your query report and add it......
    Now its set to design CR for your query as per requirement.....
    Regards,
    Rahul

  • Help ! Crystal Reports 2008 for Visual Studio Hangs

    I am using CR 2008 in VS 2008. When I try to set a data source in a crystal reports viewer the first time it hangs. This only occurs on the very first viewer that gets set. Once the first one works, I never have a problem again.
    This has been a problem through a number of CR releases. It is not a new issue.
    Thanks.

    And like all other releases the delay is due to the first time your app loads CR runtime is takes time do so, all programs do this. CR simply doesn't load in your memory space until it's called.
    Load a dummy report on the Main Form when your app is loading then close the dummy report, it will add additional time to load your main app but it appears then CR loads the reports quickly.
    No way around this. Also, make sure your reports have the Verify Database on first load or any of the Verify options, CR will try to connect to the DB and verify which can also take time.
    Don

  • Security issue in Crystal Report 2008 for SAP B1

    Hi Friends,
                     I want to hide the Query which is used in my report from the end user,I don't want they can see and edit the report after exporting from sap b1.
    Please help.....its urgent
    Thanks.
    Andy

    Hi Andy,
    SAP B1 is an OEM version of CR 2008. I can't move your post so please mark as answered and post your question to this forum:
    /community [original link is broken]
    Thank you
    Don

  • Crystal Reports 2008 in Windows Vista x64 + IIS7 DOESNT WORK!!!!!! HELP!

    Hi,
    I´m developing an application with Microsoft Visual Studio 2008 and Crystal Reports 2008 Professional
    (i´m not using the Crystal Reports 2008 for .Net basic)
    As I have Windows Vista x64, my ASP.NET applications run under IIS7, but for my surprise, Crystal doesn´t work under Vista x64 + IIS7. I got the following error:
    An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    When I run the same routine in an Windows Application the error doesnt occur. It only happens under Web Applications.
    I tested in a Windows Vista 32 bit and there´s no error....
    Crystal Reports 2008 does not work in II7 x64 ?
    Is there any solution?
    Please.... help me!!!!!

    Hi Fernando,
    Please read and follow the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] for future topic posts as yours violates the current policy.
    You will need to build your application to run in 32 bit only mode. This note explains how to do it:
    [Set app to 32 bit mode|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Jason

  • Crystal Report 2008 export to text problem

    Hello,
    I am using Crystal Reports 2008 for generating reports in our WPF application. In this application, we are exporting the report to txt file on a button click. Now the application contains a form called u2018Print Manageru2019, through which the user can print the exported report(text files). Now the issue, when we try to the any of the exported report file through the application, the printer leaves alternate blank pages. The printer used in this case is DOT MATRIX EPSON LQ-1150II ESC/P2. We even tried printing the text file on HP Laser jet 4600, but the same issue is faced.
    Also, please note that when I try to read the exported txt file, a formfeed(u2018\fu2019 page break) character  can be seen  at the place where the printer leaves a blank page. Hence, my concern is, Is there any property of crystal report that I am missing on or is this a printer driver issue? But if it would have been a driver issue, then changing the printer might have solved the issue.
    I also  tried  doing u2018Keep Togetheru2019 property = false of all the sections of the report. Also, I found that the u2018New Page Afteru2019 property = true and disabled for the u2018Page Footeru2019 section. So I set u2018New Page Afteru2019 property = false programmatically as
    rdTest.ReportDefinition.Sections["Section5"].SectionFormat.EnableNewPageAfter = false;
    but no luck.
    If anyone has faced similar problem or have any clues, please help!
    Any kind of help in solving this issue will be highly appreciated.
    Thanks in anticipation!

    Good morning.
    We've got something to get straight first
    When you say "...from the Report Viewer. The report printed as expected on HP printer...", do you mean the viewer of the .NET app, or the viewer of the CR designer?
    And version 12.0.0.683, is very old (well as far as CR is concerned anyhow   ). That version is SP 1, we are now on SP 2. So that will be the place to start. Get to SP 2 which can be downloaded from here;
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Ludek

  • ASP Crystal Report 2008 (12) Oracle 9 and Visual Basic!

    Hi All,
    I'm mainting an old application and I need to simulate the same client environment in my machine.
    I have a VB application (with COM+ server components) that's creates a report object with parameters. But the only thing that this application does it's call an ASP page that contains all the logic to call a .rpt file, connect to Oracle 9i and then show the crystal report inside a MS webbrowser component (activeX) in the VB form.
    I already setup the IIS, and the site there, I put all the .rpt files in the site and if you try to access without calling from VB you can run the asp pages, but the reports still doesn't appears.
    These ASP pages should connect to Oracle and then show the rpt file, but I'm facing the following error:
    The url that's the application creates is for example this: http://localhost/application1/createreport.asp?sSessionId=2&ReportName=TransactionsProcessed.rpt&parameter1&parameter2... etc etc...
    Script Error Number: -21471922153
    File could not be opened because the library "P2sora7.dll" cannot be found.
    User Error Text: An error has ocurred in CreateReport.asp while logging onto the Oracle database server. Please try again.
    I already check the database connection and it is working fine using ODBC, and the application works fine with the database.
    The file p2sora.dll is in C:\WINDOWS\SYSTEM32, I already copied from another machine, and I have installed Crystal Report 2008 (12) in my server machine with Windows 2003 server, that's the application and web server where report should be run. I know that the old application was executed with Crystal 7, but I cannot found this version to buy.
    Edited by: Don Williams on Mar 21, 2010 9:05 AM

    This is the code of the createPage.asp that it's called from VB:
    <%
    On Error Resume Next
    Dim sDLLName
    Dim sDatabaseType
    Dim sServerName
    Dim sUserId
    Dim sPassword
    Dim arrayInteger
    Dim sReportDbName
    Dim oTransStore
    Dim oReportObject
    Dim oCRSections
    Dim oCRSection
    Dim oCRSubReportObject
    Dim oCRReportObjects
    Dim oCRReportObject
    Dim oCRSubReport
    Dim oCRPageEngine
    Dim sSessionId, sReportPath, sReportName, sTablename
    ' Errorhandling Parameters
    Dim lUserErrorNumber, sUserErrorText
    ' -- Get parameters --
    sSessionId = Request.QueryString("SessionId")
    sReportName = Request.QueryString("ReportName")
    sStartDay = Request.QueryString("StartDay")
    sStartMonth = Request.QueryString("StartMonth")
    sStartYear = Request.QueryString("StartYear")
    sEndDay = Request.QueryString("EndDay")
    sEndMonth = Request.QueryString("EndMonth")
    sEndYear = Request.QueryString("EndYear")
    sAccName = Request.QueryString("AccId")
    sUserName = Request.QueryString("UserName")
    ' -- Initialisation --
    Session("ImageFolder") = ".\images"
    sDatabaseType = Request.QueryString("DbType")
    sServerName = Request.QueryString("ServerName")
    sUserId = Request.QueryString("DbUserId")
    sPassword = Request.QueryString("DbPassword")
    sReportPath = Request.QueryString("ReportsFolder")
    ' -- Select DLL for DB Type
    - Hide quoted text -
    sDLLName = "P2sora7.dll"
    Response.Write "DATABASE SELECCIONADA: " & sDatabaseType
    Select Case sDatabaseType
    Case "Oracle":
      sDLLName = "P2sora7.dll"
      sReportDbName = ""
            Case "SQLServer":
                 sDLLName = "P2ssql.dll"
      sReportDbName = Request.QueryString("ReportsDbName")
            Case "Informix":
                 sDLLName = "P2sifmx.dll"
    End Select
    ' -- Set the ErrorNumber to 400 and sErrorText.
    sUserErrorText = "An error has occurred in CreateReport.asp while loading the report details. CreateObject(CrystalRuntime.Application) . Please try again."
    lUserErrorNumber = 400

  • Crystal Reports 2008 connecting to R/3

    I have a general question for Crystal Reports 2008 for use with R/3.
    Crystal Reports 2008 with SAP/R3 Enterprise 4.7
    I installed a trial version of Crystal Reports 2008 and connected it to the R/3 instance using a oracle id which has admin rights so the session can see all of R/3 db including 000 client. It can see all tables within the database.
    To deploy Crystal Reporting for an R/3 installation - is it advisable to connect directly to db?  how do you maintain proper data element access?  Do you create views for a oracle user id, or is there a delivered product or method for allowing user access using some other type of security that limits table access to say finance tables?
    John

    Check our site for more info but in general CR fully respects all DB security, if the user does not have permissions on the table used in the report the report will fail to run.

  • Crystal Reports 2008 failed to retrive data, and instead deleted it.

    I have been using crystal reports 2008 for the past year or so with our billing software through an OBDC data source. I was using xp pro sp3. However I recently upgraded to a new computer running xp pro sp3 as well, and now I am having some serious issues.
    When I try to connect to a data source in the database expert, it shows all the tables, and then the field explorer shows the fields, but when I actually try to brows the data, view a preview, verify the database, or refresh an old report it gives me an error and DELETES the .dat file that the field was located in. I am so glad I have regular backups to restore too, because pulling a report nuked 5 .dat files.
    The errors I am getting are as follows:
    "Failed to retrieve data from database."
    Clicked ok
    "Failed to retrieve data from database."
    Clicked ok
    "Database Connector Error: 'HY000:[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface][Data Record Manager]The file cannot be created with Variable-trail Allocation Tables (VATs)(Btrieve Error 105)'"
    Clicked ok
    "Failed to retrieve  data from database.
    Details:HY000:[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface]Unable to open table: <nameoftable>"
    Click ok
    and Crystal stays open but has just deleted the .dat file that the table was located in. It will still show the fields but  no data. Trying to open the other software leads to an error "missing <name of table>.dat" It then has to be restored from a backup.
    I have tried updating crystal as well as fully uninstalling it and reinstalling it, we have created a new ODBC connection, and cloned the database for testing purposes. The same thing occurs with the new database and ODBC data source.
    We have no other computers, except my old one that has crystal reports on it. I have tried the old computer again and it is working fine.
    Does anyone have an suggestions? This is pretty critical. Thanks in advance.
    Edited by: Russellk on Jan 13, 2010 8:27 PM

    Hello, you could try turning on ODBC tracing to see if it logs anything. It's a pain to get going but here's how.
    Go to ODBC Admin, Click on the Tracing tab and create a log file and save. Don't start tracing yet. Close the ODBC admin and then re-open it and then turn tracing on. You may have to do this a few times to get it working.
    Once it's tracing then open CR and try the demo data. Then close the report, log off, log onto the real data and do the same with a new report. You'll see a bunch of ODBC API's but there may be one or 2 that don't look right or errors may be logged compared to the DEMODATA.
    Another suggestion is it may not be your PC doing the deleting. Maybe the Server thinks you have infected the data files and it's deleting them. Have a look in anti-virus quarantine logs on the server to see if it's doing the nasty....
    Check the trust between your PC and the server.
    I've also seen this type of odd behaviour with corrupted Profiles. Check with your IT guys on creating a new one for you, it's apain because you loose everything on your work station.
    What happens if you log on from another PC using your account? Does that also delete the files? Or get someone else who it does work for log into your PC, does that work? If so it may be your Profile is either not trusted or it's been corrupted.
    Good luck
    Don

  • Crystal Reports 2008 Export formats

    We have a full version of Crystal Reports 2008 for use with our .net application.  I also tried using the ReportAppServer's .NET assemblies but could not find a way to export to the following formats (this was possible in the previous versions of Crystal Reports)
    Excel 8.0
    Excel 8.0 Tabular
    HTML 3.2
    Looks like these are not supoorted with Crystal 2008? Can someone please confirm this?
    I came accross a document that suggested use of Excel Export Compatibility patch to support lagacy versions of excel but could not find where to download the patch from.
    Also, I did not find any document on what defalt HTML version the  crystal viewer exports to. I believe it's HTML 4.0. Is this correct?

    Hello,
    Install the latest patches for CR 2008, SP2, and you'll find the legacy formats have been added back in for Excel and HTML 3.2 is an option.
    Thank you
    Don

  • Crystal Reports 2008 crashes when previewing image with graphic location

    Hi,
    I'm using Crystal Reports 2008 for SAP Business One.  When I try to insert an image with a UNC graphic location (browse to a UNC drive for image) and I preview, Crystal Reports crashes with the following debug info:
    Problem signature:
      Problem Event Name:     APPCRASH
      Application Name:     crw32.exe
      Application Version:     12.1.0.892
      Application Timestamp:     48de4bbc
      Fault Module Name:     cslibu-3-0.dll
      Fault Module Version:     12.4.0.966
      Fault Module Timestamp:     4daed0a1
      Exception Code:     c0000094
      Exception Offset:     0002d7fd
      OS Version:     6.1.7601.2.1.0.272.7
      Locale ID:     1033
      Additional Information 1:     0a9e
      Additional Information 2:     0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:     0a9e
      Additional Information 4:     0a9e372d3b4ad19135b953a78882e789
    Any idea why?  If I trun graphic location off, it works fine.
    The code I'm using to pull image is:
    sapserver\B1_SHR\Bitmaps\Versailles\" & {RSM_Inventory_Images;1.PicturName}
    Thanks.

    Through  Startu2014Run are you able to view the image by choosing the following path ?
    sapserver\B1_SHR\Bitmaps\Versailles\" & {RSM_Inventory_Images;1.PicturName}
    Also try to insert any image which is on your local hard drive and try.  I think this is because, CR is unable to access the images which are on UNC.
    Thanks,
    Sastry

  • Crystal Reports 2008 sqlquery Using

    We have an inquiry.
    Now, we are using Windows XP, Visual studio 2008, Crystal Reports 2008.
    Before, we had been used Windows XP, Visual studio 6, Crystal Reports 7.
    Since we changed development Environment to Visual Basic.NET, we have some problem to process with previous method.
    It was possible to send Query directly to Crystal Reports in previous development Environment. But, we do not know how to we do at VB.NET.
    <Previous Coding>
    Crystalreport.SQLQuery = u2018select * from TABLE order by dateu201D
    We used as above.
    Please let us know it is possible to use as above in Crystal Reports 2008 of VB.NET
    We are using [VIEW] but, It is not possible to make [VIEW] with u201Corder byu201D. So we had been used above method for special cases.

    Hi,
    It is been my problem to, it is very a big adjustment in terms of coding and others, please refer to this link for a step by step guide using crystal report on vb.net., [CLICK HERE|http://www.vbforums.com/showthread.php?p=2686697]
    Regards,
    Clint

  • Crystal Reports 2008 SP3 - "u25azalea.dll" missing

    We have installed Crystal Reports 2008 SP3 on our application server.
    Windows Server 2008 R2  Standard
    64-bit operating system
    1. I create a Report and choose a field for barcode
    2. Right-click on a that field and choose u201CChange to barcodeu201D
    3. I choose "Code39" in the list
    4. I change the font of the field to "Barcode EAN13"
    5. It shows correctly in Crystal design/preview mode.
    6. When I try to run the report from our windows application this message appear: "UFL 'u25azalea.dll' that implements this function is missing"
    7. I download the file from http://www.azalea.com/crystal-reports/
    8. I copy the file "u25azalea.dll" into the path: C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise     12.0\win32_x86
    8. It still shows the message!
    What should I do?

    Hello,
    No need to select #3 if you are going to change it to #4. Just edit the field and select your barcode font. You only need that file if you use the Code 39 font.
    Odd though that it asked for that ufl. Look for it on your local PC and copy it over, could be the one you downloaded is an older version.
    Don

  • Customizing ActiveX Viewer for Crystal Reports 2008

    Here's the scenario.
       We have reports designed in Crystal Reports 2008, that are deployed on Business Objects 3.1 Infoview. All reports have Parameters for users to choose. All reports are expected to refresh on open.Some are dynamic some are standard static ones. There is an application developed in JAVA that is rendering these reports using the ActiveX viewer.
    The users are not comfortable with the way reports look in JAVA viewer. Hence the choices are either HTML viewer or ActiveX viewer.
    The application achieves this by making OpenDoc call to the report and using
    sViewer=actx
    as one of the parameters. Here's the issue that we run into. When users land on the parameter screen, the parameter screen alone Pops Up in a new window. Once all the parameter values are entered and the users clicks OK, the window vanishes and actual report is rendered in the original window.
    If we use HTML viewer by setting
    sViewer=html
    The report Parameter screen is rendered in the main window without popping up. However we do not wish to use HTML viewer because, some of the reports are linked to other reports with OpenDoc calls. i. e. Parent report calls child report with a OpenDoc call. In the HTML viewer, when you click on the link to child report, it opens in same window despite setting
    sWindow=new
    in that opendoc call. Thereby losing parent report and no way to navigate back to it. This problem does not happen in ActivX viewer.There it seems to obey the command to open in new window.
    Lastly you can recreate all this behavior by setting your viewer preferences in Info View settings. 
    So, here's my questions.
    1. Should I use the .Net viewer instead of ActiveX Viewer ? If so, where can I find Syntax for the same ?
    2. Can someone point me to documentation on the ActiveX Viewer ? Specifically making it not to Pop Up the Parameter Screen ?
    3. Should the Java application use a different method other than Open Doc to cal the reports ? If so where can I get the details ?
    Apologies for the long post. I tried to anticipate most of the questions that may arise in your mind. Thanks in advance for the time invested.

    Thank you Adam for the help.
    I already have the Open Document document you mentioned. Can't seem to search for the KB article in Marketplace. No results found.
    Just to clarify, I do not want to avoid the Parameter screen. Its the fact that it Pops Up in ActiveX viewer is the issue. The only thing I want in ActiveX viewer is to make that screen appear in main window just like HTML viewer.
    I understand that there is no difference as far as opendoc is concerned between .Net or JAVA. I am looking for the SDK behind the viewers themselves.
    To my third question, your answer is what I was looking for. But need a bit clarification.
    >
    Adam Stone wrote:
    > If you do not like the functionality that OpenDocument provides, you could use the SDK to view the reports, but you will likely run into the same issue as you are running into when using the html viewer.  The only workaround for that is to set a property on the viewer object in the SDK but it will affect all hyperlinks in the report not just a single one.
    By setting Property in SDK for the viewer Object, are you referring to Meta Tag encapsulation such as
    <a href= http://infoview.server.com/Infoview/opendoc/openDocument.jsp?iDocID=ABZR3Z&sIDType=CUID&&sType=wid&sRefresh=Y&sWindow=new>Report Title</a>
    May be I didn't get your point with setting property. I know there is documentation on Viewer SDK. I just can't seem to find it. I hope it would answer the questions.
    Edited by: SAMEER UPADHYE on Oct 6, 2010 5:46 PM

Maybe you are looking for

  • How to delete the recorded file in imovie(ipad version)

    I am try a lot of way to delete it but still can't do it. T____T

  • My computer doesn't recognize my ipod. Help.

    I have an ipod 3 and an HP Windows Vista computer. 5 months ago my USB cable was starting to break and sometimes not work, so I desided to buy a new one. I went to Mexico for a family visit (where I'm from) and desided to buy one there while I was at

  • Do you also get this problem too?

    I migrated from 1.0.14 to 1.1 last nite. Everything went on smoothly. Started to add the search and comment feature on my blog as well. When i upload the whole site, i hit the publishing error but it went away once i retry it. I did a quick check on

  • Duplication of Amounts in report based on One-many joins

    Sorry for the long description but I think it's better to be explicit. This is a very generic problem though with the design of BO. We have BO /Webi 6.5. I support a reporting system delivered by a third party, and need to fix issues with the reports

  • Creation of Views

    Hai Experts,              I'm new to the ABAP development area. I am learning about tables, buffers etc. And now i want to know about Views and the creation of Views. So can anybody give me the steps involved in the creation of views? Regards, P.Shan