P_PurgOrgLvlInfoRecdMassUpdt

DDL: P_PURGORGLVLINFORECDMASSUPDT SQL: PPIRPOLMASS Type: view CONSUMPTION

Mass Changes to Purchasing Info Records

P_PurgOrgLvlInfoRecdMassUpdt is a Consumption CDS View that provides data about "Mass Changes to Purchasing Info Records" in SAP S/4HANA. It reads from 1 data source (I_PurgInfoRecdOrgPlantData) and exposes 86 fields with key fields PurchasingInfoRecord, PurchasingInfoRecordCategory, PurchasingOrganization, Plant. It has 11 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurgInfoRecdOrgPlantData I_PurgInfoRecdOrgPlantData from

Associations (11)

CardinalityTargetAliasCondition
[0..1] I_PurchasingInfoRecord _PurchasingInfoRecord _PurchasingInfoRecord.PurchasingInfoRecord = $projection.PurchasingInfoRecord
[0..1] I_PurgInfoRecordCategory _InfoRecordCategoryVH _InfoRecordCategoryVH.PurchasingInfoRecordCategory = $projection.PurchasingInfoRecordCategory
[1..1] P_InfoRecdMassUpdtMatlGrp _InfoRecdMassUpdtMatlGrp _InfoRecdMassUpdtMatlGrp.PurchasingInfoRecord = $projection.PurchasingInfoRecord
[0..1] I_IncotermsClassificationText _IncotermsClassificationText _IncotermsClassificationText.IncotermsClassification = $projection.IncotermsClassification and _IncotermsClassificationText.Language = $session.system_language
[0..1] I_IncotermsVersionText _IncotermsVersionText _IncotermsVersionText.IncotermsVersion = $projection.IncotermsVersion and _IncotermsVersionText.Language = $session.system_language
[0..1] I_Shippinginstructiontext _ShippingInstructionText _ShippingInstructionText.ShippingInstruction = $projection.ShippingInstruction and _ShippingInstructionText.Language = $session.system_language
[0..1] I_SupplierConfControlKeyText _SupplierConfControlKeyText _SupplierConfControlKeyText.SupplierConfirmationControlKey = $projection.SupplierConfirmationControlKey and _SupplierConfControlKeyText.Language = $session.system_language
[0..1] I_IsRMARequired _IsRMARequired _IsRMARequired.IsRetMatlAuthznRqdBySupplier = $projection.IsRetMatlAuthznRqdBySupplier and _IsRMARequired.Language = $session.system_language
[0..1] I_PricingDateControlTxt _PricingDateControl _PricingDateControl.PricingDateControl = $projection.PricingDateControl and _PricingDateControl.Language = $session.system_language
[1..1] I_UserContactCard _UserContactCard _UserContactCard.ContactCardID = $projection.CreatedByUser
[0..1] I_ProcurementDomainValues _ShelfLifeExpDatePeriod _ShelfLifeExpDatePeriod.Name = 'DATTP' and _ShelfLifeExpDatePeriod.DomainValue = $projection.ShelfLifeExpirationDatePeriod and _ShelfLifeExpDatePeriod.Language = $session.system_language

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName PPIRPOLMASS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Mass Changes to Purchasing Info Records view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view

Fields (86)

