SAP Knowledge Base Article - Public

2639826 - Extension Field Value is Not Retrieved When Querying Sales Orders via Webservice

Symptom

You are not able to Query the value of an Extension Field in Sales Order using the QuerySalesOrder Webservice.

Environment

SAP Business ByDesign.

Reproducing the Issue

In SOAP UI or any other API testing tool, when retrieving Sales Order information via QuerySalesOrder webservice, you notice that the XML response does not include some or all of your Extension Fields.

Cause

This is due to the Extension Fields not being configured to be added to the webservice QuerySalesOrderIn.

To check this, follow these steps:

  1. Go to the Sales Orders work center.
  2. Go to the Sales Orders view.
  3. Open any Sales Order.
  4. Hover over Key User Settings and click Start Adaptation Mode.
  5. In the top-right of the screen, click on the button with your profile picture.
  6. Go into Adaptation Mode.
  7. In the side bar, scroll down until you see a plus ('+') sign.
  8. Click on it and select Extension Fields.
  9. Highlight the extension field that is not being shown in the webservice.
  10. Click on Further Usage.
  11. Go to the tab Services.

You notice that the field is not marked as Field Available for Service: QuerySalesOrderIn (Communication Direction: Outbound).

Resolution

You need to add this field to the QuerySalesOrderIn webservice.

To do so, follow these steps in the screen reached on step 11 of the Cause section:

  1. In the list, highlight the line for Service: QuerySalesOrderIn (Communication Direction: Outbound).
  2. Click on the Add Field button.
  3. Close the Further Usage screen.

See Also

2789125 - Extension Field Value is Not Retrieved When Querying Sales Orders via Webservice Even Though the Field is Marked as Available for Service

Keywords

Sales Order ; Extension Field ; QuerySalesOrderIn ; Webservice , KBA , AP-SLO-SO , Sales Order , How To

Product

SAP Business ByDesign all versions