SAP Knowledge Base Article - Public

3313159 - Updating Extension Field Production Order Via Webservice Is Not Allowed.

Symptom

User is updating extension field on production order via webservice: ManageProductionOrderIn. However, only updating an extension field is not allowed using webservice:ManageProductionOrderIn.

Environment

SAP Business ByDesign

Reproducing the Issue

Webservice is created to update only Extension Fields and no standard fields are present in the XML.

Cause

There is no logic in the backend to update only an Extension Field on Production Order via webservice.

Resolution

Pre-checks :

  1. Check the request xml if only the Extension field is being passed on.

Steps to Enhance the Request xml of WS:

  • WS:
    • Interface Name: ManageProductionOrderIn
    • Method: MAINTAIN_BUNDLE_V1
  1. In the request xml, pass production order uuid and existing priority code in the same XML along with Production Order ID and Extension field value.
  2. The tags to pass the Production Order ID and Priority code are:
  • <ProductionOrderUUID>  </ProductionOrderUUID>
  • <PriorityCode> </PriorityCode>
  1. For getting these 2 tags, you can use another webservice ReadProductionOrder to get the Production Order details by ID
    1. Interface Name: ManageProductionOrderIn
    2. Method: READ_PROD_ORDER

 

Post-Checks:

After passing the mentioned fields along with extension field, check if the extension field value has been updated.

Keywords

Production Order, ManageProductionOrderIn, Extension Field, webservice , KBA , manageproductionorderin , production order , extension field , webservice , AP-PE-ORD , Production Order , Problem

Product

SAP Business ByDesign all versions