Skip to Content
avatar image
Former Member

Can we automate Crystal Report 2016 .rpt file using Crystal Server 2016 BI rest api?

I installed trial version of Crystal Report 2016 and Crystal Server 2016 on one machine. I was not able to access crystal server business intelligence rest api (http://localhost:6405/biprws/). After uninstall Crystal Report 2016 from machine, I am able to call rest api.

I was working for use sample reports and export that using rest call. But a lot of problem is coming those are mention below :

When I was tried to use http://localhost:6405/biprws/infostore/5273/rpt/export?mime_type=application/pdf for export report in pdf. It is giving error

<error> <error_code>404</error_code> <message>Resource not supported for the requested object. (RWS 00010)</message></error>

I tried to find reason and got something mention below :

Cause YouattemptedtoaccessaresourceforanInfoObjectwhichwasnotsupported.Forexample,this exceptionwouldbethrownwhenyoutrytoaccesstheCrystalReportsserviceforaFolder.

Action

Don'tcallthismethodonunsupportedobjects.Onlyvisitlinksthatarevalid.

Can you please help us asap?

Thanks and regards,

Harsh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Feb 22, 2017 at 12:00 AM

    Hi Harsh,

    No, you will not be able to use CR 2016 reports with the REST APIs. The Crystal Reports REST APIs will work with "Crystal Reports For Enterprise reports" created with the Java designer, but not with CR 2016 reports created with the C++ designer (crw32.exe).

    Dan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Might have answered my own question but to try and complete the thought. Here is the documentation on the scheduleforms API call.

      https://techwriter79.wikispaces.com/file/view/sbo41sp5_bip_rest_ws_en.pdf

      page 101

      I'm getting the 200 because I'm using the Get which provides the body for the subsequent Put that needs to occur. I implemented that and now I'm at

      405,<error> <error_code>RWS 00057</error_code> <message>Method not allowed; method specified in the Request-Line is not allowed for the resource identified by the Request-URI (RWS 00057)</message>

  • avatar image
    Former Member
    Mar 03, 2017 at 04:23 PM

    @daniel.paulsen Could you please link to the product "Crystal Reports For Enterprise reports" on the:
    https://www.sapstore.com/
    site?

    We currently had CR 16 ad CRS 16 and this inability to execute the REST API is a blocker.

    Thank you

    ,

    @Daniel Paulsen

    Could you please link to the product "Crystal Reports for Enterprise reports" on: https://www.sapstore.com/

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 03, 2017 at 06:24 PM

    Hi Robert - I believe Crystal for Enterprise is only available through the SAP BusinessObjects Enterprise BI platform client download site at the SAP Support Portal - - https://launchpad.support.sap.com/#/softwarecenter/template/products/_APP=00200682500000001943&_EVENT=NEXT&HEADER=Y&FUNCTIONBAR=Y&EVENT=TREE&NE=NAVIGATE&ENR=01200314690800000337&V=INST&TA=ACTUAL/SBOP%20BI%20PLATFORM%20(ENTERPRISE)

    I don't recall seeing it on SAP Store.

    Add comment
    10|10000 characters needed characters exceeded