Skip to Content
0

How to call xsjs script from BODS

Oct 30, 2017 at 02:12 PM

120

avatar image
Former Member

There is a task to send an email using the XSJS API - https://blogs.sap.com/2014/12/02/sap-hana-sps-09-new-developer-features-new-core-xsjs-apis/

Is it possible to call XSJS script from BODS?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Boris Efimenko Nov 18, 2017 at 12:53 PM
0

BODS can call web service (see Integrator Guide: Consuming external web services in SAP Data Services), so you can write xsjs-script, which emulate soap-server response.

But there is another way to send an email using XSJS API. You can insert record (via BODS) with the necessary information to table and write XS Job which send email for each record from this table.

Also you could consider using VBScript instead of XSJS. https://blogs.sap.com/2015/08/25/add-attachment-to-your-mail-in-bods-a-step-by-step-process/

Share
10 |10000 characters needed characters left characters exceeded