Skip to Content
0
Aug 07, 2023 at 08:55 AM

Is there any API to delete production order components

48 Views

Hi Team,

As per business requirement, I need to delete the Production Order components/Line items by using API.

Iam using below API to delete the (Production Order components/Line items are created in S4 Hana cloud).

/sap/opu/odata/sap/API_PRODUCTION_ORDER_2_SRV/A_ProductionOrderComponent_4(Reservation='51567',ReservationItem='11',ReservationRecordType='')

But it is throwing below error.

Deleting operations are disabled for entity 'API_PRODUCTION_ORDER_2_A_PRODUCTIONORDERCOMPONENT.

As per API documentation, The Production Order line item need to be delete by using above API, but its not allowing me to delete from Postman.

I have checked Production order related APIS in SAP API HUB, Except this API, remaining APIS wont have delete operation.

Is above API is restricted to delete the PO components/line items?

Is there any other API to delete the PO line items?

Thanks,

Madhava