Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

How to dynamically change host for HTTP destination

$
0
0

Hi colleagues,

 

In the project I'm working on there's a need to change the destination host for outbound XSJS calls. This is related to the fact that the HANA system will be created automatically via Monsoon and the destination may vary. The standard way of using of xshttpdest file doesn't work because 'host' property of the Destination object is read only and cannot be changed in XSJS. The XSJS JSDoc states that the destination can be retrieved from the database but when I tried to create a table and use it for obtaining destination, I got 'no permission' error which is clear as I cannot put the table in the same package as XSJS.

What might be a solution?

Thanks in advance.

 

Best regards,

Andy.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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