Skip to Content

Webservice to Mail Using SAP Hana Cloud Integration!!

As a SAP PI/PO consultant worked in various Integration Projects would like to share my first experience in SAP Hana Cloud Integration

Hope many of you have already explored about SAP HCI and its capabilities and road map for integration.

Here I am sharing my experience of developing a Web service to Mail Scenario in SAP HCI Trial Version

1) In the Eclipse Tool ( Luna) Open the perspective SAP Hana Cloud Integration and create Integration Project and Integration Flow as below

   Sender – Webservice (SOAP),   Receiver – Mail


2) For Sender Webservice, sample structure can be created in PI/PO and imported to HCI

3) Configure Sender SOAP Channel with below parameters

SOAP Channel.jpg

4) Configure the Receiver Mail Adapter to send mail to google mail and provide required parameters (From address,To address, Mail subject and body) as below

Mail Content_1.jpg

5) In Google account settings we need to enable required authentication, so that external applications can communicate to google mail and here we need to generate required credentials

Google Account Settings.jpg

Google Account.jpg

6) Credentials which were generated in the above step need to be deployed in HCI in deployed artifacts and Deployed Artifacts name to be given in the receiver mail channel.

Deployed Artifacts.jpg

7) To test the scenario, import the IFLOW WSDL in SOAP UI and trigger . This is only for triggering the Iflow, actual message already configured in Mail channel


8) Message Monitoring in HCI – Message status is completed

HCI Monitoring.JPG

9) Message successfully posted to google mail box as below


In general there are differences compared to PI/PO in the way objects are developed and configured in HCI and initially we may have some challenges while establishing connectivity to other systems/applications due to firewall/network.

From Integration perspective I can say HCI is still evolving and there is lot more which are expected in the near future from SAP .

So start exploring and share your thoughts!!


SAP HANA Cloud Integration for Processes

You must be Logged on to comment or reply to a post.
  • Hello,

    What all the security settings has to be enabled in gmail account?

    What is the credentials which has to be deployed to artifacts and how?

    reg, avinash

      • Hi Eng,

        I have tried this and I can send mails using GMAIL SMTP server and my gmail account, however, if I try to use our Relay Server, I get timeout Error in HCI. My questions are:

        1. Is it important to use some sort of message protection, like SMTPS or STARTTLS…or can this be kept switched off…
        2. HCI documentation says that port is optional, so I kept it that way. Though, it gives warning but no errors, but I am failing to send mails that way….
        3. ‘NO authentication’ is valid or this should be kept.
        4. If I use our Relay Server details in PI, mails are getting triggered with NO issues as such.

        My Settings in HCI Receiver Adapter are:


        Error in HCI:


          • Hi Vijaya,

            We have actually gone to PI to send mails. We built Interface in PI. CPI (HCI) calls PI Service having recipients details in it, and PI Interface will then send mails to Customers.


  • Hi Prakash,

    Good attempt on HCI,content is informative however if you might add the monitoring that would add more essence to the blog.

    Expecting more blogs on HCI from you.

    From My View SAP should provide atleast 90 days of HCI trail version.Currently i am on 30 days trail period which going to expire in couple of days however i did not get a chance to explore to full extent 😉




    Hi Prakash,


    I'm blocked on the step 5 and step 6 of your guide. Could you please provide more details on how to generate the certificate?


    Thanks a lot.


    Best Regards



    • Hello Kevin,

      Go to through your browser and get the certificates and upload it into your system.jks (keystore) file.


      Nitin Deshpande