SAP Knowledge Base Article - Public

2530105 - Country Default Required in Account Creation

Symptom

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

Reproducing the Issue

  1. Go to Customers Work Center.
  2. Go to Accounts Facet and click on New.
  3. The Country field in the Account Quick Create window is blank.
  4. It is not possible to auto-fill the Country field with a default value - eg. US, IN.

Cause

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

Resolution

  1. However 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

KBA , SRD-CC , Cross Components , How To

Product

SAP Hybris Cloud for Customer 1708 ; SAP LE APPL.PLATFORM 1708 ; SAP LE APPL.PLATFORM 1711