Symptom
An error occurs when launching app like Supplier Invoice List and the app terminates with a dump. Error message: "Company code currency not found for entity 'YY1_ABC'."
Environment
SAP S/4HANA Cloud Public Edition
Cause
The YY1_ABC is a custom CDS view used as Value Help View for custom field in related business context
In the custom CDS view YY1_ABC, the semantic option of element XXX is set as "Hidden"
A warning message shows in the custom CDS view as "Element XXX cannot be used in annotation SEMANTICS.AMOUNT.CURRENCYCODE because of annotation CONSUMPTION.HIDDEN.".
Resolution
Set the option to "OFF" and republish the custom CDS view.
Keywords
supplier invoice list app, dump, company code currency not found, YY1_DownpaymentList1, custom cds view, value help, CONSUMPTION.HIDDEN, fiori, invoice list, supplier invoice, s/4hana cloud public edition, invoice management , KBA , BC-SRV-APS-EXT-FLD , Custom Fields , Problem
SAP Knowledge Base Article - Public