KeyFieldSource TableSource FieldDescription
KEY PurchasingInfoRecord PurchasingInfoRecord Info Record
KEY PurchasingInfoRecordCategory PurchasingInfoRecordCategory Infotype
KEY PurchasingOrganization PurchasingOrganization Purchasing Organization
KEY Plant Plant Valuation Area
PlantName _Plant PlantName Plant Name
PurchasingOrganizationName _PurchasingOrganization PurchasingOrganizationName Purch. Org. Name
CategoryDescription
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingGroupName _PurchasingGroup PurchasingGroupName Purchasing Grp. Name
MaterialConditionGroup MaterialConditionGroup Condition Group
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
Material _PurchasingInfoRecord Material Vehicle Model
MaterialName
Supplier _PurchasingInfoRecord Supplier Supplier
SupplierName
SupplierSubrange _PurchasingInfoRecord SupplierSubrange Suppl. Subrange
MaterialGroup _InfoRecdMassUpdtMatlGrp MaterialGroup Product Group
MaterialGroupName
CreationDateendasCreationDate
IsDeleted _PurchasingInfoRecord IsDeleted TRUE
PurchasingInfoRecordDesc _PurchasingInfoRecord PurchasingInfoRecordDesc Info Short Text
SupplierMaterialNumber _PurchasingInfoRecord SupplierMaterialNumber Supp. Mat. No.
SupplierRespSalesPersonName _PurchasingInfoRecord SupplierRespSalesPersonName Salesperson
SupplierPhoneNumber _PurchasingInfoRecord SupplierPhoneNumber Telephone
SupplierMaterialGroup _PurchasingInfoRecord SupplierMaterialGroup Suppl. Mat. Grp
PriorSupplier _PurchasingInfoRecord PriorSupplier Prior Supplier
VarblPurOrdUnitIsActive _PurchasingInfoRecord VarblPurOrdUnitIsActive Var. Order Unit
Manufacturer _PurchasingInfoRecord Manufacturer Manufacturer
IsRegularSupplier _PurchasingInfoRecord IsRegularSupplier Reg. Supplier
NoDaysReminder1 _PurchasingInfoRecord NoDaysReminder1 1st Rem./Exped.
NoDaysReminder2 _PurchasingInfoRecord NoDaysReminder2 2nd Rem./Exped.
NoDaysReminder3 _PurchasingInfoRecord NoDaysReminder3 3rd Rem./Exped.
ProductPurchasePointsQty _PurchasingInfoRecord ProductPurchasePointsQty Points
ProductPurchasePointsQtyUnit _PurchasingInfoRecord ProductPurchasePointsQtyUnit Points Unit
ReturnAgreement _PurchasingInfoRecord ReturnAgreement Return Agmt
SupplierCertOriginCat _PurchasingInfoRecord SupplierCertOriginCat Certif. Cat.
SupplierCertOriginNumber _PurchasingInfoRecord SupplierCertOriginNumber Certificate
SupplierCertOriginCountry _PurchasingInfoRecord SupplierCertOriginCountry C/R. of Origin
SupplierCertOriginRegion _PurchasingInfoRecord SupplierCertOriginRegion Region
SuplrCertOriginClassfctnNumber _PurchasingInfoRecord SuplrCertOriginClassfctnNumber Number
PurgDocOrderQuantityUnit _PurchasingInfoRecord PurgDocOrderQuantityUnit Purchasing Document Order Qty Unit
BaseUnit _PurchasingInfoRecord BaseUnit Unit of Measure
SupplierSubrangeSortNumber _PurchasingInfoRecord SupplierSubrangeSortNumber SSR Sort No.
OrderItemQtyToBaseQtyNmrtr _PurchasingInfoRecord OrderItemQtyToBaseQtyNmrtr Equal To
OrderItemQtyToBaseQtyDnmntr _PurchasingInfoRecord OrderItemQtyToBaseQtyDnmntr Denominator
MinimumPurchaseOrderQuantity MinimumPurchaseOrderQuantity Minimum Qty
StandardPurchaseOrderQuantity StandardPurchaseOrderQuantity Standard Qty
MaterialPlannedDeliveryDurn MaterialPlannedDeliveryDurn Pl. Deliv. Time
OverdelivTolrtdLmtRatioInPct OverdelivTolrtdLmtRatioInPct Overdeliv. Tol.
UnderdelivTolrtdLmtRatioInPct UnderdelivTolrtdLmtRatioInPct Underdel. Tol.
UnlimitedOverdeliveryIsAllowed UnlimitedOverdeliveryIsAllowed Unlimited Tol.
InvoiceIsGoodsReceiptBased InvoiceIsGoodsReceiptBased GR-Based IV
TaxCode TaxCode Tax Code
TimeDependentTaxValidFromDate TimeDependentTaxValidFromDate Tax Rate Valid-From
TaxCountry TaxCountry Tax Ctry/Reg.
IncotermsClassification IncotermsClassification Incoterms
IncotermsClassificationName _IncotermsClassificationText IncotermsClassificationName Incoterms Classification Description
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
MaximumOrderQuantity MaximumOrderQuantity Max. Quantity
IsRelevantForAutomSrcg Checkbox
IncotermsVersion IncotermsVersion Inco. Version
IncotermsVersionName _IncotermsVersionText IncotermsVersionName
MinRemainingShelfLife MinRemainingShelfLife Rem. Shelf Life
ShippingInstruction ShippingInstruction Shipping Instr.
ShippingInstructionName _ShippingInstructionText ShippingInstructionName
IsEvaluatedRcptSettlmtAllowed IsEvaluatedRcptSettlmtAllowed No ERS
IsOrderAcknRqd IsOrderAcknRqd Acknowl. Reqd.
SupplierConfirmationControlKey SupplierConfirmationControlKey Conf. Control
SupplierConfControlKeyName _SupplierConfControlKeyText SupplierConfControlKeyName
MaterialRoundingProfile MaterialRoundingProfile Rnding Profile
MaterialStagingTime MaterialStagingTime Staging Time
ProductUnitGroup ProductUnitGroup UoM Group
IsRetMatlAuthznRqdBySupplier IsRetMatlAuthznRqdBySupplier RMA Required
SuplrRetMatAuthNumberReqName _IsRMARequired SuplrRetMatAuthNumberReqName
IsCashDiscountGranted IsCashDiscountGranted No Cash Disc.
PricingDateControl PricingDateControl Pr. Date Cat.
PricingDateControlText _PricingDateControl PricingDateControlText
CreatedByUser CreatedByUser User Name
CreatedByUserName _UserContactCard FullName Name
ShelfLifeExpirationDatePeriod ShelfLifeExpirationDatePeriod Period Ind.
ShelfLifeExpirationDateText _ShelfLifeExpDatePeriod DomainText Short Description
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
ProductionVersion ProductionVersion Version ID
PurchaseOrderPriceUnit PurchaseOrderPriceUnit Order Price Un.
_UserContactCard _UserContactCard

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 P_PurgOrgLvlInfoRecdMassUpdt.
-- 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: PPIRPOLMASS

