C_Sadl_Voc_Salesorder_Smpl

DDL: C_SADL_VOC_SALESORDER_SMPL SQL: CSADL_VOC_SOSM Type: view CONSUMPTION Package: SADL_GW_EXPOSURE_VOCAN_MOCK

Vocan View: Sales Order Simple UI Anno

C_Sadl_Voc_Salesorder_Smpl is a Consumption CDS View that provides data about "Vocan View: Sales Order Simple UI Anno" in SAP S/4HANA. It reads from 1 data source (I_Sadl_Voc_Salesorder) and exposes 21 fields with key field SalesOrderId. Part of development package SADL_GW_EXPOSURE_VOCAN_MOCK.

Data Sources (1)

SourceAliasJoin Type
I_Sadl_Voc_Salesorder so from

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CSADL_VOC_SOSM view
EndUserText.label Vocan View: Sales Order Simple UI Anno view
VDM.viewType #CONSUMPTION view
UI.headerInfo.typeName Vocan Sales Order view
UI.headerInfo.typeNamePlural Vocan Sales Orders view
UI.headerInfo.typeImageUrl ImageUrl view
UI.headerInfo.imageUrl ImageUrl view
UI.headerInfo.imageData _BusinessPartner._BusinessPartnerAddress.Street view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value SalesOrderId view
UI.headerInfo.description.type #WITH_URL view
UI.headerInfo.description.value ImageUrl view
UI.headerInfo.description.url ImageUrl view
UI.textArrangement #TEXT_ONLY view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY SalesOrderId I_Sadl_Voc_Salesorder SalesOrderId Sales Order ID
CreatedBy I_Sadl_Voc_Salesorder CreatedBy User Name
CreatedAt I_Sadl_Voc_Salesorder CreatedAt Time Stamp
ChangedBy I_Sadl_Voc_Salesorder ChangedBy User Name
CreationDate
ChangedAt I_Sadl_Voc_Salesorder ChangedAt Time Stamp
BusinessPartnerGuid I_Sadl_Voc_Salesorder BusinessPartnerGuid
BusinessPartnerId
CompanyName
CurrencyCode I_Sadl_Voc_Salesorder CurrencyCode Currency Code
CurrencyText
GrossAmount I_Sadl_Voc_Salesorder GrossAmount Gross value
NetAmount I_Sadl_Voc_Salesorder NetAmount Stated Amount
TaxAmount I_Sadl_Voc_Salesorder TaxAmount Tax Amt in Rptg Crcy
LifecycleStatus I_Sadl_Voc_Salesorder LifecycleStatus Life Cycle Status
BillingStatus I_Sadl_Voc_Salesorder BillingStatus SO Confirmation
DeliveryStatus I_Sadl_Voc_Salesorder DeliveryStatus Delivery Status
OpportunityId I_Sadl_Voc_Salesorder OpportunityId Opportunity ID
Street
OverallStatus I_Sadl_Voc_Salesorder OverallStatus Status Criticality
_BusinessPartner

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 C_Sadl_Voc_Salesorder_Smpl.
-- 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: CSADL_VOC_SOSM

CREATE VIEW C_Sadl_Voc_Salesorder_Smpl AS
SELECT
  so.SalesOrderId AS SalesOrderId,
  so.CreatedBy AS CreatedBy,
  so.CreatedAt AS CreatedAt,
  so.ChangedBy AS ChangedBy,
  substring(cast(so.CreatedAt as abap.char(29)), 1, 8) AS CreationDate,
  so.ChangedAt AS ChangedAt,
  so.BusinessPartnerGuid AS BusinessPartnerGuid,
  so._BusinessPartner.BusinessPartnerId AS BusinessPartnerId,
  so._BusinessPartner.CompanyName AS CompanyName,
  so.CurrencyCode AS CurrencyCode,
  'CurrText' AS CurrencyText,
  so.GrossAmount AS GrossAmount,
  so.NetAmount AS NetAmount,
  so.TaxAmount AS TaxAmount,
  so.LifecycleStatus AS LifecycleStatus,
  so.BillingStatus AS BillingStatus,
  so.DeliveryStatus AS DeliveryStatus,
  so.OpportunityId AS OpportunityId,
  so._BusinessPartner._BusinessPartnerAddress.Street AS Street,
  so.OverallStatus AS OverallStatus
FROM I_Sadl_Voc_Salesorder AS so
;