The target of the composition association &1 must be a consumption view.
Message type: E = Error
Message class: SADL_GW_DT_CDS - Messages CDS Checks
Message number: 039
Message text: The target of the composition association &1 must be a consumption view.
What causes this issue?
Within a transactional consumption CDS view, it is only possible to
define a composition association to an item view that is also a
transactional consumption CDS view. The item view may not be a
transactional CDS view.
System Response
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
How to fix this error?
Create a transactional consumption CDS view based on the transactional
view that can be used for a composition association within the
transactional consumption CDS view.
Procedure for System Administrators
Contact the corresponding developer of the CDS view to correct the
error.
Error message extract from SAP system. Copyright SAP SE.
Related Error Messages
SADL_GW_DT_CDS038 Key fields must be identical to key fields in transactional CDS view.
SADL_GW_DT_CDS037 Syntax of CDS view &1 is not supported. Correct the syntax.
SADL_GW_DT_CDS040 Composition association &1 must not be used with a filter.
SADL_GW_DT_CDS041 Specialization &1 of composition association can only have &2 conditions.