C_PurCntrlContrItmMassUpdt

DDL: C_PURCNTRLCONTRITMMASSUPDT SQL: CCNTRLCTRITMMASS Type: view CONSUMPTION Package: ODATA_MM_PUR_CCTRMASS_UPDATE

Mass Changes to Central Contract Items

C_PurCntrlContrItmMassUpdt is a Consumption CDS View that provides data about "Mass Changes to Central Contract Items" in SAP S/4HANA. It reads from 1 data source (I_CntrlPurchaseContractItem) and exposes 115 fields with key fields CentralPurchaseContract, CentralPurchaseContractItem. It has 12 associations to related views. It is exposed through 1 OData service (ASQL_F3792). Part of development package ODATA_MM_PUR_CCTRMASS_UPDATE.

Data Sources (1)

SourceAliasJoin Type
I_CntrlPurchaseContractItem I_CntrlPurchaseContractItem from

Associations (12)

CardinalityTargetAliasCondition
[1..1] I_CentralPurchaseContract _CentralPurchaseContract $projection.CentralPurchaseContract = _CentralPurchaseContract.CentralPurchaseContract
[0..1] C_MM_MaterialGroupValueHelp _MaterialGroupValueHelp _MaterialGroupValueHelp.MaterialGroup = $projection.MaterialGroup
[0..1] C_ContractPrdTypeVH _ProductTypeHelp _ProductTypeHelp.ProductType = $projection.ProductTypeCode
[1..1] C_CntrlPurContrTypeValueHelp _CntrlPurContrTypeValueHelp $projection.PurchaseContractType = _CntrlPurContrTypeValueHelp.PurchasingDocumentType
[1..1] C_MassUpdtConfCtrlVH _ConfirmationControlVH $projection.SupplierConfirmationControlKey = _ConfirmationControlVH.SupplierConfirmationControlKey
[0..1] C_Mm_Shipinstructionvaluehelp _Mm_Shipinstructionvaluehelp _Mm_Shipinstructionvaluehelp.ShippingInstruction = $projection.ShippingInstruction
[0..1] C_SchedAgrmtMassUpdtStkTypeVH _SchedAgrmtMassUpdtStkTypeVH _SchedAgrmtMassUpdtStkTypeVH.DomainValue = $projection.StockType
[0..1] I_CentralPurchaseContractTP _CentralPurchaseContractMass $projection.CentralPurchaseContract = _CentralPurchaseContractMass.CentralPurchaseContract
[0..1] P_SGBT_NTE_CDS_APITP _PurchaseNote $projection.CentralPurchaseContract = _PurchaseNote.ObjectID and _PurchaseNote.ObjectNodeType = 'CentralPurchaseContract' and _PurchaseNote.NoteType = 'CH16' and _PurchaseNote.LanguageCode = $session.system_language --Extension
[1..1] E_PurchasingDocumentItem _PurchasingDocItemExtension $projection.CentralPurchaseContract = _PurchasingDocItemExtension.PurchasingDocument and $projection.CentralPurchaseContractItem = _PurchasingDocItemExtension.PurchasingDocumentItem --Extension
[1..1] E_PurchasingDocument _PurchasingDocumentExtension $projection.CentralPurchaseContract = _PurchasingDocumentExtension.PurchasingDocument
[0..1] I_CntrlPurContrAggrgnDistrSts _CntrlPurContrAggrgnDistrSts $projection.CentralPurchaseContract = _CntrlPurContrAggrgnDistrSts.CentralPurchaseContract

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CCNTRLCTRITMMASS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Mass Changes to Central Contract Items view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.updateEnabled true view
ObjectModel.createEnabled true view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #NONE view
UI.headerInfo.typeName Central Purchase Contract Item view
UI.headerInfo.typeNamePlural Central Purchase Contract Items view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3792 ASQL_F3792 C2 NOT_RELEASED

Fields (115)

