R_SourcingEnvelopeTP

DDL: R_SOURCINGENVELOPETP Type: view_entity TRANSACTIONAL

Sourcing Envelope - TP

R_SourcingEnvelopeTP is a Transactional CDS View that provides data about "Sourcing Envelope - TP" in SAP S/4HANA. It reads from 1 data source (R_SourcingEnvelope) and exposes 16 fields with key field SourcingEnvelopeUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_SourcingEnvelope R_SourcingEnvelope from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_SourcingEnvelopeStatusText _SourcingEnvelopeStatusText $projection.SourcingEnvelopeStatus = _SourcingEnvelopeStatusText.SourcingEnvelopeStatus
[0..*] I_SourcingEnvelopeTypeText _SourcingEnvelopeTypeText $projection.SourcingEnvelopeType = _SourcingEnvelopeTypeText.SourcingEnvelopeType
[*] R_SrcgEnvelopeParticipantTP _SrcgEnvelopeParticipant

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Sourcing Envelope - TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey SourcingEnvelopeUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.sapObjectNodeType.name SourcingEnvelope view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY SourcingEnvelopeUUID SourcingEnvelopeUUID
SourcingEnvelopeType SourcingEnvelopeType
SourcingEnvelopeDescription SourcingEnvelopeDescription
SrcgEnvlpReferenceObjectUUID SrcgEnvlpReferenceObjectUUID
SrcgEnvlpReferenceObjectType SrcgEnvlpReferenceObjectType
SourcingEnvelopeStatus SourcingEnvelopeStatus
SrcgEnvelopeOpeningDateTime SrcgEnvelopeOpeningDateTime
SrcgEnvlpMinNmbrOfParticipants SrcgEnvlpMinNmbrOfParticipants
LastChangeDateTime LastChangeDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
_SourcingEnvelopeStatusText _SourcingEnvelopeStatusText
_SourcingEnvelopeTypeText _SourcingEnvelopeTypeText
_SrcgEnvelopeParticipant _SrcgEnvelopeParticipant
_SourcingProjectEnvelope _SourcingProjectEnvelope

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 R_SourcingEnvelopeTP.
-- 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 R_SourcingEnvelopeTP AS
SELECT
  SourcingEnvelopeUUID,
  SourcingEnvelopeType,
  SourcingEnvelopeDescription,
  SrcgEnvlpReferenceObjectUUID,
  SrcgEnvlpReferenceObjectType,
  SourcingEnvelopeStatus,
  SrcgEnvelopeOpeningDateTime,
  SrcgEnvlpMinNmbrOfParticipants,
  LastChangeDateTime,
  LastChangedByUser,
  CreatedByUser,
  CreationDateTime
FROM R_SourcingEnvelope
LEFT OUTER JOIN I_SourcingEnvelopeStatusText AS _SourcingEnvelopeStatusText ON SourcingEnvelopeStatus = _SourcingEnvelopeStatusText.SourcingEnvelopeStatus  -- association [0..*]
LEFT OUTER JOIN I_SourcingEnvelopeTypeText AS _SourcingEnvelopeTypeText ON SourcingEnvelopeType = _SourcingEnvelopeTypeText.SourcingEnvelopeType  -- association [0..*]
LEFT OUTER JOIN R_SrcgEnvelopeParticipantTP AS _SrcgEnvelopeParticipant ON /* condition not available in parsed metadata */  -- association [*]
;