SAP Knowledge Base Article - Public

2967767 - Can not get field description in custom logic

Symptom

You are using application "Custom Fields and Logic"

You have created a custom field type Code List

You have created a custom logic.

You want to access the Code Description of the custom field from the custom logic

Environment

S/4HANA Cloud

Cause

The table include does not contain the description field, but only the code value.

Resolution

There are two generated CDS Views when creating a custom field of type code list:

  • CDS Code Value View   YY1_XXX_V
  • CDS Code Description View   YY1_XXX_W

See Also

Custom Fields and Logic

Keywords

custom field, code list, custom logic, cds code description, cds code value, code value, custom fields and logic , KBA , BC-SRV-APS-EXT-FLD , Custom Fields , Problem

Product

SAP S/4HANA Cloud 2002 ; SAP S/4HANA Cloud 2005 ; SAP S/4HANA Cloud 2008