Deprecated
This CDS view is deprecated in S/4HANA. View all deprecated CDS views →

C_PurgOrdMassUpdtStruc

DDL: C_PURGORDMASSUPDTSTRUC SQL: CPOMASUPDTSTRT Type: view CONSUMPTION

Mass Change to Purchase Order

C_PurgOrdMassUpdtStruc is a Consumption CDS View that provides data about "Mass Change to Purchase Order" in SAP S/4HANA. It reads from 1 data source (P_PurchaseOrderMassUpdate) and exposes 122 fields with key field FormattedPurDoc. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_PurchaseOrderMassUpdate P_PurchaseOrderMassUpdate from

Associations (4)

CardinalityTargetAliasCondition
[0..1] C_PurgOrdMassUpdtNode _Node $projection.FormattedPurDoc = _Node.FormattedPurDoc
[0..1] C_MM_AccountAssignCatValueHelp _AccountAssignCategoryVH $projection.AccountAssignmentCategory = _AccountAssignCategoryVH.AccountAssignmentCategory
[0..1] C_MM_TaxJurisdictionVH _PurOrdTaxJurisdictionValHelp _PurOrdTaxJurisdictionValHelp.TaxJurisdiction = $projection.TaxJurisdiction
[0..1] I_ProcmtPricingDateControl _PricingDateControlValHelp _PricingDateControlValHelp.PricingDateControl = $projection.PricingDateControl

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPOMASUPDTSTRT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Mass Change to Purchase Order view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey FormattedPurDoc view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor view

Fields (122)

