I_EDCBillingDocumentRelation

DDL: I_EDCBILLINGDOCUMENTRELATION Type: view_entity BASIC Package: GLO-EDO-EDC

EDC Billing Document Relation

I_EDCBillingDocumentRelation is a Basic CDS View that provides data about "EDC Billing Document Relation" in SAP S/4HANA. It reads from 1 data source (I_EDCRelation) and exposes 8 fields with key fields EDCType, EDCCompany, BillingDocument. Part of development package GLO-EDO-EDC.

Data Sources (1)

SourceAliasJoin Type
I_EDCRelation _EDCRelation from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label EDC Billing Document Relation view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #BASIC view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY EDCType I_EDCRelation EDCType Consistency Scen.
KEY EDCCompany I_EDCRelation EDCCompany Value
KEY BillingDocument
EDCRecordUUID I_EDCRelation EDCRecordUUID Consistency GUID
EDCCreatedOnDateTime I_EDCRelation EDCCreatedOnDateTime Variant created on
EDCCommonKey I_EDCRelation EDCCommonKey Common Key
EDCRepresentationType I_EDCRelation EDCRepresentationType Rep. Type
EDCRepresentationKey I_EDCRelation EDCRepresentationKey Representation Key

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 I_EDCBillingDocumentRelation.
-- 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 I_EDCBillingDocumentRelation AS
SELECT
  _EDCRelation.EDCType AS EDCType,
  _EDCRelation.EDCCompany AS EDCCompany,
  cast(substring(_EDCRelation.EDCRepresentationKey, 1, 10) as vbeln_vf) AS BillingDocument,
  _EDCRelation.EDCRecordUUID AS EDCRecordUUID,
  _EDCRelation.EDCCreatedOnDateTime AS EDCCreatedOnDateTime,
  _EDCRelation.EDCCommonKey AS EDCCommonKey,
  _EDCRelation.EDCRepresentationType AS EDCRepresentationType,
  _EDCRelation.EDCRepresentationKey AS EDCRepresentationKey
FROM I_EDCRelation AS _EDCRelation
;