Skip to Content
0
Mar 09, 2021 at 01:04 PM

How can we print Crystal PDF using Service Layer?

490 Views Last edit Mar 09, 2021 at 01:12 PM 2 rev

We have a case in which we would like to print Crystal PDF using Service Layer. Our SAP installation is SAP Business One v10 FP2011 on MSSQL Server 2019.

Looking through the Service Layer API Reference at https://locahost:50000 we could find endpoints for "Print Layout Report"

Looking in the web, we came across this video/tutorial on how to ExportPDF using Service Layer. However, in our installation and case, it didn’t work.

Trying to export through using Postman, the following errors were the responses to our requests:

"Unrecognized resource path." or "The requested URL was not found on this server."

We are however able to Login and make Service Layer requests.

Looking through the rest of the documentation coming with the installation of SAP Business One we are unable to find any information about exporting to PDF using service Layer.

2021-03-09-120652-screenshot.png

2021-03-09-120703-screenshot.png

2021-03-09-120712-screenshot.png

2021-03-09-120838-screenshot.png