Skip to Content
Technical Articles
Author's profile photo Prabha Subbulakshmi Arumugam

Material Requirement Planning Visibility in Two-tier ERP – SAP S/4HANA Cloud, Public Edition


This blog post describes the Two-Tier scenario of MRP Visibility between headquarters and subsidiary which run on two different instances of SAP. Headquarters are expected to gain better visibility on the MRP results generated at Subsidiary end and vice versa. With this analytics scenario the much-required capability with Two-Tier integration to check the status of production planning and customer stock availability between headquarters and subsidiary is added which was not available in the earlier scenarios. This scenario supports organizations running on Two-Tier setup to have better coverage on the material demand and supply planning of replenishment elements between Tier 1 and Tier 2 systems.


Business Enterprises implemented with Two-Tier scenario involving sale and purchase of materials and setup wherein the subsidiary runs on SAP S/4HANA Cloud, public edition acting as Tier 2 and the headquarter running on any deployments such as SAP S/4HANA Cloud, private edition, SAP S/4HANA, or SAP ECC or any other ERP system acting as Tier 1 with business requirement to provide report on the product demand, planning and execution status to share between the systems.

SAP S/4HANA Cloud, public edition at subsidiary sends the demand for assembly to headquarter and in turn the headquarter receives the demand, plan, produce and deliver the same product back to subsidiary. Here, the subsidiary acts as a customer whereas the headquarter acts like a production unit and internal supplier. In this business use case, subsidiary and headquarters are not having the visibility on the material coverage between the Two-Tier companies.

Subsidiaries expected to have better visibility on the MRP planning results of the production materials at headquarters and the headquarters are expected to access the demand planned for the materials at the Subsidiary end.

Two-Tier Solution:

To achieve the above customer’s requirement, SAP’s Two -Tier Solution provides the API based direct integration between SAP S/4HANA Cloud, public edition system at the subsidiary and SAP S/4HANA / SAP S/4HANA Cloud public edition / SAP ECC/other ERP system at the headquarters.

Let’s see the process flow,


  • The process starts with the creation of purchase order at Tier 2 system and the demand flows to Tier 1 system via API to trigger automatic creation of sales order at Tier 1 and sends back the purchase order confirmation to Tier 2 system. Also, the sales order number will be updated in the purchase order document at Tier 2.
  • Once the sales order created in Tier 1, production planner perform the MRP run to generate the planned order against the customer sales requirement. Followed by that planned order will be converted to Production order to proceed with the production activities.
  • Now, Tier 2 system can access the MRP Results View app to check the status of production planning by entering the material number/sales order/MRP Element category/plant and it displays the list of replenishment elements along with stock availability for the given material/sales order number using which Tier 2 entity can act proactively to fulfil the customer requirement on time without any delay.

Figure1: MRP Visibility Report at Subsidiary


Let’s see here the activities at Tier 1 system which receives procurement request for the product as dependent demand from Tier 2 system where customer order is received.

  • Tier 2 system receives the demand from external customer and creates customer sales order manually. Planner performs the MRP run which generates Procurement proposals at Tier 2. These procurement proposals will flow as demand to the Tier 1 system, and the production planning process follows as said above.
  • Now, Tier 1 system can access the MRP Results view app by entering the material number/MRP Element category/plant and it displays the list of demands with the required stock for the given material using which Tier 1 entity can act proactively by planning for the underlying components required to produce the assembly on time.

Figure2: MRP Visibility Report at Headquarters

How to Build the MRP Planning Analytical app?


Communication scenario and API services

a communication arrangement is created to set up direct data communication between SAP S/4HANA Cloud, public edition and SAP S/4HANA on-premises/ SAP S/4HANA Cloud, private edition. The communication arrangement defines which system (communication system) and which user can call which APIs (communication scenarios).

The below service in enabled at the Tier 1 system to read the MRP results from Tier 1 and display the same at the Tier 2 system.


Figure3: API Service Enabled at Headquarters

The Below communication arrangement is enabled on Tier 2 to get the MRP data and display on Tier 1


Figure4: API Service at SAP S/4HANA Cloud, Public Edition

 Cloud connector

To enable communication between SAP S/4HANA Cloud, public edition and SAP S/4HANA on-premises/ SAP S/4HANA Cloud, Private edition using Remote Function Calls (RFC) and HTTP calls, you need to enable Cloud Connector in your SAP S/4HANA Cloud environment.

SAP BTP – Subscribed with SAP Business Application Studio

Access to BTP and subscribe the below service.


Figure5: SAP BTP Subscribed with SAP Business Application Studio

SAP Business Application Studio

  • Dev space is created in Business Application Studio (BAS)


Figure6: Dev Space created in SAP BAS

  • Connect to External Data Sources with SAP Business Application Studio. In this case we have connected to the Tier 1 which is SAP S/4HANA/SAP S/4HANA Cloud, Private Edition to Tier 2 which is SAP S/4HANA Cloud, public edition


Figure7: External Data Source Connection in SAP BAS

For more details on how to connect to external source system with BAS, please refer to the blogpost

Build and Deploy SAP Fiori App for MRP Visibility Report

Please follow the steps in the below blog to create Project and deploy the Fiori application using BAS

The above link explains on building Fiori app for sales order view and hence it uses sales order service while creating project.

To build MRP Visibility app, assign the API service ‘ZAPI_MRP_MATERIALS_SRV_01’ that was created as pre-requisite when creating project under Data Source and Service selection step.


Figure8: Assign API Service in SAP BAS

While defining properties for Smart Table, select the Entity Set ‘/SupplyDemandItems’.


Figure9: Entity Set Assignment in SAP BAS

Binding Fields in the Smart Table


Figure10: Binding Fields for Smart Table in SAP BAS

Once the Fiori application is deployed, same can be accessed from two-tier systems.

Fiori Tile added


Figure11: Fiori Tile added in SAP S/4HANA Cloud, Public Edition

MRP results view – It displays the Production document created against the sales order (MRP Planning Segment) and the stock availability for the customer requirement.


Figure12: Material Requirement Planning Visibility Report

Hence by using SAP Business Application Studio, Fiori application for the Material Requirement Planning Visibility in two-tier ERP can be built and deployed in two-tier systems.

Happy Learning!!

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo CHANDRASHEKHAR TIPRE

      Very well explained scenario with steps to set up this scenario Thanks!!

      Author's profile photo Prabha Subbulakshmi Arumugam
      Prabha Subbulakshmi Arumugam
      Blog Post Author

      Thank you Sir!!

      Author's profile photo Himanshu Goel
      Himanshu Goel

      great post!