Symptom
You'd like to know the differences between OData V2 API API_PRODUCTION_ORDER_2_SRV and OData V4 API API_PRODUCTIONORDER.
Environment
SAP S/4HANA Cloud Public Edition
Resolution
Compared to OData V2 API API_PRODUCTION_ORDER_2_SRV, the OData V4 API API_PRODUCTIONORDER has the following additional features, for example:
- ProductionOrderCapacity entity
- Variant Configuration entities
- PostingRule entity
- Create operation for ProductionOrderOperation entity
- Create operation for ProductionOrderComponent entity
- CheckMaterialAvailability action
- PrintProductionOrder action
- GetMissingParts function
The following are constraints regarding entities applied to API_PRODUCTIONORDER service:
- Variant Configuration: This service can only read variant configuration data, but not create or change it.
- System Status: This service updates the system status. However, it doesn't track status changes using a specific entity.
- User Status: Not supported by this service.
- Production Resource/Tool: Not supported by this service.
- Suboperations: Not supported by this service.
- Long Text: Not supported by this service.
- Manufacturing Order Category: This service only works for production orders(category 10), hence that field is superfluous.
- ProductionUnit: Not supported by this service, the language dependent field should not be in an API.
See Also
- Help Portal: Production Order (Version 2) (OData V2) | Help Portal.
- Help Portal: Production Order (OData V4) | Help Portal.
- Business Accelerator Hub: Production Order (Version 2) (OData V2) | Business Accelerator Hub
- Business Accelerator Hub: Production Order (OData V4) | Business Accelerator Hub
Keywords
odata v4, production order, api_productionorder, api_production_order_2_srv, system status, user status, prt, production resource tool , KBA , PP-SFC-ES-2CL , Enterprise Services in Shop Floor Control (Public Cloud) , How To
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public