Quantcast
Channel: SCN : Popular Discussions - SAP Cloud Applications Studio
Viewing all articles
Browse latest Browse all 1333

CodeList issue - Read Description

$
0
0

Hi all,

 

I'm facing a really extrange situation and I was wondering whether someone could explain to me the reason.

 

I implemented certain coding that it's responsible for reading the value of a material/product extension field and assign this value to an opportunity item when the material/product is selected. On the material level, this extension field was defined on the front-end as an code list. I access this field on the SDK by means of "References to Customer-Specifics fields" object.

 

Now my coding/solution works perfectly on the Development tenant BUT when I deploy the solution on the Test/Configuration tenant, my solution only worked for about 30 minutes .  Happily for me, I took an screenshot for my documentation after the deployment, so i have a proof it worked during certain time after the deployment.

 

Please refer to my screenshot/proof below. When I selected/added a product to the opportunity, the "Brand" and "Product Segment" information was correctly copied from the material/product into the opportunity product/item.

 

Product material issue.png

 

Now this copy functionality it's not working anymore.

 

By debugging my solution on the configuration tenant, I found out that the system fails to get/find the description of the CodeList value/key.

 

Please refer to the following screenshot:

  • The system retrieves the material/product information by means of query. As you can see, the product material have value "KOM" assigned to field "Brand" (See common node assigned to variable "MaterialCommon").
  • I request the system to get the description of the assigned value (code line 52). This result on an empty result.

 

Debug - List - Issue.png

 

Now if we check the field definition (see previous screenshot), we can confirm that there is an entry for key value "KOM".

FYI: I'm logged on the same language as the values were defined for the codelist.

 

 

could anyone explain why is this happening and how to solve my problem.

 

kind regards,

 

Andres


Viewing all articles
Browse latest Browse all 1333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>