C_Sadl_Voc_Salesorder_Calf
Vocan View: Sales Order Calendar/Fiscal Anno
C_Sadl_Voc_Salesorder_Calf is a Consumption CDS View that provides data about "Vocan View: Sales Order Calendar/Fiscal Anno" in SAP S/4HANA. It reads from 1 data source (C_Sadl_Voc_Salesorder_Smpl) and exposes 22 fields with key field SalesOrderId.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| C_Sadl_Voc_Salesorder_Smpl | so | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSADL_VOC_SOCALF | view | |
| EndUserText.label | Vocan View: Sales Order Calendar/Fiscal Anno | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesOrderId | C_Sadl_Voc_Salesorder_Smpl | SalesOrderId | |
| CreatedAt | C_Sadl_Voc_Salesorder_Smpl | CreatedAt | Time Stamp | |
| CreationDate | ||||
| CreationYear | ||||
| CreationMonth | ||||
| CreationDay | ||||
| YearMonth | ||||
| FiscalPeriod | ||||
| FiscalYearPeriod | ||||
| FiscalYearVariant | ||||
| FiscalYearQuarter | ||||
| FiscalWeek | ||||
| ChangedAt | C_Sadl_Voc_Salesorder_Smpl | ChangedAt | Time Stamp | |
| BusinessPartnerGuid | C_Sadl_Voc_Salesorder_Smpl | BusinessPartnerGuid | ||
| CompanyName | C_Sadl_Voc_Salesorder_Smpl | CompanyName | Text | |
| CurrencyCode | C_Sadl_Voc_Salesorder_Smpl | CurrencyCode | ||
| CurrencyText | C_Sadl_Voc_Salesorder_Smpl | CurrencyText | ||
| GrossAmount | C_Sadl_Voc_Salesorder_Smpl | GrossAmount | Gross value | |
| NetAmount | C_Sadl_Voc_Salesorder_Smpl | NetAmount | Stated Amount | |
| TaxAmount | C_Sadl_Voc_Salesorder_Smpl | TaxAmount | Tax Amt in Rptg Crcy | |
| BillingStatus | C_Sadl_Voc_Salesorder_Smpl | BillingStatus | ||
| _BusinessPartner | C_Sadl_Voc_Salesorder_Smpl | _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_Calf.
-- 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_SOCALF
CREATE VIEW C_Sadl_Voc_Salesorder_Calf AS
SELECT
so.SalesOrderId AS SalesOrderId,
so.CreatedAt AS CreatedAt,
substring(cast(so.CreatedAt as abap.char(29)), 1, 8) AS CreationDate,
substring(cast(so.CreatedAt as abap.char(29)), 1, 4) AS CreationYear,
substring(cast(so.CreatedAt as abap.char(29)), 5, 2) AS CreationMonth,
substring(cast(so.CreatedAt as abap.char(29)), 6, 2) AS CreationDay,
substring(cast(so.CreatedAt as abap.char(29)), 1, 6) AS YearMonth,
'001' AS FiscalPeriod,
concat( substring(cast(so.CreatedAt as abap.char(29)), 1, 4), '001' ) AS FiscalYearPeriod,
'0010001' AS FiscalYearVariant,
'2018-01' AS FiscalYearQuarter,
'01' AS FiscalWeek,
so.ChangedAt AS ChangedAt,
so.BusinessPartnerGuid AS BusinessPartnerGuid,
so.CompanyName AS CompanyName,
so.CurrencyCode AS CurrencyCode,
so.CurrencyText AS CurrencyText,
so.GrossAmount AS GrossAmount,
so.NetAmount AS NetAmount,
so.TaxAmount AS TaxAmount,
so.BillingStatus AS BillingStatus,
so._BusinessPartner AS _BusinessPartner
FROM C_Sadl_Voc_Salesorder_Smpl AS so
;
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