C_PPS_PurReqnItemHierarchyTP_2

DDL: C_PPS_PURREQNITEMHIERARCHYTP_2 Type: view_entity CONSUMPTION

Purchase Requistion Hierarichal Items

C_PPS_PurReqnItemHierarchyTP_2 is a Consumption CDS View that provides data about "Purchase Requistion Hierarichal Items" in SAP S/4HANA. It reads from 1 data source (R_PPS_PurchaseReqnItemTP) and exposes 111 fields with key fields PurchaseRequisition, PurchaseRequisitionItem. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_PPS_PurchaseReqnItemTP R_PPS_PurchaseReqnItemTP projection

Associations (3)

CardinalityTargetAliasCondition
[0..*] C_PPS_PurReqnItemVersion _PurchaseReqnItemVersion $projection.PurchaseRequisition = _PurchaseReqnItemVersion.PurchaseRequisition and $projection.PurchaseRequisitionItem = _PurchaseReqnItemVersion.PurchaseRequisitionItem
[0..*] C_PPS_PurReqnItemChangeLog _PurchaseReqnItemChangeLog $projection.PurchaseRequisition = _PurchaseReqnItemChangeLog.PurchaseRequisition and $projection.PurchaseRequisitionItem = _PurchaseReqnItemChangeLog.PurchaseRequisitionItem
[0..*] C_PPS_EarmarkedFundsDocumentVH _EarmarkedFundsVH $projection.PurchaseContract = _EarmarkedFundsVH.PurchaseContract and $projection.PurchaseContractItem = _EarmarkedFundsVH.PurchaseContractItem

Annotations (17)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Purchase Requistion Hierarichal Items view
ObjectModel.sapObjectNodeType.name PPS_PurchaseRequisitionItem view
ObjectModel.representativeKey PurchaseRequisitionItem view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.elementSuffix PRI view
AbapCatalog.extensibility.quota.maximumFields 170 view
AbapCatalog.extensibility.quota.maximumBytes 1700 view
Feature SW:PPS_NG_MVP2025 view

Fields (111)

