shsm_ekpo_ekko

DDL: SHSM_EKPO_EKKO SQL: ISHSMEKPOEKKO Type: view

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)

SourceAliasJoin Type
I_PurchasingDocument PurDoc inner
I_PurchasingDocumentItem PurDocItem from

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;