C_Sadl_Voc_Salesorder_Df

DDL: C_SADL_VOC_SALESORDER_DF SQL: CSADL_VOC_SODF Type: view CONSUMPTION

Vocan View: Sales Order Datafield UI Anno

C_Sadl_Voc_Salesorder_Df is a Consumption CDS View that provides data about "Vocan View: Sales Order Datafield UI Anno" in SAP S/4HANA. It reads from 1 data source (I_Sadl_Voc_Salesorder) and exposes 20 fields with key field SalesOrderId. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Sadl_Voc_Salesorder so from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_Sadl_Voc_Businesspartner bp so.BusinessPartnerGuid = bp.BusinessPartnerKey
[0..*] sadl_voc_data data so.SalesOrderId = data.sales_order_id

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CSADL_VOC_SODF view
EndUserText.label Vocan View: Sales Order Datafield 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.title.type #STANDARD view
UI.headerInfo.title.value SalesOrderId view
UI.headerInfo.title.label Sales Order view
UI.headerInfo.description.type #WITH_URL view
UI.headerInfo.description.value CompanyName view
UI.headerInfo.description.url WebAddress view
UI.headerInfo.description.label Company Name view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.representativeKey SalesOrderId view

Fields (20)

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
ChangedAt I_Sadl_Voc_Salesorder ChangedAt Time Stamp
BusinessPartnerGuid I_Sadl_Voc_Salesorder BusinessPartnerGuid
BusinessPartnerId bp BusinessPartnerId Team Member
WebAddress bp WebAddress
CompanyName bp CompanyName Text
Country bp Country Venue: Ctry/Reg
CurrencyCode I_Sadl_Voc_Salesorder CurrencyCode Currency Code
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
OverallStatus I_Sadl_Voc_Salesorder OverallStatus Status Criticality
test_dataasTestData_CurrencyText

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_Df.
-- 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_SODF

CREATE VIEW C_Sadl_Voc_Salesorder_Df AS
SELECT
  so.SalesOrderId AS SalesOrderId,
  so.CreatedBy AS CreatedBy,
  so.CreatedAt AS CreatedAt,
  so.ChangedBy AS ChangedBy,
  so.ChangedAt AS ChangedAt,
  so.BusinessPartnerGuid AS BusinessPartnerGuid,
  bp.BusinessPartnerId AS BusinessPartnerId,
  bp.WebAddress AS WebAddress,
  bp.CompanyName AS CompanyName,
  bp.Country AS Country,
  so.CurrencyCode AS CurrencyCode,
  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.OverallStatus AS OverallStatus
FROM I_Sadl_Voc_Salesorder AS so
LEFT OUTER JOIN C_Sadl_Voc_Businesspartner AS bp ON so.BusinessPartnerGuid = bp.BusinessPartnerKey  -- association [1..1]
LEFT OUTER JOIN sadl_voc_data AS data ON so.SalesOrderId = data.sales_order_id  -- association [0..*]
;