sepm_sddl_goods_receipt_header

DDL: SEPM_SDDL_GOODS_RECEIPT_HEADER SQL: SEPM_SDDL_V_GRH Type: view

sepm_sddl_goods_receipt_header is a CDS View in SAP S/4HANA. It reads from 1 data source (snwd_gr_head) and exposes 5 fields. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
snwd_gr_head snwd_gr_head from

Associations (5)

CardinalityTargetAliasCondition
[1] sepm_sddl_purchaseorder_header purchase_order $projection.purchase_order_key = purchase_order.purchase_order_key
[1] sepm_sddl_businesspartner supplier $projection.supplier_key = supplier.business_partner_key
[1] sepm_sddl_employees created_by_employee $projection.created_by_employee_key = created_by_employee.employee_key
[1] sepm_sddl_employees changed_by_employee $projection.changed_by_employee_key = changed_by_employee.employee_key
[0..*] sepm_sddl_goods_receipt_item items $projection.goods_receipt_key = items.purchase_order_item_key

Annotations (1)

NameValueLevelField
AbapCatalog.sqlViewName SEPM_SDDL_V_GRH view

Fields (5)

KeyFieldSource TableSource FieldDescription
created_at created_at Uploaded On
changed_at changed_at Timestamp
supplier_key partner_guid Partner GUID
supplier supplier Supplier
items items Single-Character Flag

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_sddl_goods_receipt_header.
-- 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_SDDL_V_GRH

CREATE VIEW sepm_sddl_goods_receipt_header AS
SELECT
  created_at,
  changed_at,
  partner_guid AS supplier_key,
  supplier,
  items
FROM snwd_gr_head
LEFT OUTER JOIN sepm_sddl_purchaseorder_header AS purchase_order ON purchase_order_key = purchase_order.purchase_order_key  -- association [1]
LEFT OUTER JOIN sepm_sddl_businesspartner AS supplier ON supplier_key = supplier.business_partner_key  -- association [1]
LEFT OUTER JOIN sepm_sddl_employees AS created_by_employee ON created_by_employee_key = created_by_employee.employee_key  -- association [1]
LEFT OUTER JOIN sepm_sddl_employees AS changed_by_employee ON changed_by_employee_key = changed_by_employee.employee_key  -- association [1]
LEFT OUTER JOIN sepm_sddl_goods_receipt_item AS items ON goods_receipt_key = items.purchase_order_item_key  -- association [0..*]
;