cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to access Code List Description of Custom Field in S4HANA Cloud (via ADT)

AtharitA
Discoverer
0 Kudos
348

Hi All,

We have 1 custom field created from code list ( with description ) and we would like to access both code list and description in other apps by using CDS View, but with no luck, the system show error not permitted to use the field description. ( field YY1_LIST in business context Sales Order Header)

We'd tried to get the description by creating ZCDS via ADT

- get the associated value from standard CDS view : ( get value from association _YY1_LIST_SRH._Text[Language='E'].Description )

> Not permitted

- directly select from generated CDS view from custom field ( select from YY1_LIST_V, YY1_LIST_W )

> Not permitted

Has anyone experienced these problems so far?

Regards,

Atharit

Accepted Solutions (0)

Answers (1)

Answers (1)

Harish_Mangtani
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello, 
I am not sure, if this help, but maybe you can roughly have a look at the following steps:

1. First, make sure that the user has the necessary authorizations to access the custom field and its description in the CDS view.

2. Check if the custom field and its description are properly exposed in the CDS view. The code list field should be properly mapped and exposed in the CDS view definition.

3. Ensure that the CDS view is activated and properly released for use in other apps.

4. If the standard association is not allowed to access the description, you may need to create a custom association in the CDS view that links the custom field to its description.

5. Check if there are any restrictions or configuration settings that prevent access to the custom field description in the CDS view. Sometimes, there might be specific settings or restrictions at the field level that prevent its usage in other apps.

Let me know, if this helps, else I can also check further. 
Thank you.