DEMO_SALES_CDS_SO_2

DDL: DEMO_SALES_CDS_SO_2 Type: view_entity

CDS view entity, so, RAP managed

DEMO_SALES_CDS_SO_2 is a CDS View that provides data about "CDS view entity, so, RAP managed" in SAP S/4HANA. It reads from 1 data source (demo_sales_order) and exposes 17 fields with key field SoKey.

Data Sources (1)

SourceAliasJoin Type
demo_sales_order demo_sales_order from

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CDS view entity, so, RAP managed view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY SoKey so_key SO key
SalesOrderId id WorklistID
BuyerId buyer_id Identifier
Status lifecycle_status Status
CreatedBy created_by Version Created By
CreatedOn created_on Variant created on
CreatedAt created_at Uploaded On
LastChangedBy last_changed_by Username
LastChangedOn last_changed_on Time Stamp
LastChangedAt last_changed_at Timestamp
ShipToId ship_to_id Business Partner ID
QuantitySum quantity_sum
UomSum uom_sum
AmountSum amount_sum
CurrencySum currency_sum
CompanyCode company_code Company Code
_SalesOrderItem _SalesOrderItem

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 DEMO_SALES_CDS_SO_2.
-- 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.

CREATE VIEW DEMO_SALES_CDS_SO_2 AS
SELECT
  so_key AS SoKey,
  id AS SalesOrderId,
  buyer_id AS BuyerId,
  lifecycle_status AS Status,
  created_by AS CreatedBy,
  created_on AS CreatedOn,
  created_at AS CreatedAt,
  last_changed_by AS LastChangedBy,
  last_changed_on AS LastChangedOn,
  last_changed_at AS LastChangedAt,
  ship_to_id AS ShipToId,
  quantity_sum AS QuantitySum,
  uom_sum AS UomSum,
  amount_sum AS AmountSum,
  currency_sum AS CurrencySum,
  company_code AS CompanyCode
FROM demo_sales_order
;