CREATE VIEW P_PurgOrgLvlInfoRecdMassUpdt AS
SELECT
  PurchasingInfoRecord,
  PurchasingInfoRecordCategory,
  PurchasingOrganization,
  Plant,
  _Plant.PlantName AS PlantName,
  _PurchasingOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
  _InfoRecordCategoryVH._Text.PurchasingInfoRecordTitle AS CategoryDescription,
  PurchasingGroup,
  _PurchasingGroup.PurchasingGroupName AS PurchasingGroupName,
  MaterialConditionGroup,
  IsMarkedForDeletion,
  _PurchasingInfoRecord.Material AS Material,
  _InfoRecdMassUpdtMatlGrp._Material._Text[1:Language = $session.system_language].MaterialName AS MaterialName,
  _PurchasingInfoRecord.Supplier AS Supplier,
  _PurchasingInfoRecord._Supplier.SupplierName AS SupplierName,
  _PurchasingInfoRecord.SupplierSubrange AS SupplierSubrange,
  _InfoRecdMassUpdtMatlGrp.MaterialGroup AS MaterialGroup,
  _InfoRecdMassUpdtMatlGrp._MaterialGroupText.MaterialGroupName AS MaterialGroupName,
  case _PurchasingInfoRecord.CreationDate when (' ') then '00000000' else _PurchasingInfoRecord.CreationDate end as CreationDate AS CreationDateendasCreationDate,
  _PurchasingInfoRecord.IsDeleted AS IsDeleted,
  _PurchasingInfoRecord.PurchasingInfoRecordDesc AS PurchasingInfoRecordDesc,
  _PurchasingInfoRecord.SupplierMaterialNumber AS SupplierMaterialNumber,
  _PurchasingInfoRecord.SupplierRespSalesPersonName AS SupplierRespSalesPersonName,
  _PurchasingInfoRecord.SupplierPhoneNumber AS SupplierPhoneNumber,
  _PurchasingInfoRecord.SupplierMaterialGroup AS SupplierMaterialGroup,
  _PurchasingInfoRecord.PriorSupplier AS PriorSupplier,
  _PurchasingInfoRecord.VarblPurOrdUnitIsActive AS VarblPurOrdUnitIsActive,
  _PurchasingInfoRecord.Manufacturer AS Manufacturer,
  _PurchasingInfoRecord.IsRegularSupplier AS IsRegularSupplier,
  _PurchasingInfoRecord.NoDaysReminder1 AS NoDaysReminder1,
  _PurchasingInfoRecord.NoDaysReminder2 AS NoDaysReminder2,
  _PurchasingInfoRecord.NoDaysReminder3 AS NoDaysReminder3,
  _PurchasingInfoRecord.ProductPurchasePointsQty AS ProductPurchasePointsQty,
  _PurchasingInfoRecord.ProductPurchasePointsQtyUnit AS ProductPurchasePointsQtyUnit,
  _PurchasingInfoRecord.ReturnAgreement AS ReturnAgreement,
  _PurchasingInfoRecord.SupplierCertOriginCat AS SupplierCertOriginCat,
  _PurchasingInfoRecord.SupplierCertOriginNumber AS SupplierCertOriginNumber,
  _PurchasingInfoRecord.SupplierCertOriginCountry AS SupplierCertOriginCountry,
  _PurchasingInfoRecord.SupplierCertOriginRegion AS SupplierCertOriginRegion,
  _PurchasingInfoRecord.SuplrCertOriginClassfctnNumber AS SuplrCertOriginClassfctnNumber,
  _PurchasingInfoRecord.PurgDocOrderQuantityUnit AS PurgDocOrderQuantityUnit,
  _PurchasingInfoRecord.BaseUnit AS BaseUnit,
  _PurchasingInfoRecord.SupplierSubrangeSortNumber AS SupplierSubrangeSortNumber,
  _PurchasingInfoRecord.OrderItemQtyToBaseQtyNmrtr AS OrderItemQtyToBaseQtyNmrtr,
  _PurchasingInfoRecord.OrderItemQtyToBaseQtyDnmntr AS OrderItemQtyToBaseQtyDnmntr,
  MinimumPurchaseOrderQuantity,
  StandardPurchaseOrderQuantity,
  MaterialPlannedDeliveryDurn,
  OverdelivTolrtdLmtRatioInPct,
  UnderdelivTolrtdLmtRatioInPct,
  UnlimitedOverdeliveryIsAllowed,
  InvoiceIsGoodsReceiptBased,
  TaxCode,
  TimeDependentTaxValidFromDate,
  TaxCountry,
  IncotermsClassification,
  _IncotermsClassificationText.IncotermsClassificationName AS IncotermsClassificationName,
  IncotermsLocation1,
  IncotermsLocation2,
  MaximumOrderQuantity,
  cast(IsRelevantForAutomSrcg as xfeld) AS IsRelevantForAutomSrcg,
  IncotermsVersion,
  _IncotermsVersionText.IncotermsVersionName AS IncotermsVersionName,
  MinRemainingShelfLife,
  ShippingInstruction,
  _ShippingInstructionText.ShippingInstructionName AS ShippingInstructionName,
  IsEvaluatedRcptSettlmtAllowed,
  IsOrderAcknRqd,
  SupplierConfirmationControlKey,
  _SupplierConfControlKeyText.SupplierConfControlKeyName AS SupplierConfControlKeyName,
  MaterialRoundingProfile,
  MaterialStagingTime,
  ProductUnitGroup,
  IsRetMatlAuthznRqdBySupplier,
  _IsRMARequired.SuplrRetMatAuthNumberReqName AS SuplrRetMatAuthNumberReqName,
  IsCashDiscountGranted,
  PricingDateControl,
  _PricingDateControl.PricingDateControlText AS PricingDateControlText,
  CreatedByUser,
  _UserContactCard.FullName AS CreatedByUserName,
  ShelfLifeExpirationDatePeriod,
  _ShelfLifeExpDatePeriod.DomainText AS ShelfLifeExpirationDateText,
  IncotermsTransferLocation,
  ProductionVersion,
  PurchaseOrderPriceUnit
