R_PPS_PurContrCmtmtPlnDrft

DDL: R_PPS_PURCONTRCMTMTPLNDRFT Type: view_entity BASIC

PPS Pur Contr Commitment Plan - Draft

R_PPS_PurContrCmtmtPlnDrft is a Basic CDS View that provides data about "PPS Pur Contr Commitment Plan - Draft" in SAP S/4HANA. It reads from 1 data source (pps_pc_cphdr_d) and exposes 18 fields with key fields PurchaseContract, PurchaseContractItem, DraftUUID.

Data Sources (1)

SourceAliasJoin Type
pps_pc_cphdr_d pps_pc_cphdr_d from

Annotations (9)

NameValueLevelField
EndUserText.label PPS Pur Contr Commitment Plan - Draft view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.extensibility.extensible true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY PurchaseContract purchasecontract Purchasing Doc.
KEY PurchaseContractItem purchasecontractitem Item
KEY DraftUUID draftuuid UUID
ParentDraftUUID NodeID
DocumentCurrency documentcurrency Document Currency
OutlineAgreementTargetAmount outlineagreementtargetamount
CommitmentPlanCategory commitmentplancategory Comm. Plan Cat.
CompanyCode companycode Receiver Company Code
AccountAssignmentCategory accountassignmentcategory Acct Assgmt Cat
AcctAssignmentCategoryName acctassignmentcategoryname Description
PurchaseContractDraftUUID Key
PPSNotifDaysBeforeExpiry ppsnotifdaysbeforeexpiry
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_PurContrCmtmtPlnDrft.
-- 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_PurContrCmtmtPlnDrft AS
SELECT
  PurchaseContract,
  PurchaseContractItem,
  DraftUUID,
  cast( parentdraftuuid as sdraft_uuid preserving type ) AS ParentDraftUUID,
  DocumentCurrency,
  OutlineAgreementTargetAmount,
  CommitmentPlanCategory,
  CompanyCode,
  AccountAssignmentCategory,
  AcctAssignmentCategoryName,
  cast( purchasecontractdraftuuid as sdraft_uuid preserving type ) AS PurchaseContractDraftUUID,
  PPSNotifDaysBeforeExpiry,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges
FROM pps_pc_cphdr_d
;