Hi,
While posting I am passing below payload for the Intercompany stock transfer order in postman.
{ "PurchaseOrderType": "NB", "PurchaseOrderDate": "2023-08-18", "ValidityStartDate": "2023-08-18", "ValidityEndDate": "2023-08-20", "CompanyCode": "1000", "PurchasingOrganization": "1000", "PurchasingGroup": "111", "Supplier": "P3101", "_PurchaseOrderItem": [ { "PurchaseOrderItem": "10", "PurchaseOrderCategory": "F", "DocumentCurrency": "INR", "PurchasingDocumentDeletionCode": "", "MaterialGroup": "CAPSULE", "Material": "11000004", "MaterialType": "ZDRG", "SupplierMaterialNumber": "", "SupplierSubrange": "", "ManufacturerPartNmbr": "", "Manufacturer": "", "ManufacturerMaterial": "11000004", "PurchaseOrderItemText": "MACZEAL CAP", "ProductTypeCode": "1", "CompanyCode": "1000", "Plant": "1101", "ManualDeliveryAddressID": "", "ReferenceDeliveryAddressID": "", "Customer": "", "Subcontractor": "", "SupplierIsSubcontractor": false, "CrossPlantConfigurableProduct": "", "ArticleCategory": "", "PlndOrderReplnmtElmntType": "", "ProductPurchasePointsQtyUnit": "", "ProductPurchasePointsQty": 0.000, "StorageLocation": "", "PurchaseOrderQuantityUnit": "CAP", "OrderItemQtyToBaseQtyNmrtr": 1, "OrderItemQtyToBaseQtyDnmntr": 1, "NetPriceQuantity": 1, "IsCompletelyDelivered": true, "IsFinallyInvoiced": false, "GoodsReceiptIsExpected": true, "InvoiceIsExpected": true, "IsOrderAcknRqd": false, "InvoiceIsGoodsReceiptBased": true, "PurchaseContractItem": "0", "PurchaseContract": "", "PurchaseRequisition": "", "RequirementTracking": "", "PurchaseRequisitionItem": "0", "SupplierQuotation": "", "SupplierQuotationItem": "0", "EvaldRcptSettlmtIsAllowed": false, "UnlimitedOverdeliveryIsAllowed": false, "OverdelivTolrtdLmtRatioInPct": 0.0, "UnderdelivTolrtdLmtRatioInPct": 0.0, "RequisitionerName": "", "PlannedDeliveryDurationInDays": 7, "GoodsReceiptDurationInDays": 0, "PartialDeliveryIsAllowed": "", "ConsumptionPosting": "", "ServicePerformer": "", "ServicePackage": "0", "BaseUnit": "CAP", "PurchaseOrderItemCategory": "0", "ProfitCenter": "11010000", "OrderPriceUnit": "CAP", "ItemVolumeUnit": "", "ItemWeightUnit": "KG", "MultipleAcctAssgmtDistribution": "", "PartialInvoiceDistribution": "", "PricingDateControl": "", "IsStatisticalItem": false, "PurchasingParentItem": "0", "GoodsReceiptLatestCreationDate": null, "IsReturnsItem": false, "PurchasingOrderReason": "", "IncotermsClassification": "", "IncotermsTransferLocation": "", "IncotermsLocation1": "", "IncotermsLocation2": "", "PriorSupplier": "", "InternationalArticleNumber": "", "IntrastatServiceCode": "", "CommodityCode": "", "MaterialFreightGroup": "", "DiscountInKindEligibility": "", "PurgItemIsBlockedForDelivery": false, "SupplierConfirmationControlKey": "", "PurgDocOrderAcknNumber": "", "PriceIsToBePrinted": true, "AccountAssignmentCategory": "", "PurchasingInfoRecord": "", "NetAmount": 101.00, "GrossAmount": 0.00, "EffectiveAmount": 0.00, "Subtotal1Amount": 0.00, "Subtotal2Amount": 0.00, "Subtotal3Amount": 0.00, "Subtotal4Amount": 0.00, "Subtotal5Amount": 0.00, "Subtotal6Amount": 0.00, "OrderQuantity": 11, "NetPriceAmount": 101.00, "ItemVolume": 0.000, "ItemGrossWeight": 1.000, "ItemNetWeight": 1.000, "OrderPriceUnitToOrderUnitNmrtr": 1, "OrdPriceUnitToOrderUnitDnmntr": 1, "GoodsReceiptIsNonValuated": false, "TaxCode": "", "TaxJurisdiction": "", "TaxCountry": "", "TaxDeterminationDate": "2023-08-04", "ShippingInstruction": "", "NonDeductibleInputTaxAmount": 0.00, "StockType": "", "ValuationType": "", "ValuationCategory": "", "ItemIsRejectedBySupplier": false, "PurgDocPriceDate": "2023-07-28", "PurchasingInfoRecordUpdateCode": "", "InventorySpecialStockType": "", "DeliveryDocumentType": "NLCC", "IssuingStorageLocation": "", "AllocationTable": "", "AllocationTableItem": "0", "RetailPromotion": "", "PurgConfigurableItemNumber": "", "PurgDocAggrgdSubitemCategory": "", "PurgExternalSortNumber": "0", "DownPaymentType": "", "DownPaymentPercentageOfTotAmt": 0.00, "DownPaymentAmount": 0.00, "DownPaymentDueDate": null, "ExpectedOverallLimitAmount": 0.00, "OverallLimitAmount": 0.00, "PurContractForOverallLimit": "", "PurgProdCmplncSupplierStatus": "", "PurgProductMarketabilityStatus": "", "PurgSafetyDataSheetStatus": "", "PurgProdCmplncDngrsGoodsStatus": "", "BR_MaterialOrigin": "", "BR_MaterialUsage": "", "BR_CFOPCategory": "", "BR_NCM": "30049099", "ConsumptionTaxCtrlCode": "30049099", "BR_IsProducedInHouse": false, "ProductSeasonYear": "", "ProductSeason": "", "ProductCollection": "", "ProductTheme": "", "SeasonCompletenessStatus": "", "ShippingGroupRule": "", "ShippingGroupNumber": "", "ProductCharacteristic1": "", "ProductCharacteristic2": "", "ProductCharacteristic3": "", "PurgDocSubitemCategory": "", "DiversionStatus": "", "ReferenceDocumentNumber": "", "ReferenceDocumentItem": "0", "PurchaseOrderReferenceType": "", "ItemHasValueAddedService": false, "ValAddedSrvcParentItmNumber": "0", "StockSegment": "" } ]}and i am getting below error log.{ "error": { "code": "MEPO/043", "message": "Please enter an order quantity", "@SAP__common.ExceptionCategory": "Provider_Application_Error", "details": [ { "code": "MEPO/001", "message": "Purchase order item 00010 still contains faulty schedule lines", "target": "_PurchaseOrderItem(PurchaseOrder='',PurchaseOrderItem='10')", "@SAP__common.Severity": "error", "@SAP__common.numericSeverity": 4 } ], "innererror": { "ErrorDetails": { "@SAP__common.Application": { "ComponentId": "MM-PUR-PO", "ServiceRepository": "SRVD_A2X", "ServiceId": "API_PURCHASEORDER_2", "ServiceVersion": "0001" }, "@SAP__common.TransactionId": "E343944579390240E0064DF32D7B6568", "@SAP__common.Timestamp": "20230818111642.105923", "@SAP__common.ErrorResolution": { "Analysis": "Use ADT feed reader \"SAP Gateway Error Log\" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details", "Note": "See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)" } } } }}Please provide solution for this.