SAP - Crystal Report in SAP Business One SDK (.NET)

Friday, October 16, 2015

SAP - Crystal Report in SAP Business One SDK (.NET)


Hello folks. I'm wondering how you integrate your Crystal Report in your SAP Business One add-on? After of searching on how to do that, we've ended up to create our own style on how we can generate report in our add-on. To do that, you need to install first the Crystal Report, currently we are using Crystal Report 2008 SP3. Too old thou, but its still working. Also, we are using Visual Studio 2005 to create a form that we used in crystal report. I don't know why in Visual Studio 2013 don't have Crystal Report. So what we are doing is, add new form in Visual Studio 2005 and drag the Crystal Report Viewer and copy the .VB file and add it to Visual Studio 2013. After you done that tricks, you may proceed to source code.


  1. In your "SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED" event type and identify the "pval.ItemUID". For example "bt_Print".
  2. Example:
  3. In the "Your code here" you can call your VB.NET form that has the Crystal Report Viewer. 
    Example:
  4. In "_frmRPaymentSched.vb", you need to import all the necessary DLLs that need by Crystal Report.
  5. For "Form_Load".
    Example:
    • In the part of "cryRpt.Load(xPath & "\Rpt\App_Payment.rpt")" you need to define the path of the Crystal Report.
That's how we view the crystal report in our add-on. It is just a normal Visual Basic form.

Do you have your alternative solution? You might want to share that to us. :). Please leave comment below.

10 comments :

  1. The ability to adapt and change is essential to business success. But not everyone embraces change so easily Company education grant.

    ReplyDelete
  2. I think Installware is better then Installshield. InstallAware is smaller and faster then Installshield.

    ReplyDelete
  3. Hiiii...Thank you so much for sharing Great information...Nice post....Keep move on...
    Best SAP HANA Training in Hyderabad

    ReplyDelete
  4. Many people say that the business drives the technology whereas some people say that the technology drives the business. It is really unknown that which is really responsible for what and I must say that the emergence of the information technology has really made it even more complex. see here

    ReplyDelete
  5. Download the Alibaba ACP-Sec1 Q&A PDF file easily to prepare ACP Cloud Security Certification Exam. It is particularly designed for Alibaba ACP-Sec1 exam and our Alibaba specialists have created this ACP-Sec1 Question Dumps observing the original ACP-Sec1 exam.

    ReplyDelete
  6. Thank you for sharing such detailed Blog. I am learning a lot from you. Visit my website to get best Information About Best IAS Coaching Center in Thane
    Best IAS Coaching Center in Thane
    IAS Coaching Center in Thane

    ReplyDelete