cancel
Showing results for 
Search instead for 
Did you mean: 

Crystel Report Export To PDF Using DI API in SAP Business One Possible?

former_member490271
Discoverer
0 Kudos

Hello ,

I want to know how to crystal report particular (AR Invoice) Pass Docentry then Export to PDF in SAP B1 HANA SDK using DI API .

Thanks & regards

Sayaji Ghodake

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member610331
Contributor
0 Kudos

Hi Sayaji Ghodake,

It is possible to achieve what you are looking for.

Have you tried it as described below:

  1. Include your stored procedure and parameter value within one query
  2. Add entire query in Crystal Report as a Command.

Regards,

Sam B

0 Kudos

Without the slightest doubt to make a mistake if you can, you just have to consider 2 things:

1.- Have the CR format from which you intend to obtain the PDF.

2.- Know the DocKey of the document to be processed.

Having this, you should only invoke the ExporToDisk property of the CrystalReport at the code level and you will get your result.

former_member610331
Contributor
0 Kudos

Hi sayaji Ghodake,

There is another alternative to SAP B1 Hana SDK. You could edit Crystal Report (using Crystal Reports software), and use feature `Export to PDF`.

If your question is answered, kindly mark appropriate response as answer.

Thank you & Regards,

Sam

former_member490271
Discoverer
0 Kudos

Dear Sam B,

Thanks for reply,

i have already tried. When edit crystal report then pass stored procedure name & parameter. but i want edit crystal report then by default get stored procedure(same as SQL) & pass parameter value .Is it possible?