Fclm_Mm_Ekko
Purchasing Document
Fclm_Mm_Ekko is a CDS View that provides data about "Purchasing Document" in SAP S/4HANA. It reads from 1 data source (ekko) and exposes 40 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ekko | ekko | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VFCLMMMEKKO | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Purchasing Document | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #P | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| mandt | ekko | mandt | Editing Client | |
| PurchasingDocument | ekko | ebeln | Source PurchDoc | |
| PurchasingDocumentCategory | ekko | bstyp | Source doc.cat. | |
| PurchasingDocumentType | ekko | bsart | Stnd purch.ord. | |
| PurchasingDocumentSubtype | ekko | bsakz | Control | |
| CompanyCode | ekko | bukrs | Value | |
| PurchasingDocumentDeletionCode | ekko | loekz | Status | |
| PurchasingDocumentOrigin | ekko | statu | Vehicle Status | |
| ReleaseIsNotCompleted | ekko | frgrl | Subj.to Release | |
| ReleaseCode | ekko | frgke | Release ind. | |
| CreationDate | ekko | aedat | Obsolete | |
| CreatedByUser | ekko | ernam | User Name | |
| Supplier | ekko | lifnr | Vendor no. | |
| SupplierRespSalesPersonName | ekko | verkf | Salesperson | |
| SupplierPhoneNumber | ekko | telf1 | Telephone no. | |
| SupplierAddressID | ekko | adrnr | Sold-To Address | |
| ManualSupplierAddressID | ekko | adrnr | Sold-To Address | |
| PurchasingOrganization | ekko | ekorg | Purchasing Org. | |
| PurchasingGroup | ekko | ekgrp | Sub. purchasing grp | |
| DocumentCurrency | ekko | waers | Transaction Currency | |
| ExchangeRate | ekko | wkurs | Exchange Rate | |
| PurchasingDocumentOrderDate | ekko | bedat | Start date | |
| SupplyingSupplier | ekko | llief | Goods Supplier | |
| SupplyingPlant | ekko | reswk | Supplying Plant | |
| InvoicingParty | ekko | lifre | Location Alias | |
| PurchaseContract | ekko | konnr | Agreement | |
| PurchasingCompletenessStatus | ekko | memory | Incomplete | |
| IncotermsClassification | ekko | inco1 | Incoterms | |
| IncotermsTransferLocation | ekko | inco2 | Incoterms 2 | |
| PaymentTerms | ekko | zterm | Terms of Payment | |
| CashDiscount1Days | ekko | zbd1t | Payment in | |
| CashDiscount2Days | ekko | zbd2t | Payment in | |
| NetPaymentDays | ekko | zbd3t | Payment in | |
| CashDiscount1Percent | ekko | zbd1p | Max. Cash Dis. (%) | |
| CashDiscount2Percent | ekko | zbd2p | Nrm. Cash Dis. (%) | |
| PricingProcedure | ekko | kalsm | Search Proced. | |
| TargetAmount | ekko | ktwrt | Target Value | |
| PurchasingDocumentCondition | ekko | knumv | Doc. Condition | |
| ValidityStartDate | ekko | kdatb | Validity Start | |
| ValidityEndDate | ekko | kdate | Validity End |
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_Mm_Ekko.
-- 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: VFCLMMMEKKO
CREATE VIEW Fclm_Mm_Ekko AS
SELECT
ekko.mandt AS mandt,
ekko.ebeln AS PurchasingDocument,
ekko.bstyp AS PurchasingDocumentCategory,
ekko.bsart AS PurchasingDocumentType,
ekko.bsakz AS PurchasingDocumentSubtype,
ekko.bukrs AS CompanyCode,
ekko.loekz AS PurchasingDocumentDeletionCode,
ekko.statu AS PurchasingDocumentOrigin,
ekko.frgrl AS ReleaseIsNotCompleted,
ekko.frgke AS ReleaseCode,
ekko.aedat AS CreationDate,
ekko.ernam AS CreatedByUser,
ekko.lifnr AS Supplier,
ekko.verkf AS SupplierRespSalesPersonName,
ekko.telf1 AS SupplierPhoneNumber,
ekko.adrnr AS SupplierAddressID,
ekko.adrnr AS ManualSupplierAddressID,
ekko.ekorg AS PurchasingOrganization,
ekko.ekgrp AS PurchasingGroup,
ekko.waers AS DocumentCurrency,
ekko.wkurs AS ExchangeRate,
ekko.bedat AS PurchasingDocumentOrderDate,
ekko.llief AS SupplyingSupplier,
ekko.reswk AS SupplyingPlant,
ekko.lifre AS InvoicingParty,
ekko.konnr AS PurchaseContract,
ekko.memory AS PurchasingCompletenessStatus,
ekko.inco1 AS IncotermsClassification,
ekko.inco2 AS IncotermsTransferLocation,
ekko.zterm AS PaymentTerms,
ekko.zbd1t AS CashDiscount1Days,
ekko.zbd2t AS CashDiscount2Days,
ekko.zbd3t AS NetPaymentDays,
ekko.zbd1p AS CashDiscount1Percent,
ekko.zbd2p AS CashDiscount2Percent,
ekko.kalsm AS PricingProcedure,
ekko.ktwrt AS TargetAmount,
ekko.knumv AS PurchasingDocumentCondition,
ekko.kdatb AS ValidityStartDate,
ekko.kdate AS ValidityEndDate
FROM ekko
;
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