SAP Knowledge Base Article - Public

3660056 - Error Occurs When Creating Production Bill of Operations Using Web Service: Manageproductionbillofoperationsin

Symptom

Despite the SOAP XML request containing the operation/activity node, the created Production Bill of Operations (BoO) does not include any operations or activities, and following errors occur when creating a BoO using the web service ManageProductionBillofOperationsIn.

Bill of operations XXX not consistent
-----> Activity of category Produce below operation XXX missing
-----> Main resource missing for operation XXX
-----> Fixed or variable duration missing at alternative 1 below pln.oper END

*XXX represent for Bill of operations ID.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Open the SOAP UI and load the WSDL file (Manage_Production_Bill_of_Operations_Test.wsdl).
  2. Create a new request under "MaintainProductionBillOfOperations" and copy the SOAP request payload.
  3. Enter the credentials.
  4. Execute the request by clicking the "Run" button.
  5. Log in to SAP ByDesign and navigate to Planning and Production Master Data work center - Production Bill of Operations view.
  6. Search for the newly created BoO ID.
  7. Click on the "Edit" button.
  8. Under the "Structure" tab, observe that no operation/activity node is available, even though it is present in the SOAP request payload.

Cause

BoO IDs containing only numerical values do not create operations and related activities when using the web service.

The system requires at least one second in the duration field (variable or fixed) for the Production Model to be consistent. If this is not provided, the system does not allow the release of the Production Model.

Resolution

Use alphanumeric values for the BoO ID when creating it through the web service. For example, add a letter to the ID (e.g., "A1234567"). And also ensure that the request payload includes at least one second in the duration field (variable or fixed).

Keywords

BoO, production bill of operations, web service, ManageProductionBillofOperationsIn, SOAP API, operations missing, activities missing, alphanumeric ID, duration field, fixed duration, variable duration , KBA , AP-PMM-PBO , Production Bill of Operations , Problem

Product

SAP Business ByDesign all versions