Fclm_Mmpd_Dcost
Delivery Cost of MM Items
Fclm_Mmpd_Dcost is a CDS View that provides data about "Delivery Cost of MM Items" in SAP S/4HANA. It reads from 3 data sources (prcd_elements, ekko, Fclm_Mm_Ekpo) and exposes 85 fields with key fields PurchasingDocument, PurchasingDocumentItem, ConditionStep, ConditionCount, NetAmount.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| prcd_elements | cond | inner |
| ekko | podoc | from |
| Fclm_Mm_Ekpo | poitem | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VFCLMMMPDDCOST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Delivery Cost of MM Items | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #P | view |
Fields (85)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | Fclm_Mm_Ekpo | PurchasingDocument | Purchasing Document |
| KEY | PurchasingDocumentItem | Fclm_Mm_Ekpo | PurchasingDocumentItem | Purchasing Doc. Item |
| KEY | ConditionStep | prcd_elements | stunr | Step Number |
| KEY | ConditionCount | prcd_elements | zaehk | Counter |
| KEY | NetAmount | prcd_elements | kwert | Condition Value |
| PurchasingDocumentCategory | Fclm_Mm_Ekpo | PurchasingDocumentCategory | Doc. Category | |
| PurchasingDocumentDeletionCode | Fclm_Mm_Ekpo | PurchasingDocumentDeletionCode | Del. Indicator | |
| Material | Fclm_Mm_Ekpo | Material | Vehicle Model | |
| SupplierMaterialNumber | Fclm_Mm_Ekpo | SupplierMaterialNumber | Supp. Mat. No. | |
| ManufacturerMaterial | Fclm_Mm_Ekpo | ManufacturerMaterial | MPN: Material | |
| ManufacturerPartNmbr | Fclm_Mm_Ekpo | ManufacturerPartNmbr | Mfr Part Number | |
| Manufacturer | Fclm_Mm_Ekpo | Manufacturer | Manufacturer | |
| PurchasingDocumentItemText | Fclm_Mm_Ekpo | PurchasingDocumentItemText | Short Text | |
| CompanyCode | Fclm_Mm_Ekpo | CompanyCode | Receiver Company Code | |
| Plant | Fclm_Mm_Ekpo | Plant | Valuation Area | |
| ManualDeliveryAddressID | Fclm_Mm_Ekpo | ManualDeliveryAddressID | Address Number | |
| ReferenceDeliveryAddressID | Fclm_Mm_Ekpo | ReferenceDeliveryAddressID | Reference Address | |
| StorageLocation | Fclm_Mm_Ekpo | StorageLocation | StorageLocation | |
| MaterialGroup | Fclm_Mm_Ekpo | MaterialGroup | Product Group | |
| OrderQuantityUnit | Fclm_Mm_Ekpo | OrderQuantityUnit | Sales Unit | |
| OrderItemQtyToBaseQtyNmrtr | Fclm_Mm_Ekpo | OrderItemQtyToBaseQtyNmrtr | Equal To | |
| OrderItemQtyToBaseQtyDnmntr | Fclm_Mm_Ekpo | OrderItemQtyToBaseQtyDnmntr | Denominator | |
| NetPriceQuantity | Fclm_Mm_Ekpo | NetPriceQuantity | Price Unit | |
| IsCompletelyDelivered | Fclm_Mm_Ekpo | IsCompletelyDelivered | Is completely delivered | |
| IsFinallyInvoiced | Fclm_Mm_Ekpo | IsFinallyInvoiced | Final Invoice | |
| GoodsReceiptIsExpected | Fclm_Mm_Ekpo | GoodsReceiptIsExpected | Goods Receipt | |
| InvoiceIsExpected | Fclm_Mm_Ekpo | InvoiceIsExpected | Invoice Receipt | |
| InvoiceIsGoodsReceiptBased | Fclm_Mm_Ekpo | InvoiceIsGoodsReceiptBased | GR-Based IV | |
| PurchaseRequisition | Fclm_Mm_Ekpo | PurchaseRequisition | Requisition | |
| PurchaseRequisitionItem | Fclm_Mm_Ekpo | PurchaseRequisitionItem | Requisn. item | |
| ServicePackage | Fclm_Mm_Ekpo | ServicePackage | Package number | |
| ServicePerformer | ||||
| ProductType | ||||
| PurchaseContractItem | Fclm_Mm_Ekpo | PurchaseContractItem | Item | |
| PurchaseContract | Fclm_Mm_Ekpo | PurchaseContract | Purchasing Doc. | |
| EvaldRcptSettlmtIsAllowed | Fclm_Mm_Ekpo | EvaldRcptSettlmtIsAllowed | ERS | |
| UnlimitedOverdeliveryIsAllowed | Fclm_Mm_Ekpo | UnlimitedOverdeliveryIsAllowed | Unlimited Tol. | |
| OverdelivTolrtdLmtRatioInPct | Fclm_Mm_Ekpo | OverdelivTolrtdLmtRatioInPct | Overdeliv. Tol. | |
| UnderdelivTolrtdLmtRatioInPct | Fclm_Mm_Ekpo | UnderdelivTolrtdLmtRatioInPct | Underdel. Tol. | |
| RequisitionerName | Fclm_Mm_Ekpo | RequisitionerName | Requisitioner | |
| IncotermsClassification | Fclm_Mm_Ekpo | IncotermsClassification | Incoterms | |
| IncotermsTransferLocation | Fclm_Mm_Ekpo | IncotermsTransferLocation | Incoterms 2 | |
| InternationalArticleNumber | Fclm_Mm_Ekpo | InternationalArticleNumber | EAN/UPC | |
| ConfirmationControl | Fclm_Mm_Ekpo | ConfirmationControl | Conf. Control | |
| PriceIsToBePrinted | Fclm_Mm_Ekpo | PriceIsToBePrinted | Print Price | |
| BaseUnit | Fclm_Mm_Ekpo | BaseUnit | Unit of Measure | |
| PurchasingDocumentItemCategory | Fclm_Mm_Ekpo | PurchasingDocumentItemCategory | Item Category | |
| ProfitCenter | Fclm_Mm_Ekpo | ProfitCenter | Profit Center | |
| OrderPriceUnit | Fclm_Mm_Ekpo | OrderPriceUnit | Order Price Un. | |
| VolumeUnit | Fclm_Mm_Ekpo | VolumeUnit | Volume Unit | |
| WeightUnit | Fclm_Mm_Ekpo | WeightUnit | Weight unit | |
| MultipleAcctAssgmtDistribution | Fclm_Mm_Ekpo | MultipleAcctAssgmtDistribution | Distribution | |
| PartialInvoiceDistribution | Fclm_Mm_Ekpo | PartialInvoiceDistribution | Partial invoice | |
| PricingDateControl | Fclm_Mm_Ekpo | PricingDateControl | Pr. Date Cat. | |
| IsStatisticalItem | Fclm_Mm_Ekpo | IsStatisticalItem | Statisticl.Indicator | |
| IsReturnsItem | Fclm_Mm_Ekpo | IsReturnsItem | Returns Item | |
| AccountAssignmentCategory | Fclm_Mm_Ekpo | AccountAssignmentCategory | Acct Assgmt Cat | |
| PurchasingInfoRecord | Fclm_Mm_Ekpo | PurchasingInfoRecord | Info Record | |
| EffectiveAmount | Fclm_Mm_Ekpo | EffectiveAmount | Effective value | |
| NonDeductibleInputTax | Fclm_Mm_Ekpo | NonDeductibleInputTax | ||
| TargetQuantity | Fclm_Mm_Ekpo | TargetQuantity | Target Quantity | |
| OrderQuantity | Fclm_Mm_Ekpo | OrderQuantity | Quantity | |
| NetPriceAmount | Fclm_Mm_Ekpo | NetPriceAmount | Net Price | |
| TargetAmount | Fclm_Mm_Ekpo | TargetAmount | Target Value | |
| ItemVolume | Fclm_Mm_Ekpo | ItemVolume | Volume | |
| ItemNetWeight | Fclm_Mm_Ekpo | ItemNetWeight | Net Weight | |
| OrderPriceUnitToOrderUnitNmrtr | Fclm_Mm_Ekpo | OrderPriceUnitToOrderUnitNmrtr | Quantity Conversion Numerator | |
| OrdPriceUnitToOrderUnitDnmntr | Fclm_Mm_Ekpo | OrdPriceUnitToOrderUnitDnmntr | Quantity Conversion Denominator | |
| GoodsReceiptNonValuated | Fclm_Mm_Ekpo | GoodsReceiptNonValuated | ||
| PurchasingGroup | Fclm_Mm_Ekpo | PurchasingGroup | Purchasing Group | |
| Supplier | Fclm_Mm_Ekpo | Supplier | Supplier | |
| PurchasingOrganization | Fclm_Mm_Ekpo | PurchasingOrganization | Purchasing Organization | |
| DocumentCurrency | Fclm_Mm_Ekpo | DocumentCurrency | Document Currency | |
| PurchasingCompletenessStatus | Fclm_Mm_Ekpo | PurchasingCompletenessStatus | Incomplete | |
| PurchasingDocumentType | Fclm_Mm_Ekpo | PurchasingDocumentType | RFQ Type | |
| PaymentTerms | Fclm_Mm_Ekpo | PaymentTerms | Pyt Terms | |
| CashDiscount1Days | Fclm_Mm_Ekpo | CashDiscount1Days | Days from Baseline Date for Payment | |
| CashDiscount2Days | Fclm_Mm_Ekpo | CashDiscount2Days | Days from Baseline Date for Payment | |
| NetPaymentDays | Fclm_Mm_Ekpo | NetPaymentDays | Net Pmt Terms Period | |
| CashDiscount1Percent | Fclm_Mm_Ekpo | CashDiscount1Percent | Disc. Percent 1 | |
| CashDiscount2Percent | Fclm_Mm_Ekpo | CashDiscount2Percent | Disc. Percent 2 | |
| PurchasingDocumentOrderDate | Fclm_Mm_Ekpo | PurchasingDocumentOrderDate | PO Date | |
| ValueBasedCommitment | Fclm_Mm_Ekpo | ValueBasedCommitment | ||
| InvoicePlanNumber | Fclm_Mm_Ekpo | InvoicePlanNumber | ||
| CompanyCodeCurrency | Fclm_Mm_Ekpo | CompanyCodeCurrency | Local Currency |
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 Fclm_Mmpd_Dcost.
-- 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: VFCLMMMPDDCOST
CREATE VIEW Fclm_Mmpd_Dcost AS
SELECT
poitem.PurchasingDocument AS PurchasingDocument,
poitem.PurchasingDocumentItem AS PurchasingDocumentItem,
cond.stunr AS ConditionStep,
cond.zaehk AS ConditionCount,
cond.kwert AS NetAmount,
poitem.PurchasingDocumentCategory AS PurchasingDocumentCategory,
poitem.PurchasingDocumentDeletionCode AS PurchasingDocumentDeletionCode,
poitem.Material AS Material,
poitem.SupplierMaterialNumber AS SupplierMaterialNumber,
poitem.ManufacturerMaterial AS ManufacturerMaterial,
poitem.ManufacturerPartNmbr AS ManufacturerPartNmbr,
poitem.Manufacturer AS Manufacturer,
poitem.PurchasingDocumentItemText AS PurchasingDocumentItemText,
poitem.CompanyCode AS CompanyCode,
poitem.Plant AS Plant,
poitem.ManualDeliveryAddressID AS ManualDeliveryAddressID,
poitem.ReferenceDeliveryAddressID AS ReferenceDeliveryAddressID,
poitem.StorageLocation AS StorageLocation,
poitem.MaterialGroup AS MaterialGroup,
poitem.OrderQuantityUnit AS OrderQuantityUnit,
poitem.OrderItemQtyToBaseQtyNmrtr AS OrderItemQtyToBaseQtyNmrtr,
poitem.OrderItemQtyToBaseQtyDnmntr AS OrderItemQtyToBaseQtyDnmntr,
poitem.NetPriceQuantity AS NetPriceQuantity,
poitem.IsCompletelyDelivered AS IsCompletelyDelivered,
poitem.IsFinallyInvoiced AS IsFinallyInvoiced,
poitem.GoodsReceiptIsExpected AS GoodsReceiptIsExpected,
poitem.InvoiceIsExpected AS InvoiceIsExpected,
poitem.InvoiceIsGoodsReceiptBased AS InvoiceIsGoodsReceiptBased,
poitem.PurchaseRequisition AS PurchaseRequisition,
poitem.PurchaseRequisitionItem AS PurchaseRequisitionItem,
poitem.ServicePackage AS ServicePackage,
poitem.PurchaseContractItem AS PurchaseContractItem,
poitem.PurchaseContract AS PurchaseContract,
poitem.EvaldRcptSettlmtIsAllowed AS EvaldRcptSettlmtIsAllowed,
poitem.UnlimitedOverdeliveryIsAllowed AS UnlimitedOverdeliveryIsAllowed,
poitem.OverdelivTolrtdLmtRatioInPct AS OverdelivTolrtdLmtRatioInPct,
poitem.UnderdelivTolrtdLmtRatioInPct AS UnderdelivTolrtdLmtRatioInPct,
poitem.RequisitionerName AS RequisitionerName,
poitem.IncotermsClassification AS IncotermsClassification,
poitem.IncotermsTransferLocation AS IncotermsTransferLocation,
poitem.InternationalArticleNumber AS InternationalArticleNumber,
poitem.ConfirmationControl AS ConfirmationControl,
poitem.PriceIsToBePrinted AS PriceIsToBePrinted,
poitem.BaseUnit AS BaseUnit,
poitem.PurchasingDocumentItemCategory AS PurchasingDocumentItemCategory,
poitem.ProfitCenter AS ProfitCenter,
poitem.OrderPriceUnit AS OrderPriceUnit,
poitem.VolumeUnit AS VolumeUnit,
poitem.WeightUnit AS WeightUnit,
poitem.MultipleAcctAssgmtDistribution AS MultipleAcctAssgmtDistribution,
poitem.PartialInvoiceDistribution AS PartialInvoiceDistribution,
poitem.PricingDateControl AS PricingDateControl,
poitem.IsStatisticalItem AS IsStatisticalItem,
poitem.IsReturnsItem AS IsReturnsItem,
poitem.AccountAssignmentCategory AS AccountAssignmentCategory,
poitem.PurchasingInfoRecord AS PurchasingInfoRecord,
poitem.EffectiveAmount AS EffectiveAmount,
poitem.NonDeductibleInputTax AS NonDeductibleInputTax,
poitem.TargetQuantity AS TargetQuantity,
poitem.OrderQuantity AS OrderQuantity,
poitem.NetPriceAmount AS NetPriceAmount,
poitem.TargetAmount AS TargetAmount,
poitem.ItemVolume AS ItemVolume,
poitem.ItemNetWeight AS ItemNetWeight,
poitem.OrderPriceUnitToOrderUnitNmrtr AS OrderPriceUnitToOrderUnitNmrtr,
poitem.OrdPriceUnitToOrderUnitDnmntr AS OrdPriceUnitToOrderUnitDnmntr,
poitem.GoodsReceiptNonValuated AS GoodsReceiptNonValuated,
poitem.PurchasingGroup AS PurchasingGroup,
poitem.Supplier AS Supplier,
poitem.PurchasingOrganization AS PurchasingOrganization,
poitem.DocumentCurrency AS DocumentCurrency,
poitem.PurchasingCompletenessStatus AS PurchasingCompletenessStatus,
poitem.PurchasingDocumentType AS PurchasingDocumentType,
poitem.PaymentTerms AS PaymentTerms,
poitem.CashDiscount1Days AS CashDiscount1Days,
poitem.CashDiscount2Days AS CashDiscount2Days,
poitem.NetPaymentDays AS NetPaymentDays,
poitem.CashDiscount1Percent AS CashDiscount1Percent,
poitem.CashDiscount2Percent AS CashDiscount2Percent,
poitem.PurchasingDocumentOrderDate AS PurchasingDocumentOrderDate,
poitem.ValueBasedCommitment AS ValueBasedCommitment,
poitem.InvoicePlanNumber AS InvoicePlanNumber,
poitem.CompanyCodeCurrency AS CompanyCodeCurrency
FROM ekko AS podoc
INNER JOIN prcd_elements AS cond ON /* join condition not captured in parsed metadata */
INNER JOIN Fclm_Mm_Ekpo AS poitem ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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