FROM I_PurgInfoRecdOrgPlantData
LEFT OUTER JOIN I_PurchasingInfoRecord AS _PurchasingInfoRecord ON _PurchasingInfoRecord.PurchasingInfoRecord = PurchasingInfoRecord  -- association [0..1]
LEFT OUTER JOIN I_PurgInfoRecordCategory AS _InfoRecordCategoryVH ON _InfoRecordCategoryVH.PurchasingInfoRecordCategory = PurchasingInfoRecordCategory  -- association [0..1]
LEFT OUTER JOIN P_InfoRecdMassUpdtMatlGrp AS _InfoRecdMassUpdtMatlGrp ON _InfoRecdMassUpdtMatlGrp.PurchasingInfoRecord = PurchasingInfoRecord  -- association [1..1]
LEFT OUTER JOIN I_IncotermsClassificationText AS _IncotermsClassificationText ON _IncotermsClassificationText.IncotermsClassification = IncotermsClassification AND _IncotermsClassificationText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_IncotermsVersionText AS _IncotermsVersionText ON _IncotermsVersionText.IncotermsVersion = IncotermsVersion AND _IncotermsVersionText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Shippinginstructiontext AS _ShippingInstructionText ON _ShippingInstructionText.ShippingInstruction = ShippingInstruction AND _ShippingInstructionText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SupplierConfControlKeyText AS _SupplierConfControlKeyText ON _SupplierConfControlKeyText.SupplierConfirmationControlKey = SupplierConfirmationControlKey AND _SupplierConfControlKeyText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_IsRMARequired AS _IsRMARequired ON _IsRMARequired.IsRetMatlAuthznRqdBySupplier = IsRetMatlAuthznRqdBySupplier AND _IsRMARequired.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_PricingDateControlTxt AS _PricingDateControl ON _PricingDateControl.PricingDateControl = PricingDateControl AND _PricingDateControl.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON _UserContactCard.ContactCardID = CreatedByUser  -- association [1..1]
LEFT OUTER JOIN I_ProcurementDomainValues AS _ShelfLifeExpDatePeriod ON _ShelfLifeExpDatePeriod.Name = 'DATTP' AND _ShelfLifeExpDatePeriod.DomainValue = ShelfLifeExpirationDatePeriod AND _ShelfLifeExpDatePeriod.Language = $session.system_language  -- association [0..1]
;