KeyFieldSource TableSource FieldDescription
KEY CentralPurchaseContract CentralPurchaseContract Central Contract
KEY CentralPurchaseContractItem CentralPurchaseContractItem Item
ActivePurchasingDocument ActivePurchasingDocument Central Contract
FormattedPurchaseContractItem Central Contract Item
PurchaseContractType PurchaseContractType Contract Type
PurchasingDocumentTypeName _CntrlPurContrTypeValueHelp PurchasingDocumentTypeName Description
ProductType ProductType Product Type
ProductTypeCode ProductTypeCode Product Type
ProductTypeName _ProductTypeHelp ProductTypeName Description
MaterialGroup MaterialGroup Product Group
MaterialGroupName _MaterialGroupValueHelp MaterialGroupName prod Grp Desc.
Material PurchasingCentralMaterial Material
MaterialDescription PurchaseContractItemText Material Description
TargetQuantity TargetQuantity Target Quantity
OrderQuantityUnit OrderQuantityUnit Sales Unit
PurgDocReleaseOrderQuantity PurgDocReleaseOrderQuantity Release Order Quantity
ContractNetPriceAmount ContractNetPriceAmount Net Order Price
DocumentCurrency DocumentCurrency Document Currency
NetPriceQuantity NetPriceQuantity Price Unit
OrderPriceUnit OrderPriceUnit Order Price Un.
CntrlPurContrItmTargetAmount CntrlPurContrItmTargetAmount Target Value
NoDaysReminder1 NoDaysReminder1 1st Reminder/Expeditor
NoDaysReminder2 NoDaysReminder2 2nd Reminder/Expeditor
NoDaysReminder3 NoDaysReminder3 3rd Reminder/Expeditor
SupplierConfirmationControlKey SupplierConfirmationControlKey Confirmation Control
SupplierConfControlKeyName _ConfirmationControlVH SupplierConfControlKeyName
PurgDocOrderAcknNumber PurgDocOrderAcknNumber Order Acknowledgement Number
RequirementTracking RequirementTracking Requirement Tracking Number
SupplierMaterialNumber SupplierMaterialNumber Supplier Material Number
IsOrderAcknRqd IsOrderAcknRqd Acknowledge Requirement
PurgDocEstimatedPrice PurgDocEstimatedPrice Estimated Price
PriceIsToBePrinted PriceIsToBePrinted Print Price
UnderdelivTolrtdLmtRatioInPct UnderdelivTolrtdLmtRatioInPct Undelivery Tolerance in %
OverdelivTolrtdLmtRatioInPct OverdelivTolrtdLmtRatioInPct Overdelivery Tolerance in %
UnlimitedOverdeliveryIsAllowed UnlimitedOverdeliveryIsAllowed Unlimited Overdelivery
StockType StockType Stock Type
DomainText _SchedAgrmtMassUpdtStkTypeVH DomainText Short Description
TaxCode TaxCode Tax Code
ShippingInstruction ShippingInstruction Shipping Instruction
ShippingInstructionName _Mm_Shipinstructionvaluehelp ShippingInstructionName
IsInfoAtRegistration IsInfoAtRegistration Info at Registration
GoodsReceiptIsExpected GoodsReceiptIsExpected Goods Receipt
GoodsReceiptIsNonValuated GoodsReceiptIsNonValuated Non-Valuated Goods Receipt
InvoiceIsExpected InvoiceIsExpected Invoice Receipt
InvoiceIsGoodsReceiptBased InvoiceIsGoodsReceiptBased GR based Invoice Verification
EvaldRcptSettlmtIsAllowed EvaldRcptSettlmtIsAllowed Evaluated Receipt Settlement
PurchasingDocumentItemCategory PurchasingDocumentItemCategory Item Category
OrdPriceUnitToOrderUnitDnmntr OrdPriceUnitToOrderUnitDnmntr Denominator of Conv. of Order Price Unit
OrderPriceUnitToOrderUnitNmrtr OrderPriceUnitToOrderUnitNmrtr Numerator of Conv. of Order Price Unit
PlannedDeliveryDurationInDays PlannedDeliveryDurationInDays Planned Delivery Duration in Days
PricingDateControl PricingDateControl Pricing Date Control
PurchasingOrganization _CentralPurchaseContract PurchasingOrganization Central Purchasing Organization
PurchasingOrganizationName
PurchasingGroup _CentralPurchaseContract PurchasingGroup Central Purchasing Group
PurchasingGroupName
CompanyCode _CentralPurchaseContract CompanyCode Central Company Code
CompanyCodeName
Supplier _CentralPurchaseContract Supplier Supplier
SupplierName
ValidityStartDate _CentralPurchaseContract ValidityStartDate Valid From
ValidityEndDate _CentralPurchaseContract ValidityEndDate Valid To
PurchaseContractTargetAmount _CentralPurchaseContract PurchaseContractTargetAmount Target Value
Currency _CentralPurchaseContract Currency Valuation Crcy
CurrencyName
PurchasingProcessingStatus Distribution Status
ItemDistributionStatusName
PurchasingDocumentStatus _CentralPurchaseContract PurchasingProcessingStatus Status
DocumentStatusName
CreatedByUser _CentralPurchaseContract CreatedByUser User Name
UserDescription
CreationDate _CentralPurchaseContract CreationDate Time Stamp
IsEndOfPurposeBlocked _CentralPurchaseContract IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
PaymentTerms _CentralPurchaseContract PaymentTerms Payment Terms
PaymentTermsName
CashDiscount1Days _CentralPurchaseContract CashDiscount1Days First Payment in Days
CashDiscount1Percent _CentralPurchaseContract CashDiscount1Percent Discount for First Payment in %
CashDiscount2Days _CentralPurchaseContract CashDiscount2Days Second Payment in Days
CashDiscount2Percent _CentralPurchaseContract CashDiscount2Percent Discount for Second Payment in %
NetPaymentDays _CentralPurchaseContract NetPaymentDays Cash Discount Days
IncotermsClassification _CentralPurchaseContract IncotermsClassification Incoterm
IncotermsClassificationName
IncotermsLocation1 _CentralPurchaseContract IncotermsLocation1 Incoterm Location 1
IncotermsLocation2 _CentralPurchaseContract IncotermsLocation2 Incoterm Location 2
IncotermsVersion _CentralPurchaseContract IncotermsVersion Incoterms Version
IncotermsVersionName
QuotationSubmissionDate _CentralPurchaseContract QuotationSubmissionDate Quotation Date
SupplierQuotation _CentralPurchaseContract SupplierQuotation Quotation
CorrespncExternalReference _CentralPurchaseContract CorrespncExternalReference Your Reference
CorrespncInternalReference _CentralPurchaseContract CorrespncInternalReference Our Reference
SupplierRespSalesPersonName _CentralPurchaseContract SupplierRespSalesPersonName Salesperson
SupplierPhoneNumber _CentralPurchaseContract SupplierPhoneNumber Telephone
ContrItemIsCreated Is New
PurchasingContractDeletionCode PurchasingContractDeletionCode Del. Indicator
PurchasingDocVersionReasonCode _CentralPurchaseContract PurchasingDocVersionReasonCode Reason for Change
PurchasingDocVersionReasonText
PurgDocNoteText _PurchaseNote Content Purchaser Note
CntrlPurContrDistributionPct Distribution %
CntrlPurContrItmDistrPct
ProcmtHubPurchasingOrg Connected Purchasing Organization
ProcmtHubPurchasingGroup Connected Purchasing Group
ProcmtHubCompanyCode Connected Company Code
Plant Connected Plant
ReleaseDateTime
InternalComment
PurchasingDocInclusionList
PurchasingDocExclusionList
PurOrdItemsAreSelected
PurOrdHeadersAreSelected
_CentralPurchaseContract _CentralPurchaseContract
_MaterialGroupValueHelp _MaterialGroupValueHelp
_CentralPurchaseContractMass _CentralPurchaseContractMass
_ProductTypeHelp _ProductTypeHelp
_ConfirmationControlVH _ConfirmationControlVH
_Mm_Shipinstructionvaluehelp _Mm_Shipinstructionvaluehelp
_SchedAgrmtMassUpdtStkTypeVH _SchedAgrmtMassUpdtStkTypeVH

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_PurCntrlContrItmMassUpdt.
-- 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: CCNTRLCTRITMMASS

CREATE VIEW C_PurCntrlContrItmMassUpdt AS
SELECT
  CentralPurchaseContract,
  CentralPurchaseContractItem,
  ActivePurchasingDocument,
  cast (concat(concat(ActivePurchasingDocument, '/'), CentralPurchaseContractItem) as formattedcontractitem) AS FormattedPurchaseContractItem,
  PurchaseContractType,
  _CntrlPurContrTypeValueHelp.PurchasingDocumentTypeName AS PurchasingDocumentTypeName,
  ProductType,
  ProductTypeCode,
  _ProductTypeHelp.ProductTypeName AS ProductTypeName,
  MaterialGroup,
  _MaterialGroupValueHelp.MaterialGroupName AS MaterialGroupName,
  PurchasingCentralMaterial AS Material,
  PurchaseContractItemText AS MaterialDescription,
  TargetQuantity,
  OrderQuantityUnit,
  PurgDocReleaseOrderQuantity,
  ContractNetPriceAmount,
  DocumentCurrency,
  NetPriceQuantity,
  OrderPriceUnit,
  CntrlPurContrItmTargetAmount,
  NoDaysReminder1,
  NoDaysReminder2,
  NoDaysReminder3,
  SupplierConfirmationControlKey,
  _ConfirmationControlVH.SupplierConfControlKeyName AS SupplierConfControlKeyName,
  PurgDocOrderAcknNumber,
  RequirementTracking,
  SupplierMaterialNumber,
  IsOrderAcknRqd,
  PurgDocEstimatedPrice,
  PriceIsToBePrinted,
  UnderdelivTolrtdLmtRatioInPct,
  OverdelivTolrtdLmtRatioInPct,
  UnlimitedOverdeliveryIsAllowed,
  StockType,
  _SchedAgrmtMassUpdtStkTypeVH.DomainText AS DomainText,
  TaxCode,
  ShippingInstruction,
  _Mm_Shipinstructionvaluehelp.ShippingInstructionName AS ShippingInstructionName,
  IsInfoAtRegistration,
  GoodsReceiptIsExpected,
  GoodsReceiptIsNonValuated,
  InvoiceIsExpected,
  InvoiceIsGoodsReceiptBased,
  EvaldRcptSettlmtIsAllowed,
  PurchasingDocumentItemCategory,
  OrdPriceUnitToOrderUnitDnmntr,
  OrderPriceUnitToOrderUnitNmrtr,
  PlannedDeliveryDurationInDays,
  PricingDateControl,
  _CentralPurchaseContract.PurchasingOrganization AS PurchasingOrganization,
  _CentralPurchaseContract._PurchasingOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
  _CentralPurchaseContract.PurchasingGroup AS PurchasingGroup,
  _CentralPurchaseContract._PurchasingGroup.PurchasingGroupName AS PurchasingGroupName,
  _CentralPurchaseContract.CompanyCode AS CompanyCode,
  _CentralPurchaseContract._CompanyCode.CompanyCodeName AS CompanyCodeName,
  _CentralPurchaseContract.Supplier AS Supplier,
  _CentralPurchaseContract._Supplier.SupplierName AS SupplierName,
  _CentralPurchaseContract.ValidityStartDate AS ValidityStartDate,
  _CentralPurchaseContract.ValidityEndDate AS ValidityEndDate,
  _CentralPurchaseContract.PurchaseContractTargetAmount AS PurchaseContractTargetAmount,
  _CentralPurchaseContract.Currency AS Currency,
  _CentralPurchaseContract._DocumentCurrency._Text[1: Language = $session.system_language ].CurrencyName AS CurrencyName,
  cast( _CntrlPurContrAggrgnDistrSts.CntrlPurContrDistributionSts as me_distribution_status ) AS PurchasingProcessingStatus,
  _CntrlPurContrAggrgnDistrSts._CntrlPurContrDistrStatusText.ItemDistributionStatusName AS ItemDistributionStatusName,
  _CentralPurchaseContract.PurchasingProcessingStatus AS PurchasingDocumentStatus,
  _CentralPurchaseContractMass._CntrlPurContrStatusText.DocumentStatusName AS DocumentStatusName,
  _CentralPurchaseContract.CreatedByUser AS CreatedByUser,
  _CentralPurchaseContract._CreatedByUser.UserDescription AS UserDescription,
  _CentralPurchaseContract.CreationDate AS CreationDate,
  _CentralPurchaseContract.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
  _CentralPurchaseContract.PaymentTerms AS PaymentTerms,
  _CentralPurchaseContract._PaymentTerms._Text[1: Language = $session.system_language ].PaymentTermsName AS PaymentTermsName,
  _CentralPurchaseContract.CashDiscount1Days AS CashDiscount1Days,
  _CentralPurchaseContract.CashDiscount1Percent AS CashDiscount1Percent,
  _CentralPurchaseContract.CashDiscount2Days AS CashDiscount2Days,
  _CentralPurchaseContract.CashDiscount2Percent AS CashDiscount2Percent,
  _CentralPurchaseContract.NetPaymentDays AS NetPaymentDays,
  _CentralPurchaseContract.IncotermsClassification AS IncotermsClassification,
  _CentralPurchaseContract._IncotermsClassification._Text[1: Language = $session.system_language ].IncotermsClassificationName AS IncotermsClassificationName,
  _CentralPurchaseContract.IncotermsLocation1 AS IncotermsLocation1,
  _CentralPurchaseContract.IncotermsLocation2 AS IncotermsLocation2,
  _CentralPurchaseContract.IncotermsVersion AS IncotermsVersion,
  _CentralPurchaseContract._IncotermsVersion._Text[1: Language = $session.system_language].IncotermsVersionName AS IncotermsVersionName,
  _CentralPurchaseContract.QuotationSubmissionDate AS QuotationSubmissionDate,
  _CentralPurchaseContract.SupplierQuotation AS SupplierQuotation,
  _CentralPurchaseContract.CorrespncExternalReference AS CorrespncExternalReference,
  _CentralPurchaseContract.CorrespncInternalReference AS CorrespncInternalReference,
  _CentralPurchaseContract.SupplierRespSalesPersonName AS SupplierRespSalesPersonName,
  _CentralPurchaseContract.SupplierPhoneNumber AS SupplierPhoneNumber,
  cast ('' as xfeld) AS ContrItemIsCreated,
  PurchasingContractDeletionCode,
  _CentralPurchaseContract.PurchasingDocVersionReasonCode AS PurchasingDocVersionReasonCode,
  _CentralPurchaseContract._VersionReasonValHelp.PurchasingDocVersionReasonText AS PurchasingDocVersionReasonText,
  _PurchaseNote.Content AS PurgDocNoteText,
  cast(0 as mm_purgdoc_distr_pct) AS CntrlPurContrDistributionPct,
  cast(0 as mm_purgdoc_distr_pct) AS CntrlPurContrItmDistrPct,
  cast ('' as ekorg) AS ProcmtHubPurchasingOrg,
  cast('' as bkgrp) AS ProcmtHubPurchasingGroup,
  cast('' as bukrs) AS ProcmtHubCompanyCode,
  cast('' as ewerk ) AS Plant,
  cast('00000000000000' as abap.char( 30 )) AS ReleaseDateTime,
  cast ('' as abap.char( 120 )) AS InternalComment,
  cast ('' as abap.sstring( 1332 )) AS PurchasingDocInclusionList,
  cast ('' as abap.sstring( 1332 )) AS PurchasingDocExclusionList,
  cast ('' as abap.char( 1 )) AS PurOrdItemsAreSelected,
  cast ('' as abap.char( 1 )) AS PurOrdHeadersAreSelected
