A_PurgInfoRecdOrgPlantData

DDL: A_PURGINFORECDORGPLANTDATA SQL: APINPLORG Type: view BASIC

Purchasing Info Record Purch. Org. Data

A_PurgInfoRecdOrgPlantData is a Basic CDS View that provides data about "Purchasing Info Record Purch. Org. Data" in SAP S/4HANA. It reads from 1 data source (I_PurgInfoRecdOrgPlantData) and exposes 56 fields with key fields PurchasingInfoRecord, PurchasingInfoRecordCategory, PurchasingOrganization, Plant. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurgInfoRecdOrgPlantData I_PurgInfoRecdOrgPlantData from

Associations (3)

CardinalityTargetAliasCondition
[1..1] A_PurchasingInfoRecord _PurgInfoRecd $projection.PurchasingInfoRecord = _PurgInfoRecd.PurchasingInfoRecord
[0..*] A_PurInfoRecdPrcgCndnValidity _PurInfoRecdPrcgCndnValidity $projection.PurchasingInfoRecord = _PurInfoRecdPrcgCndnValidity.PurchasingInfoRecord and $projection.PurchasingInfoRecordCategory = _PurInfoRecdPrcgCndnValidity.PurchasingInfoRecordCategory and $projection.PurchasingOrganization = _PurInfoRecdPrcgCndnValidity.PurchasingOrganization
[0..*] A_PurgInfoRecdOrgPOText _PurInfoRecdPurOrgText $projection.PurchasingInfoRecord = _PurInfoRecdPurOrgText.PurchasingInfoRecord and $projection.PurchasingInfoRecordCategory = _PurInfoRecdPurOrgText.PurchasingInfoRecordCategory and $projection.PurchasingOrganization = _PurInfoRecdPurOrgText.PurchasingOrganization and $projection.Plant = _PurInfoRecdPurOrgText.Plant

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName APINPLORG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
EndUserText.label Purchasing Info Record Purch. Org. Data view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view

Fields (56)

KeyFieldSource TableSource FieldDescription
KEY PurchasingInfoRecord PurchasingInfoRecord Info Record
KEY PurchasingInfoRecordCategory PurchasingInfoRecordCategory Infotype
KEY PurchasingOrganization PurchasingOrganization Purchasing Organization
KEY Plant Plant Valuation Area
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
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
Material _PurgInfoRecd Material Vehicle Model
Supplier _PurgInfoRecd Supplier Supplier
MaterialGroup _PurgInfoRecd MaterialGroup Product Group
PurgDocOrderQuantityUnit _PurgInfoRecd PurgDocOrderQuantityUnit Purchasing Document Order Qty Unit
NetPriceQuantityUnit Net Price
NetPriceAmount NetPriceAmount Net Price
MaterialPriceUnitQty MaterialPriceUnitQty Price unit
PurchaseOrderPriceUnit PurchaseOrderPriceUnit Order Price Un.
PriceValidityEndDate PriceValidityEndDate Valid to
ShippingInstruction ShippingInstruction Shipping Instr.
InvoiceIsGoodsReceiptBased InvoiceIsGoodsReceiptBased GR-Based IV
TaxCode TaxCode Tax Code
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
IncotermsLocation1 IncotermsLocation1 Inco. Location1
MaximumOrderQuantity MaximumOrderQuantity Max. Quantity
IsRelevantForAutomSrcg IsRelevantForAutomSrcg Checkbox
SupplierQuotation SupplierQuotation RFQ
SupplierQuotationDate SupplierQuotationDate Quotation from
MinRemainingShelfLife MinRemainingShelfLife Rem. Shelf Life
IsEvaluatedRcptSettlmtAllowed IsEvaluatedRcptSettlmtAllowed No ERS
IsPurOrderAllwdForInbDeliv IsPurOrderAllwdForInbDeliv Create Ref Doc
IsOrderAcknRqd IsOrderAcknRqd Acknowl. Reqd.
IsRetMatlAuthznRqdBySupplier IsRetMatlAuthznRqdBySupplier RMA Required
IsCashDiscountGranted IsCashDiscountGranted No Cash Disc.
MaterialConditionGroup MaterialConditionGroup Condition Group
PurchasingDocumentDate PurchasingDocumentDate Document Date
ShelfLifeExpirationDatePeriod ShelfLifeExpirationDatePeriod Period Ind.
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
SupplierConfirmationControlKey SupplierConfirmationControlKey Conf. Control
PricingDateControl PricingDateControl Pr. Date Cat.
TimeDependentTaxValidFromDate TimeDependentTaxValidFromDate Tax Rate Valid-From
TaxCountry TaxCountry Tax Ctry/Reg.
MaterialRoundingProfile MaterialRoundingProfile Rnding Profile
MatlMstrTxtIsNotRlvtForPOItm MatlMstrTxtIsNotRlvtForPOItm No Mat. Text
ProductionVersion ProductionVersion Version ID
_PurgInfoRecd _PurgInfoRecd
_PurInfoRecdPrcgCndnValidity _PurInfoRecdPrcgCndnValidity
_PurInfoRecdPurOrgText _PurInfoRecdPurOrgText

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 A_PurgInfoRecdOrgPlantData.
-- 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: APINPLORG

