Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
kennethberck
Product and Topic Expert
Product and Topic Expert
SAP Integration Suite is licensed on 2 metrics: tenants and messages. Tenants are usually the number of environments/tiers you have, for example in a 4-tier environment you would have 1 tenant for development, 1 for test, 1 for quality assurance and 1 for production. A certain number of messages is included in the license of SAP Integration Suite (depending on the edition), more messages can be licensed/bought in blocks of 10K messages per month.

For every 250KB, that is sent over Integration Flows, API calls, etc. there is always a message consumed in SAP Integration Suite. There is only 1 exception, when you are leveraging prebuilt SAP-to-SAP integration scenarios and have only configured these flows (not modified), in this case messages will not be counted for those flows.
SAP Note 2942344 describes the message definition in full detail.

Information on the licensing and pricing of SAP Integration Suite is publicly available on the SAP Discovery Center.

Customers can leverage the usage analytics in the SAP BTP Cockpit, to see a monthly breakdown of how many messages they have consumed, how many of those messages were not counted (meaning how many free SAP-to-SAP messages were consumed) and how many messages were counted. This is further described in the blog "Integration Suite - Usage Analtyics".
A full integration flow level message breakdown can be provided by raising a ticket on LOD-HCI-PI-MET.

With this blog I’m trying to open the discussion on some tips to keep the message consumption and size under control in SAP Integration Suite.
So, kicking off the discussion the following 5 tips:


  1. Run integration flows under well-defined boundary conditions


    One of the design guidelines for integration flows on SAP Integration Suite is to run integration flows under well-defined boundary conditions. This helps you to increase the performance of your flows and avoid issues and errors. One of the best practices is to limit the size of incoming messages. The messages in Cloud Integration are calculated based on the size of the outgoing messages. Limiting the size of incoming messages could lead to limiting the size of outgoing messages.
    On top of that, it also includes other best practices like managing large batch sizes, optimizing integration flows for streaming, optimizing performance and memory footprint, etc.
    On the SAP Help Portal it is explained in detail how you can achieve this.


  2. Use ProcessDirect instead of HTTP(S) for exchanging messages between integration flows


    Sometimes organizations are leveraging the HTTP(S) adapter for communication between integration flows. This should be avoided as much as possible, instead, organizations should use the ProcessDirect adapter.
    The ProcessDirect adapter provides a direct communication between integration flows deployed on the same tenant. As it’s a direct connection, the communication will not be routed over the load balancer of SAP Integration Suite, thus reducing latency and network overhead.

    On top of increasing performance, the ProcessDirect adapter will also decrease the number of messages (compared to using the HTTP(S) adapter) as the messages sent over the ProcessDirect adapter are not counted.


  3. Leverage prebuilt integrations as much as possible


    SAP provides 3200+ prebuilt integrations on the SAP Business Accelerator Hub, these include many SAP-to-SAP integrations and SAP-to-non-SAP integrations. The integrations can be easily copied to your own tenant and come with the required documentation. This is one of the most important differentiators of the platform, and an important accelerator for integration projects, as it will save you time and money in development and maintenance of your integration flows (SAP also maintains the integrations).
    On top of delivering a quicker time to value, the prebuilt integration flows also follow the SAP best practices and guidelines, making them more performant and less prone to errors or uncontrollable message sizes.

    Also, as mentioned earlier in this blog, if you use the prebuilt SAP-to-SAP integrations and only configure the endpoints (so no modification on the integration flow itself), SAP will not charge you for the message consumption on these flows.


  4. Enable an event-driven integration strategy


    As described in the blog "SAP's Event-Driven Ecosystem Revisited", there are many benefits of enabling an event-driven integration strategy, including real time connectivity and updates in enterprise applications, loose coupling, flexibility, scalability, etc. It’s key in delivering composable architectures.
    From the perspective of message consumption, the benefit is that it helps organizations ensuring that integrations only run when necessary and that receivers only receive information that is relevant for them.
    It limits the needs for integrations that run on a scheduled basis just to check for updates that happened in the backend. And avoids sending large IDocs to receivers that are only interested in a small part of the information.

    Eventually, this avoids overhead and avoids consuming unnecessary messages.


  5. Follow the integration flow design guidelines


    When running integration flows productively in SAP Integration Suite, the integration scenario should be designed in line with the best practices. Poorly designed integration flows may lead to issues like errors, but it may also lead to unnecessary usage of tenant resources that could negatively impact the performance of the integration flows and could increase the message consumption.

    In tip 1 and 3 of this blog the design guidelines were already mentioned. You can run your integration flows under well-defined boundary conditions, or you can leverage the prebuilt integrations that are already following the best practices.
    The integration flow design guidelines are well-documented on the SAP Help Portal.

    In week 4, of the OpenSAP course "Modernize Integration with SAP Integration Suite" this is also addressed. I highly recommend to go through this course and the SAP Help Portal to get more familiar with the SAP Integration Suite and the design guidelines.


So, these were some tips to keep the message consumption and size under control.
Hope you enjoyed reading this blog!
Curious to hear about your tips and feedback, feel free to share in the comments!

 
2 Comments