Defining Fair Share in Order-Based Optimization

Objective

After completing this lesson, you will be able to describe features and capabilities of Fair Share in Order-Based Optimization.

Fair Share in Order-Based Optimization

Fair Share for Demands lets you partially fulfill independent demands in a fair manner in the case of supply shortage.

Fair Share for Inventory lets you evenly distribute inventory in your supply chain network to partially fulfill safety stock and maximum stock levels. If all maximum stock levels are exceeded, excess stock is given in equal shares to stocking locations.

The figure describes the Fair Share in Order-Based Optimization.
The figure describes the Fair Share in Order-Based Optimization (Demand and Inventory).

Use Deployment Optimizer Run Push and Pull Scenario Without Fair Share

Business Example

In this exercise, you will first complete several initial steps to get the sense of master data parameters and other setups that are involved. You will then create a distribution plan by running the deployment optimizer with push and pull scenario with ATD and non-ATD supply without fair share. You then check that generated quantities for both are in accordance with expectations.

Note

Optimizer results may not be exactly as shown in the exercises, but they will be similar.

Prerequisites

Master data has been created in SAP S/4HANA and verified in SAP IBP.

The planning area was assigned to SAP IBP for OBP and the order-based planning settings were maintained.

The available-to-deploy profiles and cost rules are created.

You will use TXX_PHONE_C with the following network:

The figure shows a screenshot for the Supply Chain for TXX_PHONE_C from FA72.

The figure shows a screenshot for the Supply Chain for TXX_PHONE_C from FA71.

In the General Planner Group, choose the Planner Workspaces tile.

Select your workspace IBP_800 ## and press the Workbook icon in the upper left corner of the Planner Workspaces screen. Choose your workbook Distribution ## and choose Go.

Choose the DC ## component and select in the filter section, your finished good TXX_PHONE_Cand the DC locations in your network DC71, DC72, DC73, L721, L722.

Choose Apply.

Choose the Transport ## component and select in the filter section, your finished good TXX_PHONE_C, the Ship-to Locations in your network DC71, DC72, DC73, L721, L722, and the Locations FA71, FA72.

Choose Apply.

Choose the Plant ## component and select in the filter section, your finished good TXX_PHONE_C and the Ship-to Locations in your network FA71, FA72.