FROM I_CntrlPurchaseContractItem
LEFT OUTER JOIN I_CentralPurchaseContract AS _CentralPurchaseContract ON CentralPurchaseContract = _CentralPurchaseContract.CentralPurchaseContract  -- association [1..1]
LEFT OUTER JOIN C_MM_MaterialGroupValueHelp AS _MaterialGroupValueHelp ON _MaterialGroupValueHelp.MaterialGroup = MaterialGroup  -- association [0..1]
LEFT OUTER JOIN C_ContractPrdTypeVH AS _ProductTypeHelp ON _ProductTypeHelp.ProductType = ProductTypeCode  -- association [0..1]
LEFT OUTER JOIN C_CntrlPurContrTypeValueHelp AS _CntrlPurContrTypeValueHelp ON PurchaseContractType = _CntrlPurContrTypeValueHelp.PurchasingDocumentType  -- association [1..1]
LEFT OUTER JOIN C_MassUpdtConfCtrlVH AS _ConfirmationControlVH ON SupplierConfirmationControlKey = _ConfirmationControlVH.SupplierConfirmationControlKey  -- association [1..1]
LEFT OUTER JOIN C_Mm_Shipinstructionvaluehelp AS _Mm_Shipinstructionvaluehelp ON _Mm_Shipinstructionvaluehelp.ShippingInstruction = ShippingInstruction  -- association [0..1]
LEFT OUTER JOIN C_SchedAgrmtMassUpdtStkTypeVH AS _SchedAgrmtMassUpdtStkTypeVH ON _SchedAgrmtMassUpdtStkTypeVH.DomainValue = StockType  -- association [0..1]
LEFT OUTER JOIN I_CentralPurchaseContractTP AS _CentralPurchaseContractMass ON CentralPurchaseContract = _CentralPurchaseContractMass.CentralPurchaseContract  -- association [0..1]
LEFT OUTER JOIN P_SGBT_NTE_CDS_APITP AS _PurchaseNote ON CentralPurchaseContract = _PurchaseNote.ObjectID AND _PurchaseNote.ObjectNodeType = 'CentralPurchaseContract' AND _PurchaseNote.NoteType = 'CH16' AND _PurchaseNote.LanguageCode = $session.system_language  -- association [0..1]
LEFT OUTER JOIN E_PurchasingDocumentItem AS _PurchasingDocItemExtension ON CentralPurchaseContract = _PurchasingDocItemExtension.PurchasingDocument AND CentralPurchaseContractItem = _PurchasingDocItemExtension.PurchasingDocumentItem  -- association [1..1]
LEFT OUTER JOIN E_PurchasingDocument AS _PurchasingDocumentExtension ON CentralPurchaseContract = _PurchasingDocumentExtension.PurchasingDocument  -- association [1..1]
LEFT OUTER JOIN I_CntrlPurContrAggrgnDistrSts AS _CntrlPurContrAggrgnDistrSts ON CentralPurchaseContract = _CntrlPurContrAggrgnDistrSts.CentralPurchaseContract  -- association [0..1]
;