P_PurgInfoRecordWithOrgData
P_PurgInfoRecordWithOrgData is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_PurgInfoRecordWithOrgData) and exposes 107 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurgInfoRecordWithOrgData | I_PurgInfoRecordWithOrgData | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PINFRECWITHORG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (107)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| Plant | Plant | Valuation Area | ||
| PurchasingInfoRecordCategory | PurchasingInfoRecordCategory | Infotype | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingInfoRecord | PurchasingInfoRecord | Info Record | ||
| Supplier | Supplier | Supplier | ||
| Material | Material | Vehicle Model | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| CreationDate | CreationDate | Time Stamp | ||
| IsDeleted | IsDeleted | TRUE | ||
| PurchasingInfoRecordDesc | PurchasingInfoRecordDesc | Info Short Text | ||
| PurgDocOrderQuantityUnit | PurgDocOrderQuantityUnit | Purchasing Document Order Qty Unit | ||
| OrderItemQtyToBaseQtyNmrtr | OrderItemQtyToBaseQtyNmrtr | Equal To | ||
| OrderItemQtyToBaseQtyDnmntr | OrderItemQtyToBaseQtyDnmntr | Denominator | ||
| SupplierMaterialNumber | SupplierMaterialNumber | Supp. Mat. No. | ||
| SupplierRespSalesPersonName | SupplierRespSalesPersonName | Salesperson | ||
| SupplierPhoneNumber | SupplierPhoneNumber | Telephone | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| SupplierMaterialGroup | SupplierMaterialGroup | Suppl. Mat. Grp | ||
| PriorSupplier | PriorSupplier | Prior Supplier | ||
| AvailabilityStartDate | AvailabilityStartDate | Available from | ||
| AvailabilityEndDate | AvailabilityEndDate | Available to | ||
| VarblPurOrdUnitIsActive | VarblPurOrdUnitIsActive | Var. Order Unit | ||
| Manufacturer | Manufacturer | Manufacturer | ||
| IsRegularSupplier | IsRegularSupplier | Reg. Supplier | ||
| CreatedByUser | CreatedByUser | User Name | ||
| IsMarkedForDeletion | IsMarkedForDeletion | Purch.org. data | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| Currency | Currency | Valuation Crcy | ||
| 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. | ||
| LastReferencingPurchaseOrder | LastReferencingPurchaseOrder | Purchasing Doc. | ||
| LastReferencingPurOrderItem | LastReferencingPurOrderItem | Item | ||
| NetPriceAmount | NetPriceAmount | Net Price | ||
| MaterialPriceUnitQty | MaterialPriceUnitQty | Price unit | ||
| PurchaseOrderPriceUnit | PurchaseOrderPriceUnit | Order Price Un. | ||
| PriceValidityEndDate | PriceValidityEndDate | Valid to | ||
| OrderPriceUnitToOrderUnitNmrtr | OrderPriceUnitToOrderUnitNmrtr | Quantity Conversion Numerator | ||
| OrdPriceUnitToOrderUnitDnmntr | OrdPriceUnitToOrderUnitDnmntr | Quantity Conversion Denominator | ||
| InvoiceIsGoodsReceiptBased | InvoiceIsGoodsReceiptBased | GR-Based IV | ||
| TaxCode | TaxCode | Tax Code | ||
| TimeDependentTaxValidFromDate | TimeDependentTaxValidFromDate | Tax Rate Valid-From | ||
| TaxCountry | TaxCountry | Tax Ctry/Reg. | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsSupChnLoc1AddlUUID | IncotermsSupChnLoc1AddlUUID | Location UUID | ||
| IncotermsSupChnLoc2AddlUUID | IncotermsSupChnLoc2AddlUUID | Location UUID | ||
| IncotermsSupChnDvtgLocAddlUUID | IncotermsSupChnDvtgLocAddlUUID | Location UUID | ||
| MaximumOrderQuantity | MaximumOrderQuantity | Max. Quantity | ||
| IsRelevantForAutomSrcg | IsRelevantForAutomSrcg | Checkbox | ||
| NoDaysReminder1 | NoDaysReminder1 | 1st Rem./Exped. | ||
| NoDaysReminder2 | NoDaysReminder2 | 2nd Rem./Exped. | ||
| NoDaysReminder3 | NoDaysReminder3 | 3rd Rem./Exped. | ||
| ProductPurchasePointsQty | ProductPurchasePointsQty | Points | ||
| ProductPurchasePointsQtyUnit | ProductPurchasePointsQtyUnit | Points Unit | ||
| ReturnAgreement | ReturnAgreement | Return Agmt | ||
| SupplierCertOriginCat | SupplierCertOriginCat | Certif. Cat. | ||
| SupplierCertOriginNumber | SupplierCertOriginNumber | Certificate | ||
| SupplierCertValidityEndDate | SupplierCertValidityEndDate | Valid to | ||
| SupplierCertOriginCountry | SupplierCertOriginCountry | C/R. of Origin | ||
| SupplierCertOriginRegion | SupplierCertOriginRegion | Region | ||
| SuplrCertOriginClassfctnNumber | SuplrCertOriginClassfctnNumber | Number | ||
| SupplierQuotation | SupplierQuotation | RFQ | ||
| SupplierQuotationDate | SupplierQuotationDate | Quotation from | ||
| MinRemainingShelfLife | MinRemainingShelfLife | Rem. Shelf Life | ||
| ShippingInstruction | ShippingInstruction | Shipping Instr. | ||
| IsEvaluatedRcptSettlmtAllowed | IsEvaluatedRcptSettlmtAllowed | No ERS | ||
| IsPurOrderAllwdForInbDeliv | IsPurOrderAllwdForInbDeliv | Create Ref Doc | ||
| IsOrderAcknRqd | IsOrderAcknRqd | Acknowl. Reqd. | ||
| SupplierConfirmationControlKey | SupplierConfirmationControlKey | Conf. Control | ||
| MaterialRoundingProfile | MaterialRoundingProfile | Rnding Profile | ||
| MaterialStagingTime | MaterialStagingTime | Staging Time | ||
| ProductUnitGroup | ProductUnitGroup | UoM Group | ||
| IsRetMatlAuthznRqdBySupplier | IsRetMatlAuthznRqdBySupplier | RMA Required | ||
| IsCashDiscountGranted | IsCashDiscountGranted | No Cash Disc. | ||
| MaterialConditionGroup | MaterialConditionGroup | Condition Group | ||
| PricingDateControl | PricingDateControl | Pr. Date Cat. | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| IncotermsVersion | IncotermsVersion | Inco. Version | ||
| SupplierSubrange | SupplierSubrange | Suppl. Subrange | ||
| PurchasingDocumentDate | PurchasingDocumentDate | Document Date | ||
| SupplierSubrangeSortNumber | SupplierSubrangeSortNumber | SSR Sort No. | ||
| ShelfLifeExpirationDatePeriod | ShelfLifeExpirationDatePeriod | Period Ind. | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| IsActiveEntity | ||||
| PurgInfoRecdDrftID | ||||
| PurgInfoRecNonStockItmSortTerm | PurgInfoRecNonStockItmSortTerm | Sort Term | ||
| _PurInfCndPeriod | _PurInfCndPeriod | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _Plant | _Plant | |||
| _PurchaseOrderPriceUnit | _PurchaseOrderPriceUnit | |||
| _Currency | _Currency | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _TaxCode | _TaxCode | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _CreatedByUser | _CreatedByUser | |||
| _PurgInfoRecdOrgPlantData | _PurgInfoRecdOrgPlantData | |||
| _Material | _Material | |||
| _MaterialGroup | _MaterialGroup | |||
| _Supplier | _Supplier | |||
| _BaseUnit | _BaseUnit | |||
| _PurgDocOrderQuantityUnit | _PurgDocOrderQuantityUnit | |||
| _Country | _Country |
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_PurgInfoRecordWithOrgData.
-- 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: PINFRECWITHORG
CREATE VIEW P_PurgInfoRecordWithOrgData AS
SELECT
Plant,
PurchasingInfoRecordCategory,
PurchasingOrganization,
PurchasingInfoRecord,
Supplier,
Material,
MaterialGroup,
CreationDate,
IsDeleted,
PurchasingInfoRecordDesc,
PurgDocOrderQuantityUnit,
OrderItemQtyToBaseQtyNmrtr,
OrderItemQtyToBaseQtyDnmntr,
SupplierMaterialNumber,
SupplierRespSalesPersonName,
SupplierPhoneNumber,
BaseUnit,
SupplierMaterialGroup,
PriorSupplier,
AvailabilityStartDate,
AvailabilityEndDate,
VarblPurOrdUnitIsActive,
Manufacturer,
IsRegularSupplier,
CreatedByUser,
IsMarkedForDeletion,
PurchasingGroup,
Currency,
MinimumPurchaseOrderQuantity,
StandardPurchaseOrderQuantity,
MaterialPlannedDeliveryDurn,
OverdelivTolrtdLmtRatioInPct,
UnderdelivTolrtdLmtRatioInPct,
UnlimitedOverdeliveryIsAllowed,
LastReferencingPurchaseOrder,
LastReferencingPurOrderItem,
NetPriceAmount,
MaterialPriceUnitQty,
PurchaseOrderPriceUnit,
PriceValidityEndDate,
OrderPriceUnitToOrderUnitNmrtr,
OrdPriceUnitToOrderUnitDnmntr,
InvoiceIsGoodsReceiptBased,
TaxCode,
TimeDependentTaxValidFromDate,
TaxCountry,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsSupChnLoc1AddlUUID,
IncotermsSupChnLoc2AddlUUID,
IncotermsSupChnDvtgLocAddlUUID,
MaximumOrderQuantity,
IsRelevantForAutomSrcg,
NoDaysReminder1,
NoDaysReminder2,
NoDaysReminder3,
ProductPurchasePointsQty,
ProductPurchasePointsQtyUnit,
ReturnAgreement,
SupplierCertOriginCat,
SupplierCertOriginNumber,
SupplierCertValidityEndDate,
SupplierCertOriginCountry,
SupplierCertOriginRegion,
SuplrCertOriginClassfctnNumber,
SupplierQuotation,
SupplierQuotationDate,
MinRemainingShelfLife,
ShippingInstruction,
IsEvaluatedRcptSettlmtAllowed,
IsPurOrderAllwdForInbDeliv,
IsOrderAcknRqd,
SupplierConfirmationControlKey,
MaterialRoundingProfile,
MaterialStagingTime,
ProductUnitGroup,
IsRetMatlAuthznRqdBySupplier,
IsCashDiscountGranted,
MaterialConditionGroup,
PricingDateControl,
IncotermsLocation2,
IncotermsVersion,
SupplierSubrange,
PurchasingDocumentDate,
SupplierSubrangeSortNumber,
ShelfLifeExpirationDatePeriod,
LastChangeDateTime,
cast( 'X' as sdraft_is_active preserving type ) AS IsActiveEntity,
cast( hextobin( '00000000000000000000000000000000' ) as /bobf/uuid ) AS PurgInfoRecdDrftID,
PurgInfoRecNonStockItmSortTerm
FROM I_PurgInfoRecordWithOrgData
;
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