SAP Knowledge Base Article - Public

3128732 - How to Trace the Demand Document Elements Which Corresponding to the Proposal Created by MRP

Symptom

A proposal is created by MRP. Open the Material Flow, you will find a demand document which corresponds this proposal.

You want to understand how to trace the demand document elements in SAP Cloud Application Studio(SDK).

Environment

SAP Business ByDesign

Resolution

Here are the steps to navigate to the Demand Elements from Production (Purchase) Proposal in SDK.

Case 1: For Production Proposal,

  1. From Proposal to Material Flow (BO: PlannedMaterialFlow).

        ProductionPlanningOrder -> MainMaterialOutput -> MaterialSupplyPlannedMaterialFlow...

    2. PlannedMaterialFlow.

        for DemandMaterialFlowElementTypeCode = 7 - Schedule line of a supply planning requirement

    3. From Material Flow to Customer Demand (Sales Order, Service Order, Stock Transfer Order and Project Stock Order).

        ...-> SupplyPlanningRequirementItemScheduleLine -> ToRoot -> Item -> CustomerRequirementItemReference...

        ...-> CustomerRequirementExternalRequestItem -> BaseBusinessTransactionDocumentItemReference

    4. Fields.

        BusinessTransactionDocumentReference/TypeCode (114 – Sales Order, 117 – Service Order, 814 – Stock Transfer Order, 1940 - Project Stock Order)

        BusinessTransactionDocumentReference/ID/content : <Document ID>

        BusinessTransactionDocumentReference/ItemID : <Item ID>

Case 2: For Purchase Proposal,

  1. From Proposal to Material Flow (BO: PlannedMaterialFlow).

        ProcurementPlanningOrder -> Item -> ItemScheduleLine -> MaterialSupplyPlannedMaterialFlow...

    2. PlannedMaterialFlow.

        for DemandMaterialFlowElementTypeCode = 7 - Schedule line of a supply planning requirement

    3. From Material Flow to Customer Demand (Sales Order, Service Order, Stock Transfer Order and Project Stock Order).

        ...-> SupplyPlanningRequirementItemScheduleLine -> ToRoot -> Item ->  LogisticsExecutionRequistion-Confirmation Item...

        ...-> Item -> BaseBusinessTransactionDocumentItemReference

    4. Fields.

        BusinessTransactionDocumentReference/TypeCode (114 – Sales Order, 117 – Service Order, 814 – Stock Transfer Order, 1940 - Project Stock Order)

        BusinessTransactionDocumentReference/ID/content : <Document ID>

        BusinessTransactionDocumentReference/ItemID : <Item ID>

Keywords

MRP; Proposal; SDK; Demand Element. , KBA , AP-SDM-MSD , Material Supply and Demand View , How To

Product

SAP Business ByDesign all versions