R_PPS_PurOrderContactDraft

DDL: R_PPS_PURORDERCONTACTDRAFT Type: view_entity BASIC

PPS Purchase Order Contact - Draft

R_PPS_PurOrderContactDraft is a Basic CDS View that provides data about "PPS Purchase Order Contact - Draft" in SAP S/4HANA. It reads from 1 data source (pps_po_contact_d) and exposes 17 fields with key fields PurchaseOrder, PPSContactPersonUUID, DraftUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
pps_po_contact_d pps_po_contact_d from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_PPS_PurchaseOrderDraft _PurchaseOrd $projection.PurchaseOrder = _PurchaseOrd.PurchaseOrder and $projection.ParentDraftUUID = _PurchaseOrd.DraftUUID

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label PPS Purchase Order Contact - Draft view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder purchaseorder Purchasing Document
KEY PPSContactPersonUUID ppscontactpersonuuid Contact Person UUID
KEY DraftUUID draftuuid UUID
ParentDraftUUID parentdraftuuid NodeID
PurchasingDocumentCategory purchasingdocumentcategory Doc. Category
PPSSqncNmbrOfContactPerson ppssqncnmbrofcontactperson Sequence Number
PPSContactCategory ppscontactcategory Contact Person Type
PPSContactPerson ppscontactperson Contact Person Nr
PurchasingDocumentType purchasingdocumenttype RFQ Type
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes
PPSFieldChangeIndicatorBinary ppsfieldchangeindicatorbinary Control
_PurchaseOrd _PurchaseOrd

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_PPS_PurOrderContactDraft.
-- 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_PPS_PurOrderContactDraft AS
SELECT
  PurchaseOrder,
  PPSContactPersonUUID,
  DraftUUID,
  ParentDraftUUID,
  PurchasingDocumentCategory,
  PPSSqncNmbrOfContactPerson,
  PPSContactCategory,
  PPSContactPerson,
  PurchasingDocumentType,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges,
  PPSFieldChangeIndicatorBinary
FROM pps_po_contact_d
LEFT OUTER JOIN R_PPS_PurchaseOrderDraft AS _PurchaseOrd ON PurchaseOrder = _PurchaseOrd.PurchaseOrder AND ParentDraftUUID = _PurchaseOrd.DraftUUID  -- association [1..1]
;