CIC_SalesDocument
Sales Document (Industry Cloud Solutions)
CIC_SalesDocument is a CDS View that provides data about "Sales Document (Industry Cloud Solutions)" in SAP S/4HANA. It reads from 2 data sources (CIC_SALESDOCUMENTSBLOCKEDBP, I_SalesDocument) and exposes 21 fields with key field SalesDocument.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| CIC_SALESDOCUMENTSBLOCKEDBP | BlockedSalesDocument | left_outer |
| I_SalesDocument | SalesDocument | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Sales Document (Industry Cloud Solutions) | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | I_SalesDocument | SalesDocument | SD Document |
| CreationDate | I_SalesDocument | CreationDate | Time Stamp | |
| CreationTime | I_SalesDocument | CreationTime | Time of Change | |
| TransactionCurrency | I_SalesDocument | TransactionCurrency | Transaction Currency | |
| DistributionChannel | I_SalesDocument | DistributionChannel | RefDistCh-Cust/Mat. | |
| OrganizationDivision | I_SalesDocument | OrganizationDivision | Org. Division | |
| TotalNetAmount | I_SalesDocument | TotalNetAmount | Total Net Amount | |
| SalesDocumentDate | I_SalesDocument | SalesDocumentDate | Document Date | |
| SDDocumentReason | I_SalesDocument | SDDocumentReason | Order Reason | |
| OverallOrdReltdBillgStatus | I_SalesDocument | OverallOrdReltdBillgStatus | ||
| PaymentMethod | I_SalesDocument | PaymentMethod | Pymt Meth. | |
| CompanyCodeCountry | ||||
| PricingDate | I_SalesDocument | PricingDate | Pricing Date | |
| OverallSDProcessStatus | I_SalesDocument | OverallSDProcessStatus | ||
| RequestedDeliveryDate | I_SalesDocument | RequestedDeliveryDate | Requested Delivery Date | |
| SalesOrganization | I_SalesDocument | SalesOrganization | Sales Organization | |
| SalesDocumentType | I_SalesDocument | SalesDocumentType | Sales Doc. Type | |
| AlternativePricingDate | I_SalesDocument | AlternativePricingDate | ||
| OverallTotalDeliveryStatus | I_SalesDocument | OverallTotalDeliveryStatus | ||
| ExchangeRate | I_SalesDocument | PriceDetnExchangeRate | Exchange Rate | |
| CompanyCodeCurrency |
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 CIC_SalesDocument.
-- 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 CIC_SalesDocument AS
SELECT
SalesDocument.SalesDocument AS SalesDocument,
SalesDocument.CreationDate AS CreationDate,
SalesDocument.CreationTime AS CreationTime,
SalesDocument.TransactionCurrency AS TransactionCurrency,
SalesDocument.DistributionChannel AS DistributionChannel,
SalesDocument.OrganizationDivision AS OrganizationDivision,
SalesDocument.TotalNetAmount AS TotalNetAmount,
SalesDocument.SalesDocumentDate AS SalesDocumentDate,
SalesDocument.SDDocumentReason AS SDDocumentReason,
SalesDocument.OverallOrdReltdBillgStatus AS OverallOrdReltdBillgStatus,
SalesDocument.PaymentMethod AS PaymentMethod,
SalesDocument._BillingCompanyCode.Country AS CompanyCodeCountry,
SalesDocument.PricingDate AS PricingDate,
SalesDocument.OverallSDProcessStatus AS OverallSDProcessStatus,
SalesDocument.RequestedDeliveryDate AS RequestedDeliveryDate,
SalesDocument.SalesOrganization AS SalesOrganization,
SalesDocument.SalesDocumentType AS SalesDocumentType,
SalesDocument.AlternativePricingDate AS AlternativePricingDate,
SalesDocument.OverallTotalDeliveryStatus AS OverallTotalDeliveryStatus,
SalesDocument.PriceDetnExchangeRate AS ExchangeRate,
SalesDocument._BillingCompanyCode.Currency AS CompanyCodeCurrency
FROM I_SalesDocument AS SalesDocument
LEFT OUTER JOIN CIC_SALESDOCUMENTSBLOCKEDBP AS BlockedSalesDocument ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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