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.
Showing results for 
Search instead for 
Did you mean: 
One of the important aspects mentioned for the success of the SAP Cloud Integration is delivery of Prepackaged Integration Content. Today there are nearly 300+ integration packages & 1800+ iFlows delivered by SAP that are developed based SAP Cloud Integration covering numerous business use cases. All the integration contents are available on SAP API Business Hub (For more detail introduction about API Business Hub, please refer Daniel’s blog).

In addition, SAP also introduced community and partner collaboration in SAP API Business Hub (for more detail introduction please refer Jagadish’s blog and Aaditya’s blog).

In this blog, I would like to introduce one of the integration package I submitted and published to the community recently, which has been built and live for a retail customer, for a quite general and typical integration scenario in SAP Retail solution – Point-of-Sale (POS) integration.

Comment: Community contents are still treated as customized content, SAP would not take responsibility for bug fixing, but product development team would monitor the download regularly and forward customers’ feedback to the content contributor for further improvement, frequent downloaded contents would be considered by product development team to be further standardized and delivered as SAP prepackaged content.


Integration Package introduction

The package (SAP Retail Integration with SAP Point-of-Sale) is available in the community of SAP API Business Hub.

Business Scenario:

In Retail industry, Point-of-Sale(POS) system is a key system of store operation, helping in-store sales as well as inventory management, staffing and etc.

Hereby in SAP Retail solution, there are typical integration scenarios between core Retail (S/4HANA or ECC) and POS system, 2 of the most important scenarios are master data (articles, prices, promotions and etc.) outbound from SAP Retail to POS, and sales upload from POS to SAP CAR (Customer Activity Repository).

Current solution:

In SAP NW PI/PO, there are standard ESR content for POS integration (STORE CONNECT and TE STORE CONNECT), but no content available in BTP Cloud Integration till now.

Motivation to adopt Cloud Integration instead of PI/PO:

    • Benefit from elastic capability of SAP BTP, data volume of retail customers could be varied a lot, for example, sales on Black Friday could be hundreds of times more than a normal working day, with SAP BTP the processing power of customers’ tenants could be scale up/down much more easily than on-premise NW PI/PO.

    • SAP CAR (Customer Activity Repository) would move to a cloud solution in future, which makes the whole scenario a cloud focus.

    • Simplify the network settings, especially for customers with chain of retail convenience stores (e.g. 7-Eleven, Wawa), thousands of POS located nationwide or even globally, which brings huge effort on VPN setting up for on-premise communication.



POS Outbound (S/4HANA(suitable for ECC also) -> CI -> SAP POS)

  • 4 iFlows to replicate article master, EAN/UPC, pricing, promotions and etc. to POS system

  • Standard Enterprise Services triggered from S/4HANA via XI protocol (MerchandiseERPReplicationBulkRequest_Out – article, price and EAN/UPC, ProductCategoryHierarchyERPReplicationRequest_Out – department, RetailIncentiveERPStoreOfferReplicationBulkRequest_Out – MixMatch and RetailEventERPStoreReplicationRequest_Out – Promotion)

  • CI converts SOAP-XML to ASC files accepted by SAP POS

  • XSLT mappings from standard ESR content (TE STORE CONNECT) are partially re-used


POS Inbound (SAP POS -> CI -> SAP CAR)

  • An iFlow to upload sales data (per receipt) to SAP CAR

  • CI loads ASC files in TLOG format from SAP POS

  • CI converts TLOG into standard IDOC (/POSDW/POSTR_CREATEMULTIPLE06) and posts to SAP CAR

  • Conversion achieved via Message Mapping built from scratch


Potential enhancements in future

  • The iFlows are for SAP POS integration, transformations for message formats of other POS systems (e.g. GK, ARTS format, …) could be implemented by referring standard ESR contents accordingly

  • Enhance the inbound mapping for more business scenarios (Good Receipt, Orders, Financial Transactions and etc.)


Therefore, if you are also implementing SAP POS integration in your SAP Retail project, this community content would be a good fit for you, you just need to copy the package to your own DEV tenant, complete the configurations of connectivity, then all the mentioned 5 scenarios above are ready to be used in your Cloud Integration.

additional configurations:

For ERP system -

  1. functional configurations to trigger those master data service messages

  2. Settings to communicate with cloud integration via XI protocol, pls refer Mandy's blog

For CAR system -

  1. IDOC configurations (e.g. partner profile)

  2. technical settings to receive IDOCs from cloud integration, Bhavesh's blog could be referred

You may need some mapping adjustments as per your specific business requirements, pls feel free to comment and advise on any potential improvements for the content.


Pls follow the Retail environment Topic page, post and answer questions, and read other posts on the topic.