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

C_PurOrdMaintainRefDocValHelp

DDL: C_PURORDMAINTAINREFDOCVALHELP SQL: CPOMAINTREFDOCVH Type: view CONSUMPTION

PO Maintenance: Value Help for Reference Documents

C_PurOrdMaintainRefDocValHelp is a Consumption CDS View that provides data about "PO Maintenance: Value Help for Reference Documents" in SAP S/4HANA. It reads from 1 data source (P_PurOrdMaintainRefDocumentAll) and exposes 83 fields with key fields PurchaseOrder, PurchaseOrderItem, PurchasingInfoRecord, PurchasingOrganization, PurchasingInfoRecordCategory. It has 13 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_PurOrdMaintainRefDocumentAll P_PurOrdMaintainRefDocumentAll from

Associations (13)

CardinalityTargetAliasCondition
[0..1] P_Purordmaintaincustproj _CustProject $projection.WBSElementInternalIDNoCoalesce = _CustProject.WBSElementInternalID
[0..*] I_CountryText _CountryName $projection.AddressCountry = _CountryName.Country
[0..*] I_CostCenterText _CostCenterText $projection.ControllingArea = _CostCenterText.ControllingArea and $projection.CostCenter = _CostCenterText.CostCenter
[0..1] I_Supplier _Supplier $projection.SupplierNoCoalesce = _Supplier.Supplier
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_PurchasingOrganization _PurgOrg $projection.PurchasingOrganization = _PurgOrg.PurchasingOrganization
[0..1] I_PurchasingGroup _PurgGrp $projection.PurchasingGroup = _PurgGrp.PurchasingGroup
[0..1] I_CompanyCode _CompCode $projection.CompanyCode = _CompCode.CompanyCodeName
[0..1] P_PurOrdMaintainSupplierAddr _PurOrdMaintainSupplierAddr $projection.SupplierNoCoalesce = _PurOrdMaintainSupplierAddr.Supplier
[0..*] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material
[0..*] I_MaterialGroupText _MaterialGroupText $projection.MaterialGroup = _MaterialGroupText.MaterialGroup
[0..*] I_UnitOfMeasureText _UnitOfMeasureText $projection.PurchaseOrderPriceUnit = _UnitOfMeasureText.UnitOfMeasure
[0..1] I_BusinessPartner _BusinessPartner $projection.ServicePerformer = _BusinessPartner.BusinessPartner

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CPOMAINTREFDOCVH view
EndUserText.label PO Maintenance: Value Help for Reference Documents view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.lifecycle.status #DEPRECATED view

