SAP Knowledge Base Article - Public

3250043 - Mandatory Fields do not Raise Errors When Creating Accounts via Webservice

Symptom

When creating an account in the system using a webservice, the request does not raise any errors when mandatory fields are not filled.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Download the account webservice WSDL from Application and User Management -> Service Explorer.
  2. Open the WSDL in a SOAP client, and fulfill the request with the account data.
  3. Execute the request to create the account.
  4. After the execution, you can see that no error was raised, and the new record was created.

Cause

The account is being created with status "In Preparation". In this status, the system allows for saving even with some mandatory fields not completed (for example, mandatory fields from the Address section of the account).

If the status of the account is passed through the webservice request as "Active", the respective errors related to the missing fields will be reported.

Resolution

System works as expected

Keywords

service interface, SOAP, manage accounts, maintainBundle , KBA , SRD-CRM-ACC , Account Management , How To

Product

SAP Business ByDesign all versions