SAP Knowledge Base Article - Public

3014997 - Error "Document item AA not fulfilled; document is inconsistent" When Trying to Complete Execution for Item via Webservice

Symptom

When creating a Sales Order via E-Shop, you want to Complete Execution for Item in one call, and the error is faced: Document item AA not fulfilled; document is inconsistent. (AA is the Line Item ID).

Environment

SAP Business ByDesign

Reproducing the Issue

You are passing the following tag via payload when creating the Sales Order:

 <FinishFulfilmentProcessingOfAllItems>true</FinishFulfilmentProcessingOfAllItems>

As response, the system shows an error: Document item AA not fulfilled; document is inconsistent. The fulfillment does not get Completed as expected.

Cause

  • This error happens because the Confirm Execution was not done;
  • The Scoping Question: "Would you like your customers to confirm sales orders that originate from an E-Shop with information calculated in the SAP solution?" is active
  • The Scoping Question: "Would you like your employees to control the release of sales orders that originate from an E-Shop in order to initiate order processing?" is active.
  • Approval Process should not be scoped.

Resolution

Ensure that the Approval Process for Sales Orders is not in scope

Ensure that the following Scoping Questions are not active:

  • Would you like your customers to confirm sales orders that originate from an E-Shop with information calculated in the SAP solution?
  • Would you like your employees to control the release of sales orders that originate from an E-Shop in order to initiate order processing?

When creating the Sales Order via the E-Shop, and you want to Complete Execution, the following tags should be passed:

<ReleaseAllItemsToExecution>true</ReleaseAllItemsToExecution>

<FinishFulfilmentProcessingOfAllItems>true</FinishFulfilmentProcessingOfAllItems>

Keywords

Sales Order, Complete Execution, Confirm Execution, Webservice; execution; fulfillment; release; scoping; ManageSalesOrderIn; web service; , KBA , SRD-CRM-ORD , Orders & Contracts , How To

Product

SAP Business ByDesign all versions