Fields (83)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder PurchaseOrder Purchasing Document
KEY PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
KEY PurchasingInfoRecord PurchasingInfoRecord Info Record
KEY PurchasingOrganization PurchasingOrganization Purchasing Organization
KEY PurchasingInfoRecordCategory PurchasingInfoRecordCategory Infotype
KEY Plant Plant Valuation Area
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
PurchasingDocumentType PurchasingDocumentType RFQ Type
StorageLocation StorageLocation StorageLocation
Material Material Vehicle Model
MaterialType MaterialType Material Type
MaterialGroup
Supplier
AddressCountry _PurOrdMaintainSupplierAddr SupplierAddressCountry
AddressCityName _PurOrdMaintainSupplierAddr SupplierAddressCity
PurchasingDocumentItemText PurchasingDocumentItemText Short Text
PurchaseOrderQty PurchaseOrderQty Purchase Order Quantity
PurchaseOrderQuantityUnit PurchaseOrderQuantityUnit Order Unit
PurchaseOrderNetPriceAmount PurchaseOrderNetPriceAmount Net Price
TaxCode TaxCode Tax Code
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
Currency Currency Valuation Crcy
PurchaseOrderNetPriceQuantity PurchaseOrderNetPriceQuantity Price Unit
PurchaseOrderPriceUnit PurchaseOrderPriceUnit Order Price Un.
PlantName _Plant PlantName Plant Name
PurchasingOrganizationName _PurgOrg PurchasingOrganizationName Purch. Org. Name
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingGroupName _PurgGrp PurchasingGroupName Purchasing Grp. Name
CompanyCode CompanyCode Receiver Company Code
CompanyCodeName _CompCode CompanyCodeName Company Name
PurchasingDocumentCondition PurchasingDocumentCondition Doc. Condition
PricingProcedure PricingProcedure Procedure
GoodsReceiptIsExpected GoodsReceiptIsExpected Goods Receipt
GoodsReceiptIsNonValuated GoodsReceiptIsNonValuated GR Non-Valuated
InvoiceIsExpected InvoiceIsExpected Invoice Receipt
InvoiceIsGoodsReceiptBased InvoiceIsGoodsReceiptBased GR-Based IV
OverdelivTolrtdLmtRatioInPct OverdelivTolrtdLmtRatioInPct Overdeliv. Tol.
UnlimitedOverdeliveryIsAllowed UnlimitedOverdeliveryIsAllowed Unlimited Tol.
UnderdelivTolrtdLmtRatioInPct UnderdelivTolrtdLmtRatioInPct Underdel. Tol.
OrderItemQtyToBaseQtyNmrtr OrderItemQtyToBaseQtyNmrtr Equal To
OrderItemQtyToBaseQtyDnmntr OrderItemQtyToBaseQtyDnmntr Denominator
PurchaseOrderItemCategory PurchaseOrderItemCategory Item Category
AcctAssignmentCategory AcctAssignmentCategory Acct Assgmt Cat
IsDeleted IsDeleted TRUE
ServicePerformer ServicePerformer Service Performer
ProductType ProductType Product Type Group
RefPurchaseOutlineAgreement RefPurchaseOutlineAgreement
RefPurchOutlineAgrmtItem RefPurchOutlineAgrmtItem
SupplierMaterialNumber SupplierMaterialNumber Supp. Mat. No.
IncotermsVersion IncotermsVersion Inco. Version
HeaderIncotermsClassification HeaderIncotermsClassification Incoterms
HeaderIncotermsTransferLoc HeaderIncotermsTransferLoc Incoterms 2
HeaderIncotermsLocation1 HeaderIncotermsLocation1 Inco. Location1
HeaderIncotermsLocation2 HeaderIncotermsLocation2 Inco. Location2
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
DeliveryDate DeliveryDate Delivery Date
PerformancePeriodStartDate PerformancePeriodStartDate Start of Performance Period
PerformancePeriodEndDate PerformancePeriodEndDate End of Performance Period
OrderPriceUnitToOrderUnitNmrtr OrderPriceUnitToOrderUnitNmrtr Quantity Conversion Numerator
OrdPriceUnitToOrderUnitDnmntr OrdPriceUnitToOrderUnitDnmntr Quantity Conversion Denominator
ProfitCenter ProfitCenter Profit Center
CustomerProjectName _CustProject CustomerProjectName
FunctionalArea FunctionalArea Sendr Fctl Area
GLAccount GLAccount General Ledger
CostCenter
ControllingArea ControllingArea Controlling Area
SalesOrder
SalesOrderItem
CreatedByUser
SoldToParty
SalesOrganization
DistributionChannel
OrganizationDivision
_CountryName _CountryName
_CostCenterText _CostCenterText
_MaterialText _MaterialText
_MaterialGroupText _MaterialGroupText
_UnitOfMeasureText _UnitOfMeasureText
_Supplier _Supplier
_BusinessPartner _BusinessPartner

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_PurOrdMaintainRefDocValHelp.
-- 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: CPOMAINTREFDOCVH

