A_CustomerReturnRelatedObject

DDL: A_CUSTOMERRETURNRELATEDOBJECT Type: view_entity COMPOSITE

Header Related Object

A_CustomerReturnRelatedObject is a Composite CDS View that provides data about "Header Related Object" in SAP S/4HANA. It reads from 1 data source (I_CustomerReturnRelatedObject) and exposes 11 fields with key fields CustomerReturn, SDDocRelatedObjectSequenceNmbr. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustomerReturnRelatedObject RelatedObject from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_CustomerReturn _CustomerReturn _CustomerReturn.CustomerReturn = $projection.CustomerReturn

Annotations (12)

NameValueLevelField
EndUserText.label Header Related Object view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view
OData.entitySet.name A_CustomerReturnRelatedObject view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY CustomerReturn I_CustomerReturnRelatedObject CustomerReturn
KEY SDDocRelatedObjectSequenceNmbr I_CustomerReturnRelatedObject SDDocRelatedObjectSequenceNmbr Sequence Number
SDDocumentRelatedObjectType I_CustomerReturnRelatedObject SDDocumentRelatedObjectType Related Object Type
SDDocRelatedObjectSystem I_CustomerReturnRelatedObject SDDocRelatedObjectSystem System of Reltd Obj.
SDDocRelatedObjectReference1 I_CustomerReturnRelatedObject SDDocRelatedObjectReference1 Reltd Obj Ref
SDDocRelatedObjectReference2 I_CustomerReturnRelatedObject SDDocRelatedObjectReference2 Reltd Obj Ref
CustomerReturnType CustomerReturnType Sales Doc. Type
OrganizationDivision OrganizationDivision Org. Division
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
_CustomerReturn _CustomerReturn

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view A_CustomerReturnRelatedObject.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW A_CustomerReturnRelatedObject AS
SELECT
  RelatedObject.CustomerReturn AS CustomerReturn,
  RelatedObject.SDDocRelatedObjectSequenceNmbr AS SDDocRelatedObjectSequenceNmbr,
  RelatedObject.SDDocumentRelatedObjectType AS SDDocumentRelatedObjectType,
  RelatedObject.SDDocRelatedObjectSystem AS SDDocRelatedObjectSystem,
  RelatedObject.SDDocRelatedObjectReference1 AS SDDocRelatedObjectReference1,
  RelatedObject.SDDocRelatedObjectReference2 AS SDDocRelatedObjectReference2,
  CustomerReturnType,
  OrganizationDivision,
  SalesOrganization,
  DistributionChannel
FROM I_CustomerReturnRelatedObject AS RelatedObject
LEFT OUTER JOIN A_CustomerReturn AS _CustomerReturn ON _CustomerReturn.CustomerReturn = CustomerReturn  -- association [1..1]
;