Steps

  1. Create supply by creating initial stock.

    1. Log into the SAP S/4HANA system and enter transaction MIGO. You will create stock in the factory for the finished material.

    2. In the upper left side of the screen, in the two drop-down lists, choose Goods Receipt and Other. Check that movement type is 501 (Receipt w/o purchase order into unrestricted-use stock).

      The figure shows a screenshot for the creation of a Goods Receipt.
    3. To add lines, choose Add and fill the tabs as follows:

      • Material tab: TXX_PHONE_C.
      • Quantity tab: 100.
      • Where tab: Plant FA72 and Storage Location 0001.
      • Partner tab: SUPPLIER73 (partner tab appears when you fill the first 3 tabs and choose enter)
    4. Choose Post.

      Note

      You will see stock appearing in transaction MD04.
  2. Create supply by creating a purchase order.

    1. Log into the SAP S/4HANA system and enter transaction ME21N. You will create purchase orders in the plant for the finished material.

    2. Enter Supplier73.

    3. Go to the Org Data tab and enter the following data:

      • Purch. Org.: 0IBP
      • Purch. Group: 001
    4. Choose Item Overview and on a new row enter the following data:

      • Material tab: TXX_PHONE_C
      • PO Quantity: 60
      • Deliv. Date: Today + 15 days
      • Plant: FA72
    5. Choose Save.

      Note

      Use transaction MD04 to check that a purchase order appears.
  3. Create supply by creating a purchase requisition.

    1. Log into the SAP S/4HANA system and enter transaction ME51N. You will create purchase requisition in the plant for the finished material.

    2. Choose Item Overview and on a new row enter the following data:

      • Material tab: TXX_PHONE_C
      • Quantity: 50
      • Deliv. Date: Today + 22 days
      • Plant: FA72
    3. Choose Save.

      Note

      Use transaction MD04 to check that a purchase requisition appears.
  4. Create a demand element.

    1. Log into the SAP S/4HANA system and enter transaction VA01. You will create sales orders in the regional DC for the finished material.

    2. Set Order Type to OR.

    3. Set Sales Organization to 0IBP.

    4. Set Distribution Channel to 10.

    5. Set Division to 00.

    6. Set Sales Office and Sales Group to 100.

    7. In the Sold-To party and Ship-To party field, enter CUST11.

    8. In the Cust Reference field, enter some text (it does not matter what text you enter, but it must be filled).

    9. In the Req. Deliv. Date field, enter the date four weeks from now.

    10. Choose Items Table and in a new row enter the following data:

      • Material tab: TXX_PHONE_C
      • Order Quantity: 200
      • Plant: L722
    11. Choose Save.

      Note

      Use transaction MD04 to check that a sales order appears.
  5. When the real-time integration is complete, perform the checks on the data.

    1. Log on to the SAP Integrated Business Planning web user interface and open the Projected Stock app by choosing the corresponding tile on the launchpad.

    2. In the General Response Planner Group, open the SAP Fiori app Projected Stock.

    3. In the Projected Stock app, select your TXX_PHONE_C and check that you can see the following entries in the items table (double-click the location product line to open the table):

      • for TXX_PHONE_C@FA72, ’Stock’.
      • for TXX_PHONE_C@FA72, ’Purchase Requisition’.
      • for TXX_PHONE_C@FA72, ’Purchase Order’.
      • for TXX_PHONE_C@L722, ‘Sales Order’.

        Note

        All supply elements and the sales order should appear in SAP IBP.
  6. Create a distribution plan, by executing a job from the template, ZOrder-Based Planning Deployment Run OPT01 PWS.

    1. In the General Planner Group, choose the Planner Workspaces tile.

    2. Select your workspace IBP_800 ## .

    3. In your workspace, choose Jobs -> Run Application Job.

    4. In the Job Template field, select ZOrder-Based Planning Deployment Run OPT01 PWS.

    5. Choose Base Version.

    6. Choose TXX_PHONE C , as a planning filter.

    7. In the Scheduling Information field, accept Start Immediately.

    8. In the Job Template Parameters section, check that the values from the table below are populated.

      FieldValue
      Planning AlgorithmOPTIMIZER
      Available to Deploy ProfileSTOCK_PROD
      Planning Run ProfilePRP_OPT_01
    9. Choose Schedule and Continue to start a deployment run. It will create a distribution plan by running an Order-Based Planning - Deployment Run process, using the profiles created earlier.

    10. Check that the status of the job shows as Finished.

    11. Verify the results of the deployment run in the SAP Fiori app, Projected Stock.

    12. In the General Response Planner Group, open the SAP Fiori app Projected Stock.

    13. In the Projected Stock app, select your TXX_PHONE_C and check the entries.

    14. For Push Scenario from plant FA72 to DCs, check that you can see the following:

      All the quantity from FA72 has been moved with deployment and non-deployment STRs. The supply is pushed to the DCs (DC72 and/or DC73).

    15. For Pull Scenario between DC72 and L722, check that you can see the following:

      The sales order in L722 is fully confirmed, the supply is received just before the demand requested date. The sales order confirmation can be seen in the View Confirmations app.

    16. (Optional, if you want to check the results using the Planner Workspaces app). For the following key figures in your component Projected Stock ##, check that the values are calculated correctly and that the quantities match the results displayed in the Projected Stock app:

      • Relevant key figures at the DC are the distribution receipt key figures

      • Relevant key figures at the plant side are the distribution demand key figures

      • Relevant key figures on the lane are both distribution demand and receipt key figures

  7. When the real-time integration transfers the data, check the STRs in SAP S/4HANA.

    Check the outbound integration result on the SAP S/4 HANA side. The order number of MRP elements matches the number in the Projected Stock app.

    1. Go to transaction MD04 and enter TXX_PHONE_C and L722.

      Result

      Two new lines appear with MRP element PurRqs.

(Optional) Use Deployment Optimizer Run Simple Pull and Push Scenario with Fair Share

Prerequisites

This exercise is based on the same network and data set that was used in the preceding exercise, Use Deployment Optimizer Run Push and Pull Scenario Without Fair Share.