CREATE VIEW C_PurOrdMaintainRefDocValHelp AS
SELECT
  PurchaseOrder,
  PurchaseOrderItem,
  PurchasingInfoRecord,
  PurchasingOrganization,
  PurchasingInfoRecordCategory,
  Plant,
  PurchasingDocumentCategory,
  PurchasingDocumentType,
  StorageLocation,
  Material,
  MaterialType,
  COALESCE( MaterialGroup , '' ) AS MaterialGroup,
  COALESCE( Supplier , '' ) AS Supplier,
  _PurOrdMaintainSupplierAddr.SupplierAddressCountry AS AddressCountry,
  _PurOrdMaintainSupplierAddr.SupplierAddressCity AS AddressCityName,
  PurchasingDocumentItemText,
  PurchaseOrderQty,
  PurchaseOrderQuantityUnit,
  PurchaseOrderNetPriceAmount,
  TaxCode,
  TaxJurisdiction,
  Currency,
  PurchaseOrderNetPriceQuantity,
  PurchaseOrderPriceUnit,
  _Plant.PlantName AS PlantName,
  _PurgOrg.PurchasingOrganizationName AS PurchasingOrganizationName,
  PurchasingGroup,
  _PurgGrp.PurchasingGroupName AS PurchasingGroupName,
  CompanyCode,
  _CompCode.CompanyCodeName AS CompanyCodeName,
  PurchasingDocumentCondition,
  PricingProcedure,
  GoodsReceiptIsExpected,
  GoodsReceiptIsNonValuated,
  InvoiceIsExpected,
  InvoiceIsGoodsReceiptBased,
  OverdelivTolrtdLmtRatioInPct,
  UnlimitedOverdeliveryIsAllowed,
  UnderdelivTolrtdLmtRatioInPct,
  OrderItemQtyToBaseQtyNmrtr,
  OrderItemQtyToBaseQtyDnmntr,
  PurchaseOrderItemCategory,
  AcctAssignmentCategory,
  IsDeleted,
  ServicePerformer,
  ProductType,
  RefPurchaseOutlineAgreement,
  RefPurchOutlineAgrmtItem,
  SupplierMaterialNumber,
  IncotermsVersion,
  HeaderIncotermsClassification,
  HeaderIncotermsTransferLoc,
  HeaderIncotermsLocation1,
  HeaderIncotermsLocation2,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsLocation1,
  IncotermsLocation2,
  DeliveryDate,
  PerformancePeriodStartDate,
  PerformancePeriodEndDate,
  OrderPriceUnitToOrderUnitNmrtr,
  OrdPriceUnitToOrderUnitDnmntr,
  ProfitCenter,
  _CustProject.CustomerProjectName AS CustomerProjectName,
  FunctionalArea,
  GLAccount,
  COALESCE( CostCenter , '' ) AS CostCenter,
  ControllingArea,
  COALESCE( SalesOrder , '' ) AS SalesOrder,
  COALESCE( SalesOrderItem , '' ) AS SalesOrderItem,
  COALESCE( SalesOrderCreatedByUser , '' ) AS CreatedByUser,
  COALESCE( SalesOrderSoldToParty , '' ) AS SoldToParty,
  COALESCE( SalesOrderSalesOrganization , '' ) AS SalesOrganization,
  COALESCE( SalesOrderDistributionChannel , '' ) AS DistributionChannel,
  COALESCE( SalesOrderOrganizationDivision , '' ) AS OrganizationDivision
FROM P_PurOrdMaintainRefDocumentAll
LEFT OUTER JOIN P_Purordmaintaincustproj AS _CustProject ON WBSElementInternalIDNoCoalesce = _CustProject.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_CountryText AS _CountryName ON AddressCountry = _CountryName.Country  -- association [0..*]
LEFT OUTER JOIN I_CostCenterText AS _CostCenterText ON ControllingArea = _CostCenterText.ControllingArea AND CostCenter = _CostCenterText.CostCenter  -- association [0..*]
LEFT OUTER JOIN I_Supplier AS _Supplier ON SupplierNoCoalesce = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurgOrg ON PurchasingOrganization = _PurgOrg.PurchasingOrganization  -- association [0..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurgGrp ON PurchasingGroup = _PurgGrp.PurchasingGroup  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompCode ON CompanyCode = _CompCode.CompanyCodeName  -- association [0..1]
LEFT OUTER JOIN P_PurOrdMaintainSupplierAddr AS _PurOrdMaintainSupplierAddr ON SupplierNoCoalesce = _PurOrdMaintainSupplierAddr.Supplier  -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material  -- association [0..*]
LEFT OUTER JOIN I_MaterialGroupText AS _MaterialGroupText ON MaterialGroup = _MaterialGroupText.MaterialGroup  -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitOfMeasureText ON PurchaseOrderPriceUnit = _UnitOfMeasureText.UnitOfMeasure  -- association [0..*]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON ServicePerformer = _BusinessPartner.BusinessPartner  -- association [0..1]
;