SEPM_I_GoodsIssue

DDL: SEPM_I_GOODSISSUE SQL: SEPM_IGI Type: view

EPM Demo: Goods Issue

SEPM_I_GoodsIssue is a CDS View of category Dimension that provides data about "EPM Demo: Goods Issue" in SAP S/4HANA. It reads from 1 data source (snwd_gi_head) and exposes 14 fields with key field GoodsIssueUUID. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
snwd_gi_head snwd_gi_head from

Associations (6)

CardinalityTargetAliasCondition
[0..1] SEPM_I_BusinessPartner _Customer $projection.CustomerUUID = _Customer.BusinessPartnerUUID
[0..1] SEPM_I_CUSTOMER _CustomerV2 $projection.CustomerUUID = _CustomerV2.CustomerUUID
[0..1] SEPM_I_SalesOrder _SalesOrder $projection.SalesOrderUUID = _SalesOrder.SalesOrderUUID
[0..*] SEPM_I_GoodsIssueItem _Item $projection.GoodsIssueUUID = _Item.GoodsIssueUUID
[0..1] SEPM_I_Employee _CreatedByUser $projection.CreatedByUser = _CreatedByUser.EmployeeUUID
[0..1] SEPM_I_Employee _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.EmployeeUUID

Annotations (10)

NameValueLevelField
EndUserText.label EPM Demo: Goods Issue view
ObjectModel.compositionRoot true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AbapCatalog.sqlViewName SEPM_IGI view
ObjectModel.representativeKey GoodsIssueUUID view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY GoodsIssueUUID node_key Tree Model: Node Key
SalesOrderUUID so_guid Node Key
CustomerUUID buyer_guid Node Key
DeliveryNote dly_note_number Delivery Note No.
CreatedByUser created_by Version Created By
CreationDateTime created_at Uploaded On
LastChangedByUser changed_by User Name
LastChangedDateTime changed_at Timestamp
_Customer _Customer
_CustomerV2 _CustomerV2
_Item _Item
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_SalesOrder _SalesOrder

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 SEPM_I_GoodsIssue.
-- 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: SEPM_IGI

CREATE VIEW SEPM_I_GoodsIssue AS
SELECT
  node_key AS GoodsIssueUUID,
  so_guid AS SalesOrderUUID,
  buyer_guid AS CustomerUUID,
  dly_note_number AS DeliveryNote,
  created_by AS CreatedByUser,
  created_at AS CreationDateTime,
  changed_by AS LastChangedByUser,
  changed_at AS LastChangedDateTime
FROM snwd_gi_head
LEFT OUTER JOIN SEPM_I_BusinessPartner AS _Customer ON CustomerUUID = _Customer.BusinessPartnerUUID  -- association [0..1]
LEFT OUTER JOIN SEPM_I_CUSTOMER AS _CustomerV2 ON CustomerUUID = _CustomerV2.CustomerUUID  -- association [0..1]
LEFT OUTER JOIN SEPM_I_SalesOrder AS _SalesOrder ON SalesOrderUUID = _SalesOrder.SalesOrderUUID  -- association [0..1]
LEFT OUTER JOIN SEPM_I_GoodsIssueItem AS _Item ON GoodsIssueUUID = _Item.GoodsIssueUUID  -- association [0..*]
LEFT OUTER JOIN SEPM_I_Employee AS _CreatedByUser ON CreatedByUser = _CreatedByUser.EmployeeUUID  -- association [0..1]
LEFT OUTER JOIN SEPM_I_Employee AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.EmployeeUUID  -- association [0..1]
;