Quantcast
Channel: SCN : Popular Discussions - RESTful Web Services SDK
Viewing all articles
Browse latest Browse all 1088

How to schedule SAP BO Analysis for office -excel 2010 with RESTFul webservice SDK

$
0
0


Hi All,

 

Can we schedule sap analysis 1.4 using RESTFUL webservices ?Or do I need to go for the BO 4.1 sdks ?
I was able to do default schedule with BI RESTFUL services but I want destination to be file system which I am not able to do. Any pointers ?

I am working with SAP BO Analysis for office(for excel) . I get 404-not found error when I use

=========================================

schedule>

    <name>nameOfSchedule</name>

    <format type="pdf"/>

    <destination>

        <filesystem>

            <username>{name of user}</username>

            <password>{user's password}</password>

            <directory>C:/tmp/</directory>

        </filesystem>

    </destination>

</schedule

=========================================

But, I could refresh a webi report with above requestBody


I can schedule  SAP BO Analysis for office(for excel)  using schedule form based on restful ws.

requestBody is

=========================================

<entry xmlns="http://www.w3.org/2005/Atom">
<author>
<name>name</name>
<uri>restfulwebsericeURL</uri>
</author>
<id>ididid</id>
<title type="text">name of schedule</title>
<updated>2015-06-02T22:26:09.234Z</updated>
<content type="application/xml">
<attrs xmlns="http://www.sap.com/rws/bip">
<attr name="everyNDays" type="int32">1</attr>
<attr name="retriesAllowed" type="int32">0</attr>
<attr name="retryIntervalInSeconds" type="int32">1800</attr>
<attr name="startTime" type="datetime">2015-06-02T20:38:07.152Z</attr>
<attr name="endTime" type="datetime">2015-06-06T22:26:07.152Z</attr>
</attrs>
</content>
</entry>

=========================================

but when I add destination to attr  as shown below like (<attr name="Destination" value="filesystem" type="text" username ="usrname" password="pwd">path of directory</attr>) , I get 500- Internal Server error.

I using POST with http:<baseURL>/infostore/<id>/scheduleForms/daily

where baseaURL is restful ws url.

========================================

 


<entry xmlns="http://www.w3.org/2005/Atom">

<author>

<name>name</name>

<uri>restfulwebsericeURL</uri>

</author>

<id>ididid</id>

<title type="text">name of schedule</title>

<updated>2015-06-02T22:26:09.234Z</updated>

<content type="application/xml">

<attrs xmlns="http://www.sap.com/rws/bip">

<attr name="everyNDays" type="int32">1</attr>

<attr name="retriesAllowed" type="int32">0</attr>

<attr name="retryIntervalInSeconds" type="int32">1800</attr>

<attr name="startTime" type="datetime">2015-06-02T20:38:07.152Z</attr>

<attr name="endTime" type="datetime">2015-06-06T22:26:07.152Z</attr>

<attr name="Destination" value="filesystem" type="text" username ="usrname" password="pwd">path of directory</attr>

</attrs>

</content>

</entry>

========================================

 

I wondering how to define destination . Or am I missing something.

Thanks,

 

Regards,

Pramod.


Viewing all articles
Browse latest Browse all 1088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>