shsm_ekpo_ekko
Value Help for Purchasing Document
shsm_ekpo_ekko is a CDS View that provides data about "Value Help for Purchasing Document" in SAP S/4HANA. It reads from 2 data sources (I_PurchasingDocument, I_PurchasingDocumentItem) and exposes 17 fields with key fields PurchasingDocument, PurchasingDocumentItem.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingDocument | PurDoc | inner |
| I_PurchasingDocumentItem | PurDocItem | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISHSMEKPOEKKO | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Value Help for Purchasing Document | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | I_PurchasingDocumentItem | PurchasingDocument | Purchasing Document |
| KEY | PurchasingDocumentItem | I_PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item |
| PurchasingDocumentItemUniqueID | I_PurchasingDocumentItem | PurchasingDocumentItemUniqueID | Document Item | |
| Material | I_PurchasingDocumentItem | Material | Vehicle Model | |
| Plant | I_PurchasingDocumentItem | Plant | Valuation Area | |
| PlndOrderReplnmtElmntType | I_PurchasingDocumentItem | PlndOrderReplnmtElmntType | Kanban Indicat. | |
| StorageLocation | ||||
| Supplier | ||||
| SupplyingPlant | I_PurchasingDocument | SupplyingPlant | Supplying Plant | |
| PurchasingDocumentCategory | I_PurchasingDocument | PurchasingDocumentCategory | Doc. Category | |
| PurchasingDocumentType | I_PurchasingDocument | PurchasingDocumentType | RFQ Type | |
| PurchasingGroup | I_PurchasingDocument | PurchasingGroup | Purchasing Group | |
| PurchasingOrganization | I_PurchasingDocument | PurchasingOrganization | Purchasing Organization | |
| IsEndOfPurposeBlocked | I_PurchasingDocumentItem | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | |
| PurchasingDocumentDeletionCode | I_PurchasingDocument | PurchasingDocumentDeletionCode | Del. Indicator | |
| PurchasingDocItemDeletionCode | I_PurchasingDocumentItem | PurchasingDocumentDeletionCode | Del. Indicator | |
| IsCompletelyDelivered | I_PurchasingDocumentItem | IsCompletelyDelivered | Is completely delivered |
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 shsm_ekpo_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: ISHSMEKPOEKKO
CREATE VIEW shsm_ekpo_ekko AS
SELECT
PurDocItem.PurchasingDocument AS PurchasingDocument,
PurDocItem.PurchasingDocumentItem AS PurchasingDocumentItem,
PurDocItem.PurchasingDocumentItemUniqueID AS PurchasingDocumentItemUniqueID,
PurDocItem.Material AS Material,
PurDocItem.Plant AS Plant,
PurDocItem.PlndOrderReplnmtElmntType AS PlndOrderReplnmtElmntType,
cast (PurDocItem.StorageLocation as vdm_storage_location preserving type) AS StorageLocation,
cast ( PurDoc.Supplier as md_supplier preserving type) AS Supplier,
PurDoc.SupplyingPlant AS SupplyingPlant,
PurDoc.PurchasingDocumentCategory AS PurchasingDocumentCategory,
PurDoc.PurchasingDocumentType AS PurchasingDocumentType,
PurDoc.PurchasingGroup AS PurchasingGroup,
PurDoc.PurchasingOrganization AS PurchasingOrganization,
PurDocItem.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
PurDoc.PurchasingDocumentDeletionCode AS PurchasingDocumentDeletionCode,
PurDocItem.PurchasingDocumentDeletionCode AS PurchasingDocItemDeletionCode,
PurDocItem.IsCompletelyDelivered AS IsCompletelyDelivered
FROM I_PurchasingDocumentItem AS PurDocItem
INNER JOIN I_PurchasingDocument AS PurDoc 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