P_PurgOrgLvlInfoRecdMassUpdt
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)
| Source | Alias | Join Type |
|---|---|---|
| I_PurgInfoRecdOrgPlantData | I_PurgInfoRecdOrgPlantData | from |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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