C_ContractMaintainItem
Purchase Contract Maintain Item
C_ContractMaintainItem is a Consumption CDS View that provides data about "Purchase Contract Maintain Item" in SAP S/4HANA. It reads from 1 data source (I_PurchaseContractItemWD) and exposes 144 fields with key fields PurchaseContractItem, PurchaseContract. It has 28 associations to related views. Part of development package ODATA_MM_OA_MAINTAIN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchaseContractItemWD | I_PurchaseContractItemWD | from |
Associations (28)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_QuantityContractPrediction | _PredictedDate | $projection.PurchaseContract = _PredictedDate.PurchaseContract and $projection.PurchaseContractItem = _PredictedDate.PurchaseContractItem ---- |
| [1..1] | C_ContractMaintain | _PurchaseContractWD | $projection.PurchaseContract = _PurchaseContractWD.PurchaseContract |
| [0..*] | C_Purctraccassign | _PurCtrAccountWD | $projection.PurchaseContractItem = _PurCtrAccountWD.PurchaseContractItem and $projection.PurchaseContract = _PurCtrAccountWD.PurchaseContract |
| [1..1] | C_PurCtrItemAddress | _PurCtrAddressWD | $projection.PurchaseContract = _PurCtrAddressWD.PurchaseContract and $projection.PurchaseContractItem = _PurCtrAddressWD.PurchaseContractItem |
| [0..*] | C_Contracthistory | _ContractHistory | $projection.PurchaseContractItem = _ContractHistory.PurchaseContractItem and $projection.PurchaseContract = _ContractHistory.PurchaseContract |
| [0..*] | C_PurCtrItemnotes | _PurctritnotesWD | $projection.PurchaseContractItem = _PurctritnotesWD.PurchaseContractItem and $projection.PurchaseContract = _PurctritnotesWD.PurchaseContract |
| [1..*] | I_Purcontracttaxcodevh | _Purcontracttaxcodevh | $projection.TaxCode = _Purcontracttaxcodevh.TaxCode |
| [0..1] | C_ContractPrdTypeVH | _ContractPrdTypeVH | $projection.ProductType = _ContractPrdTypeVH.ProductType |
| [0..*] | C_MM_ServicePerformerValueHelp | _ServicePerformerVH | $projection.ServicePerformer = _ServicePerformerVH.ServicePerformer |
| [0..1] | C_Mm_Shipinstructionvaluehelp | _ShipInstrVH | $projection.ShippingInstruction = _ShipInstrVH.ShippingInstruction |
| [0..1] | C_MM_PlantValueHelp | _PlantValueHelp | _PlantValueHelp.Plant = $projection.Plant and _PlantValueHelp.PurchasingOrganization = $projection.purchasingorganization |
| [1..1] | I_Contrconfirmationcontrol | _Purcontractcnfrmctrlvh | $projection.SupplierConfirmationControlKey = _Purcontractcnfrmctrlvh.SupplierConfirmationControlKey |
| [1..1] | I_PurCtrStockType | _PurCtrStockType | $projection.StockType = _PurCtrStockType.StockType |
| [0..1] | C_MultiAcctgDistrIndValueAdjVH | _MltplAcctAssgmtDistrVH | $projection.MultipleAcctAssgmtDistribution = _MltplAcctAssgmtDistrVH.MultipleAcctAssgmtDistribution |
| [0..1] | C_PartialInvoiceIndVH | _PartialInvoiceIndVH | $projection.PartialInvoiceDistribution = _PartialInvoiceIndVH.PartialInvoiceDistribution |
| [0..1] | C_PartialGoodsReceiptIndVH | _PartialGoodsReceiptIndVH | $projection.PartialInvoiceDistribution = _PartialGoodsReceiptIndVH.PartialInvoiceDistribution |
| [0..1] | C_MM_MaterialGroupValueHelp | _MaterialGroupValueHelp | $projection.MaterialGroup = _MaterialGroupValueHelp.MaterialGroup |
| [0..1] | C_PurContractItmReplnmtElmntVH | _PurContractItmReplnmtElmntVH | $projection.PurContractItmReplnmtElmntType = _PurContractItmReplnmtElmntVH.PurContractItmReplnmtElmntType |
| [0..1] | C_PurgInfoRecordUpdateCodeVH | _InfoRecordUpdateCodeVH | $projection.IsInfoRecordUpdated = _InfoRecordUpdateCodeVH.PurchasingInfoRecordUpdateCode and _InfoRecordUpdateCodeVH.Language = $session.system_language |
| [0..*] | C_SourceOfSupply | _SourceOfSupply | $projection.PurchaseContract = _SourceOfSupply.PurchaseContract and $projection.PurchaseContractItem = _SourceOfSupply.PurchaseContractItem and $projection.Material = _SourceOfSupply.Material and $projection.Plant = _SourceOfSupply.Plant and $projection.Material <> '' |
| [0..1] | C_PurContrItemCategoryVH | _PurContrItemCategoryVH | $projection.PurchasingDocumentItemCategory = _PurContrItemCategoryVH.PurchasingDocumentItemCategory |
| [0..1] | C_PurContrAcctAssgmtCatVH | _PurContrAcctAssgmtCatVH | $projection.AccountAssignmentCategory = _PurContrAcctAssgmtCatVH.AccountAssignmentCategory |
| [0..*] | C_PurContrItmCndnValdtyTP | _PurContrItmCndnValdtyTP | $projection.PurchaseContract = _PurContrItmCndnValdtyTP.PurchaseContract and $projection.PurchaseContractItem = _PurContrItmCndnValdtyTP.PurchaseContractItem |
| [0..1] | I_PurgProdCmplncSupplierStsT | _PurgProdCmplncSupplierStsT | $projection.PurgProdCmplncSupplierStatus = _PurgProdCmplncSupplierStsT.PurgProdCmplncSupplierStatus and _PurgProdCmplncSupplierStsT.Language = $session.system_language |
| [1..1] | I_PurContrItmCnsmpnPercentage | _PurContrItmCnsmpnPercentage | $projection.PurchaseContract = _PurContrItmCnsmpnPercentage.PurchaseContract and $projection.PurchaseContractItem = _PurContrItmCnsmpnPercentage.PurchaseContractItem |
| [0..*] | I_SupplierSubrange | _SupplierSubrange | $projection.SupplierSubrange = _SupplierSubrange.SupplierSubrange |
| [0..1] | I_MaterialGroup | _MaterialGroup | $projection.MaterialGroup = _MaterialGroup.MaterialGroup |
| [0..1] | I_StorageLocation | _StorageLocation | $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation |
Annotations (21)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCTRMAINTAINITEM | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Purchase Contract Maintain Item | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Search.searchable | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| UI.headerInfo.typeName | Purchase Contract Item | view | |
| UI.headerInfo.typeName_AsOTR | 005056B2532A1EE588FAC1D4762799B6 | view | |
| UI.headerInfo.typeNamePlural | Purchase Contract Items | view | |
| UI.headerInfo.typeNamePlural_AsOTR | 005056B2370E1ED684EDF81B5AF7D201 | view | |
| UI.headerInfo.title.value | view | ||
| UI.headerInfo.title.label | Contract Item | view | |
| UI.headerInfo.description.value | PurchaseContractItem | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view |
Fields (144)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseContractItem | I_PurchaseContractItemWD | PurchaseContractItem | Item |
| KEY | PurchaseContract | I_PurchaseContractItemWD | PurchaseContract | Purchasing Doc. |
| ActivePurchasingDocument | _PurchaseContractWD | ActivePurchasingDocument | Active Purchase Doc | |
| PurgConfigurableItemNumber | I_PurchaseContractItemWD | PurgConfigurableItemNumber | Hierarchy Number | |
| PurchaseContractItemForEdit | I_PurchaseContractItemWD | PurchaseContractItemForEdit | Item | |
| CompanyCode | I_PurchaseContractItemWD | CompanyCode | Receiver Company Code | |
| PurchaseContractType | PurchaseContractType | Order Type | ||
| Material | I_PurchaseContractItemWD | Material | Vehicle Model | |
| PurchaseContractItemText | I_PurchaseContractItemWD | PurchaseContractItemText | Short Text | |
| ContractNetPriceAmount | I_PurchaseContractItemWD | ContractNetPriceAmount | Net Price | |
| OrderPriceUnit | I_PurchaseContractItemWD | OrderPriceUnit | Order Price Un. | |
| VolumeUnit | I_PurchaseContractItemWD | VolumeUnit | Volume Unit | |
| OrderQuantityUnit | I_PurchaseContractItemWD | OrderQuantityUnit | Sales Unit | |
| ReleaseOrderQuantityUnit | I_PurchaseContractItemWD | ReleaseOrderQuantityUnit | Order Unit | |
| MaterialGroup | I_PurchaseContractItemWD | MaterialGroup | Product Group | |
| Customer | I_PurchaseContractItemWD | Customer | Sold-to Party | |
| Subcontractor | I_PurchaseContractItemWD | Subcontractor | Supplier | |
| ReferenceDeliveryAddressID | I_PurchaseContractItemWD | ReferenceDeliveryAddressID | Reference Address | |
| ManualDeliveryAddressID | I_PurchaseContractItemWD | ManualDeliveryAddressID | Address Number | |
| Plant | I_PurchaseContractItemWD | Plant | Valuation Area | |
| StorageLocation | I_PurchaseContractItemWD | StorageLocation | StorageLocation | |
| AccountAssignmentCategory | I_PurchaseContractItemWD | AccountAssignmentCategory | Account Assignment Category | |
| GoodsReceiptIsExpected | I_PurchaseContractItemWD | GoodsReceiptIsExpected | Goods Receipt | |
| NetPriceQuantity | I_PurchaseContractItemWD | NetPriceQuantity | Price Unit | |
| MultipleAcctAssgmtDistribution | I_PurchaseContractItemWD | MultipleAcctAssgmtDistribution | Distribution Indicator | |
| PartialInvoiceDistribution | I_PurchaseContractItemWD | PartialInvoiceDistribution | Partial invoice | |
| TargetQuantity | I_PurchaseContractItemWD | TargetQuantity | Target Quantity | |
| TargetAmount | I_PurchaseContractItemWD | TargetAmount | Target Value | |
| DocumentCurrency | I_PurchaseContractItemWD | DocumentCurrency | Document Currency | |
| OrdPriceUnitToOrderUnitDnmntr | I_PurchaseContractItemWD | OrdPriceUnitToOrderUnitDnmntr | Quantity Conversion Denominator | |
| OrdPrcUnitToOrderUnitDnmntrUoM | I_PurchaseContractItemWD | OrdPrcUnitToOrderUnitDnmntrUoM | Order Unit | |
| OrderPriceUnitToOrderUnitNmrtr | I_PurchaseContractItemWD | OrderPriceUnitToOrderUnitNmrtr | Quantity Conversion Numerator | |
| OrdPrcUnitToOrderUnitNmrtrUoM | I_PurchaseContractItemWD | OrdPrcUnitToOrderUnitNmrtrUoM | Order Price Un. | |
| PurchasingDocumentType | _PurchaseContractWD | PurchaseContractType | Order Type | |
| PurchasingDocumentTypeName | ||||
| PurchasingDocumentItemCategory | I_PurchaseContractItemWD | PurchasingDocumentItemCategory | Item Category | |
| PurgDocItemCategoryName | I_PurchaseContractItemWD | PurgDocItemCategoryName | Text for ItCat. | |
| PurgDocExternalItemCategory | I_PurchaseContractItemWD | PurgDocExternalItemCategory | Item Category | |
| SupplierMaterialNumber | I_PurchaseContractItemWD | SupplierMaterialNumber | Supp. Mat. No. | |
| EvaldRcptSettlmtIsAllowed | I_PurchaseContractItemWD | EvaldRcptSettlmtIsAllowed | ERS | |
| UnderdelivTolrtdLmtRatioInPct | I_PurchaseContractItemWD | UnderdelivTolrtdLmtRatioInPct | Underdel. Tol. | |
| PriceIsToBePrinted | I_PurchaseContractItemWD | PriceIsToBePrinted | Print Price | |
| SupplierConfirmationControlKey | I_PurchaseContractItemWD | SupplierConfirmationControlKey | Conf. Control | |
| OverdelivTolrtdLmtRatioInPct | I_PurchaseContractItemWD | OverdelivTolrtdLmtRatioInPct | Overdeliv. Tol. | |
| UnlimitedOverdeliveryIsAllowed | I_PurchaseContractItemWD | UnlimitedOverdeliveryIsAllowed | Unlimited Overdelivery Allowed | |
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsVersion | _PurchaseContractWD | IncotermsVersion | Inco. Version | |
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation1Identifier | IncotermsLocation1Identifier | Location | ||
| IncotermsSupChnLoc1AddlUUID | IncotermsSupChnLoc1AddlUUID | Location UUID | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| IncotermsLocation2Identifier | IncotermsLocation2Identifier | Location | ||
| IncotermsSupChnLoc2AddlUUID | IncotermsSupChnLoc2AddlUUID | Location UUID | ||
| IncotermsDvtgLocDescription | IncotermsDvtgLocDescription | Loc. Description | ||
| IncotermsDvtgLocIdentifier | IncotermsDvtgLocIdentifier | Location | ||
| IncotermsSupChnDvtgLocAddlUUID | IncotermsSupChnDvtgLocAddlUUID | Location UUID | ||
| SupplierSubrange | SupplierSubrange | Suppl. Subrange | ||
| InvoiceIsExpected | I_PurchaseContractItemWD | InvoiceIsExpected | Invoice Receipt | |
| InvoiceIsGoodsReceiptBased | I_PurchaseContractItemWD | InvoiceIsGoodsReceiptBased | GR-Based IV | |
| PurgDocPriceDate | I_PurchaseContractItemWD | PurgDocPriceDate | Price Date | |
| IsInfoRecordUpdated | I_PurchaseContractItemWD | IsInfoRecordUpdated | InfoUpdate | |
| PurgDocReleaseOrderQuantity | I_PurchaseContractItemWD | PurgDocReleaseOrderQuantity | Release Order Quantity | |
| PurgDocOrderAcknNumber | I_PurchaseContractItemWD | PurgDocOrderAcknNumber | Order Acknowl. | |
| PurgDocEstimatedPrice | I_PurchaseContractItemWD | PurgDocEstimatedPrice | Estimated Price | |
| IsInfoAtRegistration | I_PurchaseContractItemWD | IsInfoAtRegistration | Info at Registration | |
| NoDaysReminder1 | I_PurchaseContractItemWD | NoDaysReminder1 | 1st Rem./Exped. | |
| NoDaysReminder2 | I_PurchaseContractItemWD | NoDaysReminder2 | 2nd Rem./Exped. | |
| NoDaysReminder3 | I_PurchaseContractItemWD | NoDaysReminder3 | 3rd Rem./Exped. | |
| PlannedDeliveryDurationInDays | I_PurchaseContractItemWD | PlannedDeliveryDurationInDays | Plnd dely time | |
| StockType | I_PurchaseContractItemWD | StockType | Stock Type | |
| TaxCode | I_PurchaseContractItemWD | TaxCode | Tax Code | |
| TaxCountry | I_PurchaseContractItemWD | TaxCountry | Tax Ctry/Reg. | |
| TaxDeterminationDate | I_PurchaseContractItemWD | TaxDeterminationDate | Tx Determination Dte | |
| RequirementTracking | I_PurchaseContractItemWD | RequirementTracking | Tracking Number | |
| IsOrderAcknRqd | I_PurchaseContractItemWD | IsOrderAcknRqd | Acknowl. Reqd. | |
| ShippingInstruction | I_PurchaseContractItemWD | ShippingInstruction | Shipping Instr. | |
| PurContractItmReplnmtElmntType | I_PurchaseContractItemWD | PurContractItmReplnmtElmntType | Kanban Indicat. | |
| IsToBeAcceptedAtOrigin | I_PurchaseContractItemWD | IsToBeAcceptedAtOrigin | Origin Accept. | |
| GoodsReceiptIsNonValuated | I_PurchaseContractItemWD | GoodsReceiptIsNonValuated | GR Non-Valuated | |
| ServicePerformer | I_PurchaseContractItemWD | ServicePerformer | Service Performer | |
| MaterialType | I_PurchaseContractItemWD | MaterialType | Material Type | |
| ProductType | I_PurchaseContractItemWD | ProductType | Product Type Group | |
| ProductTypeName | _ContractPrdTypeVH | ProductTypeName | Description | |
| FormattedPurchaseContractItem | I_PurchaseContractItemWD | FormattedPurchaseContractItem | Char15 | |
| PurchasingContractDeletionCode | I_PurchaseContractItemWD | PurchasingContractDeletionCode | Del. Indicator | |
| OutlineAgrmtItmBlockedText | OutlineAgrmtItmBlockedText | Boolean Variable (X = True, - = False, Space = Unknown) | ||
| TextIsDeleted | TextIsDeleted | Boolean Variable (X = True, - = False, Space = Unknown) | ||
| PurchasingInfoRecord | I_PurchaseContractItemWD | PurchasingInfoRecord | Info Record | |
| PurchasingParentItem | I_PurchaseContractItemWD | PurchasingParentItem | Parent Item No | |
| PurchasingParentItemForEdit | I_PurchaseContractItemWD | PurchasingParentItemForEdit | H-Lev. Item | |
| IsStatisticalItem | I_PurchaseContractItemWD | IsStatisticalItem | Statisticl.Indicator | |
| PurgExternalSortNumber | I_PurchaseContractItemWD | PurgExternalSortNumber | External Sort No. | |
| ContractExpiryPredictedDate | _PredictedDate | ContractExpiryPredictedDate | Predicted Expry Date | |
| ValidityEndDate | _PurchaseContractWD | ValidityEndDate | ValidTo | |
| PurchasingOrganization | _PurchaseContractWD | PurchasingOrganization | Purchasing Organization | |
| PurchasingIsCatalogRelevant | PurchasingIsCatalogRelevant | Catalog Relevant Item | ||
| _DocumentCurrency | ||||
| _Material | I_PurchaseContractItemWD | _Material | ||
| _MaterialGroup | _MaterialGroup | |||
| _OrderPriceUnit | I_PurchaseContractItemWD | _OrderPriceUnit | ||
| _OrderQuantityUnit | I_PurchaseContractItemWD | _OrderQuantityUnit | ||
| _Plant | I_PurchaseContractItemWD | _Plant | ||
| _StorageLocation | _StorageLocation | |||
| _VolumeUnit | I_PurchaseContractItemWD | _VolumeUnit | ||
| HierarchyNode | I_PurchaseContractItemWD | HierarchyNode | Node | |
| HierarchyParentNode | I_PurchaseContractItemWD | HierarchyParentNode | Hier.node | |
| HierarchyLevel | I_PurchaseContractItemWD | HierarchyLevel | Hierarchy Level | |
| HierarchyNodeSubTreeSize | I_PurchaseContractItemWD | HierarchyNodeSubTreeSize | Descendant Count | |
| HierarchyDrillState | I_PurchaseContractItemWD | HierarchyDrillState | Drill State | |
| HierarchyNodeOrdinalNumber | I_PurchaseContractItemWD | HierarchyNodeOrdinalNumber | Node Number | |
| IsOutline | I_PurchaseContractItemWD | IsOutline | Item Set | |
| AcctAssignmentCategoryName | _PurContrAcctAssgmtCatVH | AcctAssignmentCategoryName | Description | |
| KanbanStatusName | _PurContractItmReplnmtElmntVH | KanbanStatusName | ||
| PurchasingInfoRecordDesc | _InfoRecordUpdateCodeVH | PurchasingInfoRecordDesc | Info Short Text | |
| SrvcProcmtItmHierIsEnbld | ||||
| PurgProdCmplncSupplierStsName | _PurgProdCmplncSupplierStsT | PurgProdCmplncSupplierStsName | Product Compliance Supplier Check | |
| UICT_PurgProdCmplncSupplierSts | ||||
| ProductComplianceIsActive | ||||
| BusFtreProdCmplncSuplrIsActive | ||||
| PurgDocIsChgVers | _PurchaseContractWD | PurgDocIsChgVers | Checkbox | |
| ContractConsumptionInPct | _PurContrItmCnsmpnPercentage | ContractConsumptionInPct | Consumption | |
| _AccountAssignmentCategory | _AccountAssignmentCategory | |||
| _PurContrAcctAssgmtCatVH | _PurContrAcctAssgmtCatVH | |||
| _ContractHistory | _ContractHistory | |||
| _Purcontracttaxcodevh | _Purcontracttaxcodevh | |||
| _Purcontractcnfrmctrlvh | _Purcontractcnfrmctrlvh | |||
| _PurCtrStockType | _PurCtrStockType | |||
| _ServicePerformerVH | _ServicePerformerVH | |||
| _ShipInstrVH | _ShipInstrVH | |||
| _MltplAcctAssgmtDistrVH | _MltplAcctAssgmtDistrVH | |||
| _PurContrItemCategoryVH | _PurContrItemCategoryVH | |||
| _PartialGoodsReceiptIndVH | _PartialGoodsReceiptIndVH | |||
| PlantName | _Plant | PlantName | Plant Name | |
| _PurchaseContractWD | _PurchaseContractWD | |||
| _PurCtrAccountWD | _PurCtrAccountWD | |||
| _PurCtrAddressWD | _PurCtrAddressWD | |||
| _PurctritnotesWD | _PurctritnotesWD | |||
| _SourceOfSupply | _SourceOfSupply | |||
| _MaterialGroupValueHelp | _MaterialGroupValueHelp | |||
| _PurContractItmReplnmtElmntVH | _PurContractItmReplnmtElmntVH | |||
| _InfoRecordUpdateCodeVH | _InfoRecordUpdateCodeVH | |||
| _PurContrItmCndnValdtyTP | _PurContrItmCndnValdtyTP | |||
| _SupplierSubrange | _SupplierSubrange | |||
| Supplier | _PurchaseContractWD | Supplier | Supplier |
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_ContractMaintainItem.
-- 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.
-- SQL view name: CCTRMAINTAINITEM
CREATE VIEW C_ContractMaintainItem AS
SELECT
I_PurchaseContractItemWD.PurchaseContractItem AS PurchaseContractItem,
I_PurchaseContractItemWD.PurchaseContract AS PurchaseContract,
_PurchaseContractWD.ActivePurchasingDocument AS ActivePurchasingDocument,
I_PurchaseContractItemWD.PurgConfigurableItemNumber AS PurgConfigurableItemNumber,
I_PurchaseContractItemWD.PurchaseContractItemForEdit AS PurchaseContractItemForEdit,
I_PurchaseContractItemWD.CompanyCode AS CompanyCode,
PurchaseContractType,
I_PurchaseContractItemWD.Material AS Material,
I_PurchaseContractItemWD.PurchaseContractItemText AS PurchaseContractItemText,
I_PurchaseContractItemWD.ContractNetPriceAmount AS ContractNetPriceAmount,
I_PurchaseContractItemWD.OrderPriceUnit AS OrderPriceUnit,
I_PurchaseContractItemWD.VolumeUnit AS VolumeUnit,
I_PurchaseContractItemWD.OrderQuantityUnit AS OrderQuantityUnit,
I_PurchaseContractItemWD.ReleaseOrderQuantityUnit AS ReleaseOrderQuantityUnit,
I_PurchaseContractItemWD.MaterialGroup AS MaterialGroup,
I_PurchaseContractItemWD.Customer AS Customer,
I_PurchaseContractItemWD.Subcontractor AS Subcontractor,
I_PurchaseContractItemWD.ReferenceDeliveryAddressID AS ReferenceDeliveryAddressID,
I_PurchaseContractItemWD.ManualDeliveryAddressID AS ManualDeliveryAddressID,
I_PurchaseContractItemWD.Plant AS Plant,
I_PurchaseContractItemWD.StorageLocation AS StorageLocation,
I_PurchaseContractItemWD.AccountAssignmentCategory AS AccountAssignmentCategory,
I_PurchaseContractItemWD.GoodsReceiptIsExpected AS GoodsReceiptIsExpected,
I_PurchaseContractItemWD.NetPriceQuantity AS NetPriceQuantity,
I_PurchaseContractItemWD.MultipleAcctAssgmtDistribution AS MultipleAcctAssgmtDistribution,
I_PurchaseContractItemWD.PartialInvoiceDistribution AS PartialInvoiceDistribution,
I_PurchaseContractItemWD.TargetQuantity AS TargetQuantity,
I_PurchaseContractItemWD.TargetAmount AS TargetAmount,
I_PurchaseContractItemWD.DocumentCurrency AS DocumentCurrency,
I_PurchaseContractItemWD.OrdPriceUnitToOrderUnitDnmntr AS OrdPriceUnitToOrderUnitDnmntr,
I_PurchaseContractItemWD.OrdPrcUnitToOrderUnitDnmntrUoM AS OrdPrcUnitToOrderUnitDnmntrUoM,
I_PurchaseContractItemWD.OrderPriceUnitToOrderUnitNmrtr AS OrderPriceUnitToOrderUnitNmrtr,
I_PurchaseContractItemWD.OrdPrcUnitToOrderUnitNmrtrUoM AS OrdPrcUnitToOrderUnitNmrtrUoM,
_PurchaseContractWD.PurchaseContractType AS PurchasingDocumentType,
_PurchaseContractWD._Purchasecontracttype_Vh.PurchasingDocumentTypeName AS PurchasingDocumentTypeName,
I_PurchaseContractItemWD.PurchasingDocumentItemCategory AS PurchasingDocumentItemCategory,
I_PurchaseContractItemWD.PurgDocItemCategoryName AS PurgDocItemCategoryName,
I_PurchaseContractItemWD.PurgDocExternalItemCategory AS PurgDocExternalItemCategory,
I_PurchaseContractItemWD.SupplierMaterialNumber AS SupplierMaterialNumber,
I_PurchaseContractItemWD.EvaldRcptSettlmtIsAllowed AS EvaldRcptSettlmtIsAllowed,
I_PurchaseContractItemWD.UnderdelivTolrtdLmtRatioInPct AS UnderdelivTolrtdLmtRatioInPct,
I_PurchaseContractItemWD.PriceIsToBePrinted AS PriceIsToBePrinted,
I_PurchaseContractItemWD.SupplierConfirmationControlKey AS SupplierConfirmationControlKey,
I_PurchaseContractItemWD.OverdelivTolrtdLmtRatioInPct AS OverdelivTolrtdLmtRatioInPct,
I_PurchaseContractItemWD.UnlimitedOverdeliveryIsAllowed AS UnlimitedOverdeliveryIsAllowed,
IncotermsClassification,
_PurchaseContractWD.IncotermsVersion AS IncotermsVersion,
IncotermsLocation1,
IncotermsLocation1Identifier,
IncotermsSupChnLoc1AddlUUID,
IncotermsLocation2,
IncotermsLocation2Identifier,
IncotermsSupChnLoc2AddlUUID,
IncotermsDvtgLocDescription,
IncotermsDvtgLocIdentifier,
IncotermsSupChnDvtgLocAddlUUID,
SupplierSubrange,
I_PurchaseContractItemWD.InvoiceIsExpected AS InvoiceIsExpected,
I_PurchaseContractItemWD.InvoiceIsGoodsReceiptBased AS InvoiceIsGoodsReceiptBased,
I_PurchaseContractItemWD.PurgDocPriceDate AS PurgDocPriceDate,
I_PurchaseContractItemWD.IsInfoRecordUpdated AS IsInfoRecordUpdated,
I_PurchaseContractItemWD.PurgDocReleaseOrderQuantity AS PurgDocReleaseOrderQuantity,
I_PurchaseContractItemWD.PurgDocOrderAcknNumber AS PurgDocOrderAcknNumber,
I_PurchaseContractItemWD.PurgDocEstimatedPrice AS PurgDocEstimatedPrice,
I_PurchaseContractItemWD.IsInfoAtRegistration AS IsInfoAtRegistration,
I_PurchaseContractItemWD.NoDaysReminder1 AS NoDaysReminder1,
I_PurchaseContractItemWD.NoDaysReminder2 AS NoDaysReminder2,
I_PurchaseContractItemWD.NoDaysReminder3 AS NoDaysReminder3,
I_PurchaseContractItemWD.PlannedDeliveryDurationInDays AS PlannedDeliveryDurationInDays,
I_PurchaseContractItemWD.StockType AS StockType,
I_PurchaseContractItemWD.TaxCode AS TaxCode,
I_PurchaseContractItemWD.TaxCountry AS TaxCountry,
I_PurchaseContractItemWD.TaxDeterminationDate AS TaxDeterminationDate,
I_PurchaseContractItemWD.RequirementTracking AS RequirementTracking,
I_PurchaseContractItemWD.IsOrderAcknRqd AS IsOrderAcknRqd,
I_PurchaseContractItemWD.ShippingInstruction AS ShippingInstruction,
I_PurchaseContractItemWD.PurContractItmReplnmtElmntType AS PurContractItmReplnmtElmntType,
I_PurchaseContractItemWD.IsToBeAcceptedAtOrigin AS IsToBeAcceptedAtOrigin,
I_PurchaseContractItemWD.GoodsReceiptIsNonValuated AS GoodsReceiptIsNonValuated,
I_PurchaseContractItemWD.ServicePerformer AS ServicePerformer,
I_PurchaseContractItemWD.MaterialType AS MaterialType,
I_PurchaseContractItemWD.ProductType AS ProductType,
_ContractPrdTypeVH.ProductTypeName AS ProductTypeName,
I_PurchaseContractItemWD.FormattedPurchaseContractItem AS FormattedPurchaseContractItem,
I_PurchaseContractItemWD.PurchasingContractDeletionCode AS PurchasingContractDeletionCode,
OutlineAgrmtItmBlockedText,
TextIsDeleted,
I_PurchaseContractItemWD.PurchasingInfoRecord AS PurchasingInfoRecord,
I_PurchaseContractItemWD.PurchasingParentItem AS PurchasingParentItem,
I_PurchaseContractItemWD.PurchasingParentItemForEdit AS PurchasingParentItemForEdit,
I_PurchaseContractItemWD.IsStatisticalItem AS IsStatisticalItem,
I_PurchaseContractItemWD.PurgExternalSortNumber AS PurgExternalSortNumber,
_PredictedDate.ContractExpiryPredictedDate AS ContractExpiryPredictedDate,
_PurchaseContractWD.ValidityEndDate AS ValidityEndDate,
_PurchaseContractWD.PurchasingOrganization AS PurchasingOrganization,
PurchasingIsCatalogRelevant,
I_PurchaseContractItemWD._Material AS _Material,
I_PurchaseContractItemWD._OrderPriceUnit AS _OrderPriceUnit,
I_PurchaseContractItemWD._OrderQuantityUnit AS _OrderQuantityUnit,
I_PurchaseContractItemWD._Plant AS _Plant,
I_PurchaseContractItemWD._VolumeUnit AS _VolumeUnit,
I_PurchaseContractItemWD.HierarchyNode AS HierarchyNode,
I_PurchaseContractItemWD.HierarchyParentNode AS HierarchyParentNode,
I_PurchaseContractItemWD.HierarchyLevel AS HierarchyLevel,
I_PurchaseContractItemWD.HierarchyNodeSubTreeSize AS HierarchyNodeSubTreeSize,
I_PurchaseContractItemWD.HierarchyDrillState AS HierarchyDrillState,
I_PurchaseContractItemWD.HierarchyNodeOrdinalNumber AS HierarchyNodeOrdinalNumber,
I_PurchaseContractItemWD.IsOutline AS IsOutline,
_PurContrAcctAssgmtCatVH.AcctAssignmentCategoryName AS AcctAssignmentCategoryName,
_PurContractItmReplnmtElmntVH.KanbanStatusName AS KanbanStatusName,
_InfoRecordUpdateCodeVH.PurchasingInfoRecordDesc AS PurchasingInfoRecordDesc,
cast ('' as boolean) AS SrvcProcmtItmHierIsEnbld,
_PurgProdCmplncSupplierStsT.PurgProdCmplncSupplierStsName AS PurgProdCmplncSupplierStsName,
cast ('' as abap.char( 1 ) ) AS UICT_PurgProdCmplncSupplierSts,
cast ('' as boolean) AS ProductComplianceIsActive,
cast ('' as ehfnd_bf_pcs_is_active) AS BusFtreProdCmplncSuplrIsActive,
_PurchaseContractWD.PurgDocIsChgVers AS PurgDocIsChgVers,
_PurContrItmCnsmpnPercentage.ContractConsumptionInPct AS ContractConsumptionInPct,
_Plant.PlantName AS PlantName,
_PurchaseContractWD.Supplier AS Supplier
FROM I_PurchaseContractItemWD
LEFT OUTER JOIN I_QuantityContractPrediction AS _PredictedDate ON PurchaseContract = _PredictedDate.PurchaseContract AND PurchaseContractItem = _PredictedDate.PurchaseContractItem -- association [1..1]
LEFT OUTER JOIN C_ContractMaintain AS _PurchaseContractWD ON PurchaseContract = _PurchaseContractWD.PurchaseContract -- association [1..1]
LEFT OUTER JOIN C_Purctraccassign AS _PurCtrAccountWD ON PurchaseContractItem = _PurCtrAccountWD.PurchaseContractItem AND PurchaseContract = _PurCtrAccountWD.PurchaseContract -- association [0..*]
LEFT OUTER JOIN C_PurCtrItemAddress AS _PurCtrAddressWD ON PurchaseContract = _PurCtrAddressWD.PurchaseContract AND PurchaseContractItem = _PurCtrAddressWD.PurchaseContractItem -- association [1..1]
LEFT OUTER JOIN C_Contracthistory AS _ContractHistory ON PurchaseContractItem = _ContractHistory.PurchaseContractItem AND PurchaseContract = _ContractHistory.PurchaseContract -- association [0..*]
LEFT OUTER JOIN C_PurCtrItemnotes AS _PurctritnotesWD ON PurchaseContractItem = _PurctritnotesWD.PurchaseContractItem AND PurchaseContract = _PurctritnotesWD.PurchaseContract -- association [0..*]
LEFT OUTER JOIN I_Purcontracttaxcodevh AS _Purcontracttaxcodevh ON TaxCode = _Purcontracttaxcodevh.TaxCode -- association [1..*]
LEFT OUTER JOIN C_ContractPrdTypeVH AS _ContractPrdTypeVH ON ProductType = _ContractPrdTypeVH.ProductType -- association [0..1]
LEFT OUTER JOIN C_MM_ServicePerformerValueHelp AS _ServicePerformerVH ON ServicePerformer = _ServicePerformerVH.ServicePerformer -- association [0..*]
LEFT OUTER JOIN C_Mm_Shipinstructionvaluehelp AS _ShipInstrVH ON ShippingInstruction = _ShipInstrVH.ShippingInstruction -- association [0..1]
LEFT OUTER JOIN C_MM_PlantValueHelp AS _PlantValueHelp ON _PlantValueHelp.Plant = Plant AND _PlantValueHelp.PurchasingOrganization = purchasingorganization -- association [0..1]
LEFT OUTER JOIN I_Contrconfirmationcontrol AS _Purcontractcnfrmctrlvh ON SupplierConfirmationControlKey = _Purcontractcnfrmctrlvh.SupplierConfirmationControlKey -- association [1..1]
LEFT OUTER JOIN I_PurCtrStockType AS _PurCtrStockType ON StockType = _PurCtrStockType.StockType -- association [1..1]
LEFT OUTER JOIN C_MultiAcctgDistrIndValueAdjVH AS _MltplAcctAssgmtDistrVH ON MultipleAcctAssgmtDistribution = _MltplAcctAssgmtDistrVH.MultipleAcctAssgmtDistribution -- association [0..1]
LEFT OUTER JOIN C_PartialInvoiceIndVH AS _PartialInvoiceIndVH ON PartialInvoiceDistribution = _PartialInvoiceIndVH.PartialInvoiceDistribution -- association [0..1]
LEFT OUTER JOIN C_PartialGoodsReceiptIndVH AS _PartialGoodsReceiptIndVH ON PartialInvoiceDistribution = _PartialGoodsReceiptIndVH.PartialInvoiceDistribution -- association [0..1]
LEFT OUTER JOIN C_MM_MaterialGroupValueHelp AS _MaterialGroupValueHelp ON MaterialGroup = _MaterialGroupValueHelp.MaterialGroup -- association [0..1]
LEFT OUTER JOIN C_PurContractItmReplnmtElmntVH AS _PurContractItmReplnmtElmntVH ON PurContractItmReplnmtElmntType = _PurContractItmReplnmtElmntVH.PurContractItmReplnmtElmntType -- association [0..1]
LEFT OUTER JOIN C_PurgInfoRecordUpdateCodeVH AS _InfoRecordUpdateCodeVH ON IsInfoRecordUpdated = _InfoRecordUpdateCodeVH.PurchasingInfoRecordUpdateCode AND _InfoRecordUpdateCodeVH.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN C_SourceOfSupply AS _SourceOfSupply ON PurchaseContract = _SourceOfSupply.PurchaseContract AND PurchaseContractItem = _SourceOfSupply.PurchaseContractItem AND Material = _SourceOfSupply.Material AND Plant = _SourceOfSupply.Plant AND Material <> '' -- association [0..*]
LEFT OUTER JOIN C_PurContrItemCategoryVH AS _PurContrItemCategoryVH ON PurchasingDocumentItemCategory = _PurContrItemCategoryVH.PurchasingDocumentItemCategory -- association [0..1]
LEFT OUTER JOIN C_PurContrAcctAssgmtCatVH AS _PurContrAcctAssgmtCatVH ON AccountAssignmentCategory = _PurContrAcctAssgmtCatVH.AccountAssignmentCategory -- association [0..1]
LEFT OUTER JOIN C_PurContrItmCndnValdtyTP AS _PurContrItmCndnValdtyTP ON PurchaseContract = _PurContrItmCndnValdtyTP.PurchaseContract AND PurchaseContractItem = _PurContrItmCndnValdtyTP.PurchaseContractItem -- association [0..*]
LEFT OUTER JOIN I_PurgProdCmplncSupplierStsT AS _PurgProdCmplncSupplierStsT ON PurgProdCmplncSupplierStatus = _PurgProdCmplncSupplierStsT.PurgProdCmplncSupplierStatus AND _PurgProdCmplncSupplierStsT.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_PurContrItmCnsmpnPercentage AS _PurContrItmCnsmpnPercentage ON PurchaseContract = _PurContrItmCnsmpnPercentage.PurchaseContract AND PurchaseContractItem = _PurContrItmCnsmpnPercentage.PurchaseContractItem -- association [1..1]
LEFT OUTER JOIN I_SupplierSubrange AS _SupplierSubrange ON SupplierSubrange = _SupplierSubrange.SupplierSubrange -- association [0..*]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup -- association [0..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA