I_ElectronicDocTypeTP

DDL: I_ELECTRONICDOCTYPETP Type: view_entity TRANSACTIONAL

eDocument Type - TP

I_ElectronicDocTypeTP is a Transactional CDS View that provides data about "eDocument Type - TP" in SAP S/4HANA. It reads from 1 data source (I_ElectronicDocType) and exposes 9 fields with key field ElectronicDocType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ElectronicDocType ElectronicDocType from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_ElectronicDocTypeTextTP _ElectronicDocTypeText
[0..*] I_ElectronicDocTypeAddlTblTP _ElectronicDocTypeAddlTbl

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label eDocument Type - TP view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #NONE view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey ElectronicDocType view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ElectronicDocType ElectronicDocType eDoc Type
ElectronicDocUsageBasic ElectronicDocUsageBasic Usage Basic
ElectronicDocUsageFull ElectronicDocUsageFull Usage Full
ElectronicDocIsContingency ElectronicDocIsContingency Contingency
ElectronicDocContingencyType ElectronicDocContingencyType Cont.eDoc.Type
ElectronicDocTableName ElectronicDocTableName Table/Constant Value
ElectronicDocIsArchivePrepRqd ElectronicDocIsArchivePrepRqd Arch. Preproc.
_ElectronicDocTypeText _ElectronicDocTypeText
_ElectronicDocTypeAddlTbl _ElectronicDocTypeAddlTbl

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_ElectronicDocTypeTP.
-- 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_ElectronicDocTypeTP AS
SELECT
  ElectronicDocType,
  ElectronicDocUsageBasic,
  ElectronicDocUsageFull,
  ElectronicDocIsContingency,
  ElectronicDocContingencyType,
  ElectronicDocTableName,
  ElectronicDocIsArchivePrepRqd
FROM I_ElectronicDocType AS ElectronicDocType
LEFT OUTER JOIN I_ElectronicDocTypeTextTP AS _ElectronicDocTypeText ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_ElectronicDocTypeAddlTblTP AS _ElectronicDocTypeAddlTbl ON /* condition not available in parsed metadata */  -- association [0..*]
;