CREATE VIEW A_PurgInfoRecdOrgPlantData AS
SELECT
  PurchasingInfoRecord,
  PurchasingInfoRecordCategory,
  PurchasingOrganization,
  Plant,
  CreatedByUser,
  CreationDate,
  IsMarkedForDeletion,
  PurchasingGroup,
  Currency,
  MinimumPurchaseOrderQuantity,
  StandardPurchaseOrderQuantity,
  MaterialPlannedDeliveryDurn,
  OverdelivTolrtdLmtRatioInPct,
  UnderdelivTolrtdLmtRatioInPct,
  UnlimitedOverdeliveryIsAllowed,
  LastReferencingPurchaseOrder,
  LastReferencingPurOrderItem,
  _PurgInfoRecd.Material AS Material,
  _PurgInfoRecd.Supplier AS Supplier,
  _PurgInfoRecd.MaterialGroup AS MaterialGroup,
  _PurgInfoRecd.PurgDocOrderQuantityUnit AS PurgDocOrderQuantityUnit,
  cast(NetPriceAmount as abap.sstring(50)) AS NetPriceQuantityUnit,
  NetPriceAmount,
  MaterialPriceUnitQty,
  PurchaseOrderPriceUnit,
  PriceValidityEndDate,
  ShippingInstruction,
  InvoiceIsGoodsReceiptBased,
  TaxCode,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsLocation1,
  MaximumOrderQuantity,
  IsRelevantForAutomSrcg,
  SupplierQuotation,
  SupplierQuotationDate,
  MinRemainingShelfLife,
  IsEvaluatedRcptSettlmtAllowed,
  IsPurOrderAllwdForInbDeliv,
  IsOrderAcknRqd,
  IsRetMatlAuthznRqdBySupplier,
  IsCashDiscountGranted,
  MaterialConditionGroup,
  PurchasingDocumentDate,
  ShelfLifeExpirationDatePeriod,
  IsEndOfPurposeBlocked,
  SupplierConfirmationControlKey,
  PricingDateControl,
  TimeDependentTaxValidFromDate,
  TaxCountry,
  MaterialRoundingProfile,
  MatlMstrTxtIsNotRlvtForPOItm,
  ProductionVersion
FROM I_PurgInfoRecdOrgPlantData
LEFT OUTER JOIN A_PurchasingInfoRecord AS _PurgInfoRecd ON PurchasingInfoRecord = _PurgInfoRecd.PurchasingInfoRecord  -- association [1..1]
LEFT OUTER JOIN A_PurInfoRecdPrcgCndnValidity AS _PurInfoRecdPrcgCndnValidity ON PurchasingInfoRecord = _PurInfoRecdPrcgCndnValidity.PurchasingInfoRecord AND PurchasingInfoRecordCategory = _PurInfoRecdPrcgCndnValidity.PurchasingInfoRecordCategory AND PurchasingOrganization = _PurInfoRecdPrcgCndnValidity.PurchasingOrganization  -- association [0..*]
LEFT OUTER JOIN A_PurgInfoRecdOrgPOText AS _PurInfoRecdPurOrgText ON PurchasingInfoRecord = _PurInfoRecdPurOrgText.PurchasingInfoRecord AND PurchasingInfoRecordCategory = _PurInfoRecdPurOrgText.PurchasingInfoRecordCategory AND PurchasingOrganization = _PurInfoRecdPurOrgText.PurchasingOrganization AND Plant = _PurInfoRecdPurOrgText.Plant  -- association [0..*]
;