KeyFieldSource TableSource FieldDescription
KEY PurchaseRequisition PurchaseRequisition Requisition
KEY PurchaseRequisitionItem PurchaseRequisitionItem Item Number
PurchasingDocument PurchasingDocument Purchasing Document
PurReqnReleaseStatus Proc.state
ExternalApprovalStatus ExternalApprovalStatus Ext Prcsng. Status
PurchaseRequisitionType PurchaseRequisitionType Order Type
PurchasingDocumentSubtype PurchasingDocumentSubtype Control Indicator
PurchasingDocHierItemCategory PurchasingDocumentItemCategory Item Category
PurchasingDocumentItemCategory PurchasingDocumentItemCategory Item Category
PurgDocExternalItemCategory Item Category
PurgDocItemCategoryName _PurgDocumentItemCategoryText PurgDocItemCategoryName Item Category Description
PurchaseRequisitionItemText PurchaseRequisitionItemText Short Text
AccountAssignmentCategory AccountAssignmentCategory Account Assignment Category
AcctAssignmentCategoryNamelocalized
Material Material Vehicle Model
MaterialName _MaterialText MaterialName Material Description
MaterialType MaterialType Material Type
MaterialGroup MaterialGroup Product Group
PPSPurReqnItemProcessingStatus PPSPurReqnItemProcessingStatus Processing Status
PPSPurReqnItemProcgStatusTextlocalized
MaterialGroupName _MaterialGroupText MaterialGroupName prod Grp Desc.
PurchasingDocumentCategory PurchasingDocumentCategory Purchasing Document Category
RequestedQuantity RequestedQuantity Quantity
BaseUnit BaseUnit Unit of Measure
ItemUoM BaseUnit Unit of Measure
PurchaseRequisitionPrice Price
PurReqnPriceQuantity PurReqnPriceQuantity Price Unit
MaterialGoodsReceiptDuration GR proc. time
ReleaseCode ReleaseCode Release Indicator
PurchaseRequisitionReleaseDate PurchaseRequisitionReleaseDate Release Date
PurchasingOrganization PurchasingOrganization Purchase Organization
PurchasingOrganizationName _PurchasingOrgVH PurchasingOrganizationName Purch. Org. Name
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingGroupName _PurchasingGroupVH PurchasingGroupName Purchasing Grp. Name
Plant Plant Plant
SourceOfSupplyIsAssigned SourceOfSupplyIsAssigned Assigned
OrderedQuantity OrderedQuantity Ordered Quantity
PurReqnLimitConsumptionAmt PurReqnLimitConsumptionAmt Consumption Value
DeliveryDate DeliveryDate Expected Delivery Date
CreationDate Time Stamp
ProcessingStatus ProcessingStatus Worklist Status
PurchasingInfoRecord PurchasingInfoRecord Purchasing Info Record
Supplier Supplier Supplier
SupplierName _DesiredSupplier SupplierName Supplier Name
IsDeleted IsDeleted TRUE
FixedSupplier Fixed Vendor
FixedSupplierName
SourceDocument SourceDocument Source Document
PurchasingSourceType PurchasingSourceType Purchasing Source Type
PurchasingSourceTypeDesc _PurchaseReqnSourceType PurchasingSourceTypeDesc
LastChangedDate LastChangedDate Changed On
RequisitionerName RequisitionerName Requisitioner
CreatedByUser CreatedByUser User Name
PurReqCreationDate PurReqCreationDate Requisition Date
PurReqnItemCurrency PurReqnItemCurrency Item Currency
PurReqnLmtConsumptionCurrency PurReqnLmtConsumptionCurrency Consumption Currency
MaterialPlannedDeliveryDurn MaterialPlannedDeliveryDurn Planned Delivery Date (Days)
MultipleAcctAssgmtDistribution MultipleAcctAssgmtDistribution Distribution Indicator
MultipleAcctAssgmtDistrName _MultipleAcctAssgmtDistrText MultipleAcctAssgmtDistrName Distribution Indicator Description
PartialInvoiceDistribution PartialInvoiceDistribution Partial Invoice
PartialInvoiceDistributionNamelocalized Partial Invoice Description
StorageLocation StorageLocation Storage Location
StorageLocationName _StorLocVH StorageLocationName Storage Loc. Name
PurchaseContract PurchaseContract Purchasing Doc.
PurchasingDocumentName _PurchasingDocument PurchasingDocumentName Purch. Doc. Name
PurReqnSourceOfSupplyType PurReqnSourceOfSupplyType Source Type
PurchaseContractItem PurchaseContractItem Principal Agreement Item
PurReqnOrigin PurReqnOrigin Creation ind.
PurReqnOriginDesc _ModeOfCreationText PurReqnOriginDesc
Language Language Report Text Language
IsClosed IsClosed Purchase Requisition item is closed
ReleaseIsNotCompleted ReleaseIsNotCompleted Subj.to Release
ServicePerformer ServicePerformer Service Performer
ServicePerformerName _ServicePerformer BusinessPartnerName Extracted Customer Name
ProductTypeCode ProductTypeCode Item Category
NameasProductTypeNamelocalized Item Category Description
PurchaseRequisitionStatus PurchaseRequisitionStatus Release State
ReleaseStrategy ReleaseStrategy Rel. strategy
PerformancePeriodStartDate PerformancePeriodStartDate Start of Performance Period
PerformancePeriodEndDate PerformancePeriodEndDate End of Performance Period
SupplierMaterialNumber SupplierMaterialNumber Supplier Material Number
Currency Currency Valuation Crcy
ItemNetAmount ItemNetAmount Tot. val. rel.
GoodsReceiptIsExpected GoodsReceiptIsExpected Goods Receipt
InvoiceIsExpected InvoiceIsExpected Invoice Receipt
GoodsReceiptIsNonValuated GoodsReceiptIsNonValuated Non-Valuated Goods Receipt
RequirementTracking RequirementTracking Requirement Tracking Number
TaxCode TaxCode Tax Key
TaxCodeNamelocalized
TaxCalculationProcedure TaxCalculationProcedure Tax Procedure
PurchaseRequisitionIsFixed PurchaseRequisitionIsFixed Fixed Indicator
PurReqnCatalog Web Service ID
PurReqnCatalogItem PurReqnCatalogItem Catalog Item
PurReqnCrossCatalogItem PurReqnCrossCatalogItem Catalog Item Key
PurchaseReqnItemUniqueID PurchaseReqnItemUniqueID Purch. Doc. ID
IsPurReqnOvrlRel IsPurReqnOvrlRel Overall Release Of Requisitions
ExpectedOverallLimitAmount ExpectedOverallLimitAmount Expected Value
OverallLimitAmount OverallLimitAmount Overall Limit
GLAccount GLAccount General Ledger
EarmarkedFundsDocument EarmarkedFundsDocument Earmarked Funds Document
FundsCenter FundsCenter Funds Center
FundsCenterDescriptionlocalized
Fund Fund Sender Fund
FundDescriptionlocalized
CommitmentItem CommitmentItem Commitment Item
CommitmentItemDescriptionlocalized
EarmarkedFundsDocumentItem EarmarkedFundsDocumentItem Earmarked Funds Document Item
GrantID GrantID Sender Grant
GrantName _GrantText GrantName
FunctionalArea FunctionalArea Sendr Fctl Area
FunctionalAreaNamelocalized

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 C_PPS_PurReqnItemHierarchyTP_2.
-- 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 C_PPS_PurReqnItemHierarchyTP_2 AS
SELECT
  PurchaseRequisition,
  PurchaseRequisitionItem,
  PurchasingDocument,
  cast( PurReqnReleaseStatus as pps_e_releasestatus preserving type ) AS PurReqnReleaseStatus,
  ExternalApprovalStatus,
  PurchaseRequisitionType,
  PurchasingDocumentSubtype,
  PurchasingDocumentItemCategory AS PurchasingDocHierItemCategory,
  PurchasingDocumentItemCategory,
  cast( PurgDocExternalItemCategory as pps_e_extitemcategory preserving type ) AS PurgDocExternalItemCategory,
  _PurgDocumentItemCategoryText.PurgDocItemCategoryName AS PurgDocItemCategoryName,
  PurchaseRequisitionItemText,
  AccountAssignmentCategory,
  _AcctAssgmtCategoryVH.AcctAssignmentCategoryName : localized AS AcctAssignmentCategoryNamelocalized,
  Material,
  _MaterialText.MaterialName AS MaterialName,
  MaterialType,
  MaterialGroup,
  PPSPurReqnItemProcessingStatus,
  _ItmProcgStatusText.PPSPurReqnItemProcgStatusText : localized AS PPSPurReqnItemProcgStatusTextlocalized,
  _MaterialGroupText.MaterialGroupName AS MaterialGroupName,
  PurchasingDocumentCategory,
  RequestedQuantity,
  BaseUnit,
  BaseUnit AS ItemUoM,
  cast( PurchaseRequisitionPrice as pps_e_price preserving type ) AS PurchaseRequisitionPrice,
  PurReqnPriceQuantity,
  cast(MaterialGoodsReceiptDuration as pps_e_webaz preserving type ) AS MaterialGoodsReceiptDuration,
  ReleaseCode,
  PurchaseRequisitionReleaseDate,
  PurchasingOrganization,
  _PurchasingOrgVH.PurchasingOrganizationName AS PurchasingOrganizationName,
  PurchasingGroup,
  _PurchasingGroupVH.PurchasingGroupName AS PurchasingGroupName,
  Plant,
  SourceOfSupplyIsAssigned,
  OrderedQuantity,
  PurReqnLimitConsumptionAmt,
  DeliveryDate,
  cast( CreationDate as pps_e_creationdate preserving type ) AS CreationDate,
  ProcessingStatus,
  PurchasingInfoRecord,
  Supplier,
  _DesiredSupplier.SupplierName AS SupplierName,
  IsDeleted,
  cast ( FixedSupplier as pps_e_fixedsupplier preserving type ) AS FixedSupplier,
  cast ( _Supplier.SupplierName as pps_e_fixedsupplier_name preserving type ) AS FixedSupplierName,
  SourceDocument,
  PurchasingSourceType,
  _PurchaseReqnSourceType.PurchasingSourceTypeDesc AS PurchasingSourceTypeDesc,
  LastChangedDate,
  RequisitionerName,
  CreatedByUser,
  PurReqCreationDate,
  PurReqnItemCurrency,
  PurReqnLmtConsumptionCurrency,
  MaterialPlannedDeliveryDurn,
  MultipleAcctAssgmtDistribution,
  _MultipleAcctAssgmtDistrText.MultipleAcctAssgmtDistrName AS MultipleAcctAssgmtDistrName,
  PartialInvoiceDistribution,
  _PartialInvoiceIndicator.PartialInvoiceDistributionName : localized AS PartialInvoiceDistributionNamelocalized,
  StorageLocation,
  _StorLocVH.StorageLocationName AS StorageLocationName,
  PurchaseContract,
  _PurchasingDocument.PurchasingDocumentName AS PurchasingDocumentName,
  PurReqnSourceOfSupplyType,
  PurchaseContractItem,
  PurReqnOrigin,
  _ModeOfCreationText.PurReqnOriginDesc AS PurReqnOriginDesc,
  Language,
  IsClosed,
  ReleaseIsNotCompleted,
  ServicePerformer,
  _ServicePerformer.BusinessPartnerName AS ServicePerformerName,
  ProductTypeCode,
  _ProductTypeCodeText.Name as ProductTypeName : localized AS NameasProductTypeNamelocalized,
  PurchaseRequisitionStatus,
  ReleaseStrategy,
  PerformancePeriodStartDate,
  PerformancePeriodEndDate,
  SupplierMaterialNumber,
  Currency,
  ItemNetAmount,
  GoodsReceiptIsExpected,
  InvoiceIsExpected,
  GoodsReceiptIsNonValuated,
  RequirementTracking,
  TaxCode,
  _PurReqnTaxCodeVH.TaxCodeName : localized AS TaxCodeNamelocalized,
  TaxCalculationProcedure,
  PurchaseRequisitionIsFixed,
  cast( PurReqnCatalog as pps_e_purreqncatalog preserving type ) AS PurReqnCatalog,
  PurReqnCatalogItem,
  PurReqnCrossCatalogItem,
  PurchaseReqnItemUniqueID,
  IsPurReqnOvrlRel,
  ExpectedOverallLimitAmount,
  OverallLimitAmount,
  GLAccount,
  EarmarkedFundsDocument,
  FundsCenter,
  _FundsCenterText.FundsCenterDescription : localized AS FundsCenterDescriptionlocalized,
  Fund,
  _FundText.FundDescription : localized AS FundDescriptionlocalized,
  CommitmentItem,
  _CommitmentItemText.CommitmentItemDescription : localized AS CommitmentItemDescriptionlocalized,
  EarmarkedFundsDocumentItem,
  GrantID,
  _GrantText.GrantName AS GrantName,
  FunctionalArea,
  _FndsMgmtFuncnlAreaText.FunctionalAreaName : localized AS FunctionalAreaNamelocalized
FROM R_PPS_PurchaseReqnItemTP
LEFT OUTER JOIN C_PPS_PurReqnItemVersion AS _PurchaseReqnItemVersion ON PurchaseRequisition = _PurchaseReqnItemVersion.PurchaseRequisition AND PurchaseRequisitionItem = _PurchaseReqnItemVersion.PurchaseRequisitionItem  -- association [0..*]
LEFT OUTER JOIN C_PPS_PurReqnItemChangeLog AS _PurchaseReqnItemChangeLog ON PurchaseRequisition = _PurchaseReqnItemChangeLog.PurchaseRequisition AND PurchaseRequisitionItem = _PurchaseReqnItemChangeLog.PurchaseRequisitionItem  -- association [0..*]
LEFT OUTER JOIN C_PPS_EarmarkedFundsDocumentVH AS _EarmarkedFundsVH ON PurchaseContract = _EarmarkedFundsVH.PurchaseContract AND PurchaseContractItem = _EarmarkedFundsVH.PurchaseContractItem  -- association [0..*]
;