I_EDCSalesOrderRecords
EDC Relevant Sales Order Records
I_EDCSalesOrderRecords is a Basic CDS View that provides data about "EDC Relevant Sales Order Records" in SAP S/4HANA. It reads from 2 data sources (I_EDCSalesDocumentRelation, I_SalesOrder) and exposes 26 fields with key fields EDCType, EDCCompany, EDCCommonKey.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_EDCSalesDocumentRelation | _EDCRelation | from |
| I_SalesOrder | _SalesOrder | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | EDC Relevant Sales Order Records | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EDCType | I_EDCSalesDocumentRelation | EDCType | |
| KEY | EDCCompany | I_EDCSalesDocumentRelation | EDCCompany | |
| KEY | EDCCommonKey | I_EDCSalesDocumentRelation | EDCCommonKey | |
| SalesOrder | I_EDCSalesDocumentRelation | SalesOrder | SD Document | |
| EDCRepresentationKey | I_EDCSalesDocumentRelation | EDCRepresentationKey | ||
| EDCRepresentationType | I_EDCSalesDocumentRelation | EDCRepresentationType | ||
| EDCRecordUUID | I_EDCSalesDocumentRelation | EDCRecordUUID | ||
| EDCCreatedOnDateTime | I_EDCSalesDocumentRelation | EDCCreatedOnDateTime | ||
| SalesOrderType | I_SalesOrder | SalesOrderType | Sales Order Type | |
| SalesOrderProcessingType | I_SalesOrder | SalesOrderProcessingType | ||
| SalesOrderDate | I_SalesOrder | SalesOrderDate | Document Date | |
| SalesGroup | I_SalesOrder | SalesGroup | Sales Group | |
| BillingCompanyCode | I_SalesOrder | BillingCompanyCode | CCodeToBeBilled | |
| SalesOrderApprovalReason | I_SalesOrder | SalesOrderApprovalReason | ||
| SalesOrganization | I_SalesOrder | SalesOrganization | Sales Organization | |
| DistributionChannel | I_SalesOrder | DistributionChannel | RefDistCh-Cust/Mat. | |
| SoldToParty | I_SalesOrder | SoldToParty | Sold-to Party | |
| CostCenter | I_SalesOrder | CostCenter | Cost Center | |
| ControllingArea | I_SalesOrder | ControllingArea | Controlling Area | |
| CustomerGroup | I_SalesOrder | CustomerGroup | Customer Group | |
| SalesDistrict | I_SalesOrder | SalesDistrict | Sales District | |
| ShippingType | I_SalesOrder | ShippingType | Shipping Type | |
| FiscalYear | I_SalesOrder | FiscalYear | G/L Fiscal Year | |
| FiscalPeriod | I_SalesOrder | FiscalPeriod | Tax period | |
| TotalNetAmount | I_SalesOrder | TotalNetAmount | Total Net Amount | |
| TransactionCurrency | I_SalesOrder | TransactionCurrency | Transaction Currency |
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 I_EDCSalesOrderRecords.
-- 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 I_EDCSalesOrderRecords AS
SELECT
_EDCRelation.EDCType AS EDCType,
_EDCRelation.EDCCompany AS EDCCompany,
_EDCRelation.EDCCommonKey AS EDCCommonKey,
_EDCRelation.SalesOrder AS SalesOrder,
_EDCRelation.EDCRepresentationKey AS EDCRepresentationKey,
_EDCRelation.EDCRepresentationType AS EDCRepresentationType,
_EDCRelation.EDCRecordUUID AS EDCRecordUUID,
_EDCRelation.EDCCreatedOnDateTime AS EDCCreatedOnDateTime,
_SalesOrder.SalesOrderType AS SalesOrderType,
_SalesOrder.SalesOrderProcessingType AS SalesOrderProcessingType,
_SalesOrder.SalesOrderDate AS SalesOrderDate,
_SalesOrder.SalesGroup AS SalesGroup,
_SalesOrder.BillingCompanyCode AS BillingCompanyCode,
_SalesOrder.SalesOrderApprovalReason AS SalesOrderApprovalReason,
_SalesOrder.SalesOrganization AS SalesOrganization,
_SalesOrder.DistributionChannel AS DistributionChannel,
_SalesOrder.SoldToParty AS SoldToParty,
_SalesOrder.CostCenter AS CostCenter,
_SalesOrder.ControllingArea AS ControllingArea,
_SalesOrder.CustomerGroup AS CustomerGroup,
_SalesOrder.SalesDistrict AS SalesDistrict,
_SalesOrder.ShippingType AS ShippingType,
_SalesOrder.FiscalYear AS FiscalYear,
_SalesOrder.FiscalPeriod AS FiscalPeriod,
_SalesOrder.TotalNetAmount AS TotalNetAmount,
_SalesOrder.TransactionCurrency AS TransactionCurrency
FROM I_EDCSalesDocumentRelation AS _EDCRelation
INNER JOIN I_SalesOrder AS _SalesOrder ON /* join condition not captured in parsed metadata */
;
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