KeyFieldSource TableSource FieldDescription
KEY FormattedPurDoc FormattedPurDoc
FormattedPurchasingDocItem FormattedPurchasingDocItem
PurchaseOrder PurchaseOrder Purchasing Document
PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
NumberOfPurchaseOrderItems NumberOfPurchaseOrderItems Number of PO Items
ParentNode ParentNode Parent Node
NumberOfItems NumberOfItems
ReleaseDateTime ReleaseDateTime Composition Released On
InternalComment InternalComment Comment
MemoLine MemoLine Memo Line
DefectCodeText DefectCodeText
ItemIsSelectedForProcessing ItemIsSelectedForProcessing
PurgDocMassUpdtIsSimulated PurgDocMassUpdtIsSimulated
Supplier Supplier Supplier
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingDocumentType PurchaseOrderType PO Type
PurchasingDocumentOrigin PurchasingDocumentOrigin Status
CompanyCode CompanyCode Receiver Company Code
Plant Plant Valuation Area
Material Material Vehicle Model
PaymentTerms PaymentTerms Pyt Terms
CashDiscount1Days CashDiscount1Days Days from Baseline Date for Payment
CashDiscount2Days CashDiscount2Days Days from Baseline Date for Payment
NetPaymentDays NetPaymentDays Net Pmt Terms Period
CashDiscount1Percent CashDiscount1Percent Disc. Percent 1
CashDiscount2Percent CashDiscount2Percent Disc. Percent 2
PurchasingGroup PurchasingGroup Purchasing Group
DocumentCurrency DocumentCurrency Document Currency
SupplierRespSalesPersonName SupplierRespSalesPersonName Salesperson
SupplierPhoneNumber SupplierPhoneNumber Telephone
SupplyingSupplier SupplyingSupplier Goods Supplier
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
InvoicingParty InvoicingParty Supplier
InvoicingPartyName InvoicingPartyName Supplier Name
ExchangeRate ExchangeRate Exchange rate
IncotermsVersion IncotermsVersion Inco. Version
HeaderIncotermsLoc1 HeaderIncotermsLoc1
HeaderIncotermsLoc2 HeaderIncotermsLoc2
PaymentTermsName PaymentTermsName Description
IncotermsClassificationName IncotermsClassificationName Incoterms Classification Description
SupplierName SupplierName Supplier Name
PurchasingDocumentTypeName PurchasingDocumentTypeName Description
PurchasingOrganizationName PurchasingOrganizationName Purch. Org. Name
PurchasingGroupName PurchasingGroupName Purchasing Grp. Name
PurchasingDocumentDeletionCode PurchasingDocumentDeletionCode Del. Indicator
ManufacturerMaterial ManufacturerMaterial MPN: Material
StorageLocation StorageLocation StorageLocation
StorageLocationName StorageLocationName Storage Loc. Name
MaterialGroup MaterialGroup Product Group
MaterialGroupName MaterialGroupName prod Grp Desc.
PurchasingInfoRecord PurchasingInfoRecord Info Record
SupplierMaterialNumber SupplierMaterialNumber Supp. Mat. No.
OrderPriceUnitToOrderUnitNmrtr OrderPriceUnitToOrderUnitNmrtr Quantity Conversion Numerator
OrdPriceUnitToOrderUnitDnmntr OrdPriceUnitToOrderUnitDnmntr Quantity Conversion Denominator
OrderItemQtyToBaseQtyNmrtr OrderItemQtyToBaseQtyNmrtr Equal To
OrderItemQtyToBaseQtyDnmntr OrderItemQtyToBaseQtyDnmntr Denominator
NetPriceQuantity NetPriceQuantity Price Unit
NetAmount NetAmount Stated Amount
TaxCode TaxCode Tax Code
PriceIsToBePrinted PriceIsToBePrinted Print Price
OverdelivTolrtdLmtRatioInPct OverdelivTolrtdLmtRatioInPct Overdeliv. Tol.
UnlimitedOverdeliveryIsAllowed UnlimitedOverdeliveryIsAllowed Unlimited Tol.
UnderdelivTolrtdLmtRatioInPct UnderdelivTolrtdLmtRatioInPct Underdel. Tol.
ValuationType ValuationType Valuation Type
IsCompletelyDelivered IsCompletelyDelivered Is completely delivered
IsFinallyInvoiced IsFinallyInvoiced Final Invoice
PurchaseOrderItemCategory PurchaseOrderItemCategory Item Category
AccountAssignmentCategory AccountAssignmentCategory Acct Assgmt Cat
AcctAssignmentCategoryName _AccountAssignCategoryVH AcctAssignmentCategoryName Description
MultipleAcctAssgmtDistribution MultipleAcctAssgmtDistribution Distribution
PartialInvoiceDistribution PartialInvoiceDistribution Partial invoice
GoodsReceiptIsExpected GoodsReceiptIsExpected Goods Receipt
GoodsReceiptIsNonValuated GoodsReceiptIsNonValuated GR Non-Valuated
InvoiceIsExpected InvoiceIsExpected Invoice Receipt
InvoiceIsGoodsReceiptBased InvoiceIsGoodsReceiptBased GR-Based IV
BaseUnit BaseUnit Unit of Measure
EffectiveAmount EffectiveAmount Effective value
ItemNetWeight ItemNetWeight Net Weight
ItemWeightUnit ItemWeightUnit Unit of Weight
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
TaxJurisdictionName _PurOrdTaxJurisdictionValHelp TaxJurisdictionName Description
InternationalArticleNumber InternationalArticleNumber EAN/UPC
SupplierConfirmationControlKey SupplierConfirmationControlKey Conf. Control
ProfitCenter ProfitCenter Profit Center
PricingDateControl PricingDateControl Pr. Date Cat.
ItemVolume ItemVolume Volume
ItemVolumeUnit ItemVolumeUnit Volume Unit
ItemIncotermsClassification ItemIncotermsClassification Incoterms
ItemIncotermsTransferLocation ItemIncotermsTransferLocation Incoterms 2
SupplierSubrange SupplierSubrange Suppl. Subrange
ServicePackage ServicePackage Package number
EvaldRcptSettlmtIsAllowed EvaldRcptSettlmtIsAllowed ERS
IsReturnsItem IsReturnsItem Returns Item
EarmarkedFunds EarmarkedFunds Earmarked Funds
EarmarkedFundsItem EarmarkedFundsItem Document Item
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
ServicePerformer ServicePerformer Service Performer
ProductType ProductType Product Type Group
ProductTypeName ProductTypeName Description
OrderPriceUnit OrderPriceUnit Order Price Un.
IsBusinessPurposeCompleted IsBusinessPurposeCompleted Purpose Completed
PurchasingDocumentStatus PurchasingDocumentStatus Short Description
MaterialName MaterialName Material Description
PurchaseOrderItemText PurchaseOrderItemText Short Text
PlantName PlantName Plant Name
CompanyCodeName CompanyCodeName Company Name
PurchasingDocumentStatusName PurchasingDocumentStatusName
PurgDocItemCategoryName PurgDocItemCategoryName Text for ItCat.
SemanticObject SemanticObject Semantic Object
NumberOfScheduleLines
ScheduleLine
PerformancePeriodStartDate PerformancePeriodStartDate Start of Performance Period
PerformancePeriodEndDate PerformancePeriodEndDate End of Performance Period
ScheduleLineDeliveryDate
ScheduleLineOrderQuantity
PurchaseOrderQuantityUnit PurchaseOrderQuantityUnit Order Unit
_Node _Node
_AccountAssignCategoryVH _AccountAssignCategoryVH
_PurOrdTaxJurisdictionValHelp _PurOrdTaxJurisdictionValHelp
_PricingDateControlValHelp _PricingDateControlValHelp

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_PurgOrdMassUpdtStruc.
-- 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: CPOMASUPDTSTRT

