C_Sadl_Voc_Salesorder_Df
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)
| Source | Alias | Join Type |
|---|---|---|
| I_Sadl_Voc_Salesorder | so | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_Sadl_Voc_Businesspartner | bp | so.BusinessPartnerGuid = bp.BusinessPartnerKey |
| [0..*] | sadl_voc_data | data | so.SalesOrderId = data.sales_order_id |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA