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

Triggering an email from SAP HANA SQL console/Procedure

$
0
0

Hi,

 

I have a client requirement that, based on the Table field value, email has to be triggered.

Capture.PNG

I have a table called STOCKS, whenever the field 'Stage' is updated with 'Critical' we have to trigger/send an email.

I have created a trigger to check the 'Stage' value is 'Critical' or 'Not Critical'. After finding this, I want to trigger an email.

 

If we want to send an email in ABAP,  we have a function module 'SO_NEW_DOCUMENT_SEND_API1'.

Do we have any thing in HANA?

 

I have gone through the below link,

SAP HANA SPS 09: New Developer Features; New Core XSJS APIs

But, I am not sure how to use the XSJS in my procedure/trigger?

 

I am using Service pack 9.

 

 

Thanks in advance.

Hemanth.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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