CREATE VIEW C_PurgOrdMassUpdtStruc AS
SELECT
  FormattedPurDoc,
  FormattedPurchasingDocItem,
  PurchaseOrder,
  PurchaseOrderItem,
  NumberOfPurchaseOrderItems,
  ParentNode,
  NumberOfItems,
  ReleaseDateTime,
  InternalComment,
  MemoLine,
  DefectCodeText,
  ItemIsSelectedForProcessing,
  PurgDocMassUpdtIsSimulated,
  Supplier,
  PurchasingOrganization,
  PurchaseOrderType AS PurchasingDocumentType,
  PurchasingDocumentOrigin,
  CompanyCode,
  Plant,
  Material,
  PaymentTerms,
  CashDiscount1Days,
  CashDiscount2Days,
  NetPaymentDays,
  CashDiscount1Percent,
  CashDiscount2Percent,
  PurchasingGroup,
  DocumentCurrency,
  SupplierRespSalesPersonName,
  SupplierPhoneNumber,
  SupplyingSupplier,
  IncotermsClassification,
  IncotermsTransferLocation,
  InvoicingParty,
  InvoicingPartyName,
  ExchangeRate,
  IncotermsVersion,
  HeaderIncotermsLoc1,
  HeaderIncotermsLoc2,
  PaymentTermsName,
  IncotermsClassificationName,
  SupplierName,
  PurchasingDocumentTypeName,
  PurchasingOrganizationName,
  PurchasingGroupName,
  PurchasingDocumentDeletionCode,
  ManufacturerMaterial,
  StorageLocation,
  StorageLocationName,
  MaterialGroup,
  MaterialGroupName,
  PurchasingInfoRecord,
  SupplierMaterialNumber,
  OrderPriceUnitToOrderUnitNmrtr,
  OrdPriceUnitToOrderUnitDnmntr,
  OrderItemQtyToBaseQtyNmrtr,
  OrderItemQtyToBaseQtyDnmntr,
  NetPriceQuantity,
  NetAmount,
  TaxCode,
  PriceIsToBePrinted,
  OverdelivTolrtdLmtRatioInPct,
  UnlimitedOverdeliveryIsAllowed,
  UnderdelivTolrtdLmtRatioInPct,
  ValuationType,
  IsCompletelyDelivered,
  IsFinallyInvoiced,
  PurchaseOrderItemCategory,
  AccountAssignmentCategory,
  _AccountAssignCategoryVH.AcctAssignmentCategoryName AS AcctAssignmentCategoryName,
  MultipleAcctAssgmtDistribution,
  PartialInvoiceDistribution,
  GoodsReceiptIsExpected,
  GoodsReceiptIsNonValuated,
  InvoiceIsExpected,
  InvoiceIsGoodsReceiptBased,
  BaseUnit,
  EffectiveAmount,
  ItemNetWeight,
  ItemWeightUnit,
  TaxJurisdiction,
  _PurOrdTaxJurisdictionValHelp.TaxJurisdictionName AS TaxJurisdictionName,
  InternationalArticleNumber,
  SupplierConfirmationControlKey,
  ProfitCenter,
  PricingDateControl,
  ItemVolume,
  ItemVolumeUnit,
  ItemIncotermsClassification,
  ItemIncotermsTransferLocation,
  SupplierSubrange,
  ServicePackage,
  EvaldRcptSettlmtIsAllowed,
  IsReturnsItem,
  EarmarkedFunds,
  EarmarkedFundsItem,
  IncotermsLocation1,
  IncotermsLocation2,
  ServicePerformer,
  ProductType,
  ProductTypeName,
  OrderPriceUnit,
  IsBusinessPurposeCompleted,
  PurchasingDocumentStatus,
  MaterialName,
  PurchaseOrderItemText,
  PlantName,
  CompanyCodeName,
  PurchasingDocumentStatusName,
  PurgDocItemCategoryName,
  SemanticObject,
  cast(' ' as abap.char( 16 )) AS NumberOfScheduleLines,
  cast ('0000' as eeten) AS ScheduleLine,
  PerformancePeriodStartDate,
  PerformancePeriodEndDate,
  cast ('00000000' as eindt) AS ScheduleLineDeliveryDate,
  cast (0 as etmen) AS ScheduleLineOrderQuantity,
  PurchaseOrderQuantityUnit
FROM P_PurchaseOrderMassUpdate
LEFT OUTER JOIN C_PurgOrdMassUpdtNode AS _Node ON FormattedPurDoc = _Node.FormattedPurDoc  -- association [0..1]
LEFT OUTER JOIN C_MM_AccountAssignCatValueHelp AS _AccountAssignCategoryVH ON AccountAssignmentCategory = _AccountAssignCategoryVH.AccountAssignmentCategory  -- association [0..1]
LEFT OUTER JOIN C_MM_TaxJurisdictionVH AS _PurOrdTaxJurisdictionValHelp ON _PurOrdTaxJurisdictionValHelp.TaxJurisdiction = TaxJurisdiction  -- association [0..1]
LEFT OUTER JOIN I_ProcmtPricingDateControl AS _PricingDateControlValHelp ON _PricingDateControlValHelp.PricingDateControl = PricingDateControl  -- association [0..1]
;