Steps

  1. Maintain the necessary fair-share segments for TXX_PHONE_C in the Location-Product Master Data Type (Z7FLOCATIONPRODUCT), using the Manage Master Data app. In the General Planner Group, choose the Manage Master Data tile and use the following data for the segments and locations:

    Type of StockLocationSegment
    Fair-Share Safety Stock SegmentFA722
     DC720
     DC730
     L7211
     L7221
    Fair-Share Maximum Stock SegmentFA722
     DC720
     DC730
     L7211
     L7221
    Fair-Share Excess Stock SegmentFA721
     DC720
     DC730
     L7211
     L7221
  2. Create supply by creating initial stock.

    1. Log into the SAP S/4HANA system and enter transaction MIGO. You will create stock in the factory for the finished material.

    2. In the upper left-hand side of the screen, in the two drop-down lists, choose Goods Receipt and Other. Check that movement type is 501 (Receipt w/o purchase order into unrestricted-use stock).

      The figure shows a screenshot for the creation of a Goods Receipt.
    3. To add lines, choose Add and fill the tabs as follows:

      • Material tab: TXX_PHONE_C
      • Quantity tab: 750
      • Where tab: plant FA72, storage location 0001
      • Partner tab: SUPPLIER73 (the partner tab appears when you fill the first three tabs and hit the Enter key)
    4. Choose the Post button.

  3. Create a demand element.

    1. Log into the SAP ERP system and enter transaction VA01. You will create sales orders in the regional DC for the finished material.

    2. In the Order Type field, enter OR.

    3. For the Organizational Data settings, refer to Step 1 of Exercise 1.

    4. In the Sold-To party and Ship-To party fields, enter CUST11.

    5. In the Cust Reference field, enter some text (it doesn't matter what text you enter, but it must be filled).

    6. In the Req. Deliv. Date field, enter a date four weeks from now.

    7. Choose Items Table and in a new row enter the following data:

      • Material tab: TXX_PHONE_C
      • Order Quantity: 200
      • Plant: L722
    8. Choose Save.

      Note

      Use transaction MD04 to check that a sales order appears.
  4. When the real-time integration transfers the data, perform checks on the data using SAP IBP.

    1. In the Fiori App Projected Stock, check that you can see the following entries in the items table:

      • For TXX_PHONE_C@FA72, ’Stock’.
      • For TXX_PHONE_C@L722, ‘Sales Order’.

        Note

        All supply elements and the sales order should appear in SAP IBP.
  5. Use the workbook Distribution ## (component DC), maintain maximum stock levels by setting 1000 as the quantity of maximum stock for TXX_PHONE_C in DC72 and DC73, and 0 as the quantity for all other locations. Use the Maximum Stock key figure for all periods from today + 40 days.

    1. In the General Planner Group, choose the Planner Workspaces tile.

    2. Select your workspace IBP_800 ## and press the Workbook icon in the upper left corner of the Planner Workspaces screen. Choose your workbook Distribution ##.

    3. On the Data section on the top of the workbook, ensure the Version/Scenarios is set to Base Version and the Plan mode is selected. Choose Go.

    4. Select the component DC ##.

    5. Select Filters in the Settings section.

    6. On the Filter tab, adjust the filter as follow:

      • Product ID: TXX_PHONE_C
      • Customer Number: CUST11
      • Location ID DC72, DC73, FA72, L721, L722
    7. Choose Apply.

    8. Ensure that your workspace is in the Plan mode, and access the Maximum Stock key figure and populate the values at 1,000 for TXX_PHONE_C in DC72 and DC73 for all periods from today + 40 days.

      If the key figure "Maximum Stock" is missing, add it to your component.

    9. Maintain maximum stock levels by setting 1000 as the quantity of maximum stock for TXX_PHONE_C in DC72 and DC73 for all periods from today + 40.

    10. Maintain maximum stock levels by setting 0 as the quantity of maximum stock for TXX_PHONE_C in in all other locations for all periods from today + 40.

    11. Choose Save.

  6. Create a distribution plan by executing a template a job from the template ZOrder-Based Planning Deployment  Run OPT02 PWS.

    1. From your workspace, access Jobs → Run Application Job, and start a deployment run. It will create a distribution plan by running an Order-Based Planning - Deployment Run process,

    2. Select the following version: Base Version.

    3. Select T##_PHONE_C as a planning filter.

    4. Check that the planning run parameters against the table below.

      FieldValue
      Planning AlgorithmOPTIMIZER
      Available to Deploy ProfileATD_FIXED
      Planning Run ProfilePRP_OPT_02
    5. Select Schedule and Continue.

    6. Check that the status of the job shows as Finished.

    7. Verify the results of the deployment run in the SAP Fiori app, Projected Stock.

    8. In the General Response Planner Group, open the SAP Fiori app Projected Stock.

    9. In the Projected Stock app, select your TXX_PHONE_C and check the entries.

    10. For Push Scenario from plant FA72 to DCs, check that you can see the following:

      All 850 units from FA72 have been moved with a deployment STR, projected stock is here is 0.

    11. For Pull Scenario between DC72 and L722, check that you can see the following:

      The sales order quantity of 200 at L722 is fully confirmed, the supply is received just before the demand requested date.

    12. For Fair Share between the DCs, check that you can see the following:

      The excess supply is pushed from the factory to the DCs with respect to a fair share, at the end of the distribution freeze horizon, The 550 quantity of excess stock is fair shared between DC72 and DC73. Since DC72 and DC73 have the same stock segments, the distribution would be random.

    13. Check results in the workspace, using the Deployment workbook to validate key figure values on DC, plant, and lane level.

    14. For the following key figures, check that the values are calculated correctly and, as expected, quantities match with the results displayed in the Projected Stock app:

      • Relevant key figures at the DC are the distribution receipt key figures.

      • Relevant key figures at the plant side are the distribution demand key figures.

      • Relevant key figures on the lane are both distribution demand and receipt key figures.