Skip to Content
author's profile photo Former Member
Former Member

Status of a schedule - error message on failure.

Hello All,

when querying for status, after scheduling a document, using the schedule Id - the service returns Completed/Failed status. In case of a failure, it does not give us any detailed description of the failure. This would mean that we have to go to lauch pad in order to look at the reason for failure.

I'm using the http://localhost:6405/biprws/raylight/v1/documents/12345/schedules/34343 to get the status for schedule Id 34343 and document Id 12345.

Is there any othere service that can give more information on failures?

Thanks,

Pavan

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Sep 04, 2014 at 09:53 AM

    hello,

    The information you are looking for will be available starting 4.1 SP5 ;-)

    For example:

    [GET] raylight/v1/documents/6513/schedules/9046

    Accept: application/xml

    Content-Type: application/xml

    HTTP Response Code: 200

    Response Time: 274 ms

    Response :

    <?xml version="1.0" encoding="UTF-8"?>

    <schedule>

    <id>9046</id>

    <name>ftp_withSpecificName_withoutExtension_NEED_TO_CONFIGURE_CMC</name>

    <format type="webi"/>

    <status id="3">Failed</status>

    <error>

    <error_code>FWB 00031</error_code>

    <message>Destination disabled. []: [CrystalEnterprise.Ftp]. Please note the name of the job server used for your request and contact your system administrator to make sure the specified destination is enabled. (FWB 00031)</message>

    </error>

    <destination>

    <ftp>

    <port>0</port>

    <directory>/tmp/d930649f-7f8d-4ca7-a462-dece662783ed</directory>

    </ftp>

    </destination>

    <once retriesAllowed="0" retryIntervalInSeconds="1800">

    <startdate>2014-09-04T10:21:20.533+02:00</startdate>

    <enddate>2024-09-04T11:21:20.488+02:00</enddate>

    </once>

    <serverGroup id="0" required="false"/>

    </schedule>

    Regards,

    eric

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 03, 2014 at 11:11 AM

    Hi Pavan,

    As far as I am aware of this information currently we can not get using the Rest SDKs for webi. We can only get the status such as Completed/Failed.

    This is something which could be added as an enhancement in future releases and the product architects would be the suitable persons to comment on that.

    You can always raise these kind of enhancement requests at http://ideas.sap.com

    This is still possible using the Enterprise Java SDKs though.

    Also this information is stored the the instances propertybag and can be seen from the query builder a well.

    However, as you can try the below rest call and check if you find this information

    http://<baseURL>/infostore/<id>

    Above <id> would be the id of the failed instance. I havent tried it yet and do not have currently an environment to check. Probably as far as I know, all the property bag information is not included in the Platform Rest SDKs, however it is worth to give it a try and see what details we get there.

    You can refer to the SAP Note: 2055164 - How to get Schedule Details using RESTful Web Service APIs as a referrence.

    Thanks,
    Prithvi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.