R_PPS_PurContrPrtnItmRefDraft

DDL: R_PPS_PURCONTRPRTNITMREFDRAFT Type: view_entity BASIC

Partner item ref

R_PPS_PurContrPrtnItmRefDraft is a Basic CDS View that provides data about "Partner item ref" in SAP S/4HANA. It reads from 1 data source (pps_pc_itmpr_ref) and exposes 15 fields with key fields PurchaseContract, PartnerFunction, PurchasingDocumentPartner, DraftUUID.

Data Sources (1)

SourceAliasJoin Type
pps_pc_itmpr_ref pps_pc_itmpr_ref from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Partner item ref view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY PurchaseContract purchasecontract Purchasing Doc.
KEY PartnerFunction partnerfunction Partner Functn
KEY PurchasingDocumentPartner purchasingdocumentpartner Partner
KEY DraftUUID draftuuid UUID
ParentDraftUUID parentdraftuuid NodeID
PartnerFunctionLanguageDepdnt partnerfunctionlanguagedepdnt Lang-spec.partr
PurchasingDocumentPartnerName purchasingdocumentpartnername Partner Name
PartnerFunctionName partnerfunctionname Name
LastChangeDateTime lastchangedatetime Timestamp
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

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_PurContrPrtnItmRefDraft.
-- 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_PurContrPrtnItmRefDraft AS
SELECT
  PurchaseContract,
  PartnerFunction,
  PurchasingDocumentPartner,
  DraftUUID,
  ParentDraftUUID,
  PartnerFunctionLanguageDepdnt,
  PurchasingDocumentPartnerName,
  PartnerFunctionName,
  LastChangeDateTime,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM pps_pc_itmpr_ref
;