SAP Knowledge Base Article - Public

2530105 - Country Default in Account Creation

Symptom

You want to have a default value in the Country field of Account.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Go to the Customers Work Center.
  2. Go to the Accounts view.
  3. Click New.

Result: The Country field in the Account Quick Create window is pre-populated with a country, for example IE - Ireland.

You expect the field to be empty. Clearing cache does not remove the default. 

Cause

The system remembers the country you last used when creating the object. This is the expected system behaviour.

It is not possible to set a default value for the field Country in Account/Lead via Workflow rule or a Code List Restriction.

Resolution

  1. Setting default values for fields can be done using PDI/SDK.
  2. In Read scenarios, onDataLoad can be used. In create scenarios, afterModify could be used. This work would be carried out with Cloud Application Studio. http://help.sap.com/studio_cloud

Keywords

country, account, create, default , KBA , LOD-CRM-ACC , Account , How To

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions