C_Customer360SalesQuotation
Sales Quotations for customer 360
C_Customer360SalesQuotation is a Consumption CDS View that provides data about "Sales Quotations for customer 360" in SAP S/4HANA. It reads from 2 data sources (I_Customer360BusDocSetting, I_SalesQuotation) and exposes 60 fields with key field SalesQuotation. It has 11 associations to related views. It is exposed through 1 OData service (SD_ADVNCD_CUSTOMER360).
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Customer360BusDocSetting | Customer360BusDocSetting | inner |
| I_SalesQuotation | SalesQuotation | from |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | P_Quotationwl_Duedays | _SalesQuotationDueDays | $projection.SalesQuotation = _SalesQuotationDueDays.SalesQuotation |
| [0..1] | C_SoldToValueHelp | _SoldToParty | $projection.SoldToParty = _SoldToParty.Customer |
| [0..1] | C_Dischannelvaluehelp | _DistributionChannel | $projection.SalesOrganization = _DistributionChannel.SalesOrganization and $projection.DistributionChannel = _DistributionChannel.DistributionChannel |
| [0..1] | C_OrgDivisionValueHelp | _Division | $projection.SalesOrganization = _Division.SalesOrganization and $projection.DistributionChannel = _Division.DistributionChannel and $projection.OrganizationDivision = _Division.Division |
| [0..1] | C_SalesOfficeValueHelp | _SalesOffice | $projection.SalesOrganization = _SalesOffice.SalesOrganization and $projection.DistributionChannel = _SalesOffice.DistributionChannel and $projection.OrganizationDivision = _SalesOffice.OrganizationDivision and $projection.SalesOffice = _SalesOffice.SalesOffice |
| [0..1] | C_SalesGroupValueHelp | _SalesGroup | $projection.SalesOffice = _SalesGroup.SalesOffice and $projection.SalesGroup = _SalesGroup.SalesGroup |
| [0..1] | C_SalesQuotationTypeValueHelp | _SalesDocumentType | $projection.SalesQuotationType = _SalesDocumentType.SalesDocumentType |
| [0..1] | C_SalesDocumentUserVH | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | C_SalesDocumentUserVH | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [0..*] | C_Quotation_SubsequentDocType | _SubsequentDocType | $projection.SalesQuotationType = _SubsequentDocType.SourceSalesDocumentType |
| [1] | E_SalesDocumentBasic | _Extension | $projection.SalesQuotation = _Extension.SalesDocument |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Sales Quotations for customer 360 | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| SD_ADVNCD_CUSTOMER360 | SD_ADVNCD_CUSTOMER360 | V4 | C1 | NOT_RELEASED |
Fields (60)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesQuotation | I_SalesQuotation | SalesQuotation | |
| PurchaseOrderByCustomer | I_SalesQuotation | PurchaseOrderByCustomer | Purchase Order Number | |
| OverallSDProcessStatus | I_SalesQuotation | OverallSDProcessStatus | ||
| OverallSDProcessStatusDesc | ||||
| SoldToParty | I_SalesQuotation | SoldToParty | Sold-to Party | |
| SoldToPartyName | ||||
| BindingPeriodValidityStartDate | I_SalesQuotation | BindingPeriodValidityStartDate | ||
| BindingPeriodValidityEndDate | I_SalesQuotation | BindingPeriodValidityEndDate | Binding Period | |
| TotalNetAmount | I_SalesQuotation | TotalNetAmount | Total Net Amount | |
| TransactionCurrency | I_SalesQuotation | TransactionCurrency | Transaction Currency | |
| CurrencyName | ||||
| SalesQuotationDate | I_SalesQuotation | SalesQuotationDate | Document Date | |
| CreationDate | I_SalesQuotation | CreationDate | Time Stamp | |
| SalesQuotationType | I_SalesQuotation | SalesQuotationType | Sales Doc. Type | |
| SalesDocumentTypeName | ||||
| SalesOrganization | I_SalesQuotation | SalesOrganization | Sales Organization | |
| SalesOrganizationName | ||||
| OverallSDDocReferenceStatus | I_SalesQuotation | OverallSDDocReferenceStatus | ||
| OverallSDDocRefStatusDesc | ||||
| OverallSDDocumentRejectionSts | I_SalesQuotation | OverallSDDocumentRejectionSts | ||
| OvrlSDDocumentRejectionStsDesc | ||||
| SalesDocApprovalStatus | I_SalesQuotation | SalesDocApprovalStatus | ||
| SalesDocApprovalStatusDesc | ||||
| int1asSlsQtanDueDateCriticality | ||||
| int1asSlsQtanApprovalStsCriticality | ||||
| DistributionChannel | I_SalesQuotation | DistributionChannel | RefDistCh-Cust/Mat. | |
| DistributionChannelName | ||||
| OrganizationDivision | I_SalesQuotation | OrganizationDivision | Org. Division | |
| DivisionName | ||||
| SalesOffice | I_SalesQuotation | SalesOffice | Sales Office | |
| SalesOfficeName | ||||
| SalesGroup | I_SalesQuotation | SalesGroup | Sales Group | |
| SalesGroupName | ||||
| LastChangeDate | I_SalesQuotation | LastChangeDate | Time Stamp | |
| CreatedByUser | I_SalesQuotation | CreatedByUser | User Name | |
| UserDescription | ||||
| LastChangedByUser | I_SalesQuotation | LastChangedByUser | User Name | |
| LastChangedByUserDescription | ||||
| SDDocumentReason | I_SalesQuotation | SDDocumentReason | Order Reason | |
| SDDocumentReasonText | ||||
| _TransactionCurrency | I_SalesQuotation | _TransactionCurrency | ||
| _SoldToParty | _SoldToParty | |||
| _SalesDocumentType | _SalesDocumentType | |||
| _SalesOrganization | I_SalesQuotation | _SalesOrganization | ||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _OrganizationDivision | I_SalesQuotation | _OrganizationDivision | ||
| _SalesOffice | _SalesOffice | |||
| _SalesGroup | _SalesGroup | |||
| _OverallSDProcessStatus | I_SalesQuotation | _OverallSDProcessStatus | ||
| _OverallSDDocReferenceStatus | I_SalesQuotation | _OverallSDDocReferenceStatus | ||
| _OverallSDDocumentRejectionSts | I_SalesQuotation | _OverallSDDocumentRejectionSts | ||
| _SalesDocApprovalStatus | I_SalesQuotation | _SalesDocApprovalStatus | ||
| _CreatedByUser | _CreatedByUser | |||
| OrganizationBPName1 | _SoldToParty | OrganizationBPName1 | Name 1 | |
| OrganizationBPName2 | _SoldToParty | OrganizationBPName2 | Name 2 | |
| _LastChangedByUser | _LastChangedByUser | |||
| _SDDocumentReason | I_SalesQuotation | _SDDocumentReason | ||
| _SubsequentDocType | _SubsequentDocType | |||
| _SalesQuotationType | I_SalesQuotation | _SalesQuotationType |
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_Customer360SalesQuotation.
-- 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: CUST360SLSQUT
CREATE VIEW C_Customer360SalesQuotation AS
SELECT
SalesQuotation.SalesQuotation AS SalesQuotation,
SalesQuotation.PurchaseOrderByCustomer AS PurchaseOrderByCustomer,
SalesQuotation.OverallSDProcessStatus AS OverallSDProcessStatus,
SalesQuotation._OverallSDProcessStatus._Text[1:Language = $session.system_language].OverallSDProcessStatusDesc AS OverallSDProcessStatusDesc,
SalesQuotation.SoldToParty AS SoldToParty,
cast('' as ad_namtext ) AS SoldToPartyName,
SalesQuotation.BindingPeriodValidityStartDate AS BindingPeriodValidityStartDate,
SalesQuotation.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
SalesQuotation.TotalNetAmount AS TotalNetAmount,
SalesQuotation.TransactionCurrency AS TransactionCurrency,
SalesQuotation._TransactionCurrency._Text[1:Language = $session.system_language].CurrencyName AS CurrencyName,
SalesQuotation.SalesQuotationDate AS SalesQuotationDate,
SalesQuotation.CreationDate AS CreationDate,
SalesQuotation.SalesQuotationType AS SalesQuotationType,
SalesQuotation._SalesQuotationType._Text[1:Language = $session.system_language].SalesDocumentTypeName AS SalesDocumentTypeName,
SalesQuotation.SalesOrganization AS SalesOrganization,
SalesQuotation._SalesOrganization._Text[1:Language = $session.system_language].SalesOrganizationName AS SalesOrganizationName,
SalesQuotation.OverallSDDocReferenceStatus AS OverallSDDocReferenceStatus,
SalesQuotation._OverallSDDocReferenceStatus._Text[1:Language = $session.system_language].OverallSDDocRefStatusDesc AS OverallSDDocRefStatusDesc,
SalesQuotation.OverallSDDocumentRejectionSts AS OverallSDDocumentRejectionSts,
SalesQuotation._OverallSDDocumentRejectionSts._Text[1:Language = $session.system_language].OvrlSDDocumentRejectionStsDesc AS OvrlSDDocumentRejectionStsDesc,
SalesQuotation.SalesDocApprovalStatus AS SalesDocApprovalStatus,
SalesQuotation._SalesDocApprovalStatus._Text[1:Language = $session.system_language].SalesDocApprovalStatusDesc AS SalesDocApprovalStatusDesc,
SalesQuotation.DistributionChannel AS DistributionChannel,
SalesQuotation._DistributionChannel._Text[1:Language = $session.system_language].DistributionChannelName AS DistributionChannelName,
SalesQuotation.OrganizationDivision AS OrganizationDivision,
SalesQuotation._OrganizationDivision._Text[1:Language = $session.system_language].DivisionName AS DivisionName,
SalesQuotation.SalesOffice AS SalesOffice,
SalesQuotation._SalesOffice._Text[1:Language = $session.system_language].SalesOfficeName AS SalesOfficeName,
SalesQuotation.SalesGroup AS SalesGroup,
SalesQuotation._SalesGroup._Text[1:Language = $session.system_language].SalesGroupName AS SalesGroupName,
SalesQuotation.LastChangeDate AS LastChangeDate,
SalesQuotation.CreatedByUser AS CreatedByUser,
SalesQuotation._CreatedByUser.UserDescription AS UserDescription,
SalesQuotation.LastChangedByUser AS LastChangedByUser,
SalesQuotation._LastChangedByUser.UserDescription AS LastChangedByUserDescription,
SalesQuotation.SDDocumentReason AS SDDocumentReason,
SalesQuotation._SDDocumentReason._Text[1:Language = $session.system_language].SDDocumentReasonText AS SDDocumentReasonText,
SalesQuotation._TransactionCurrency AS _TransactionCurrency,
SalesQuotation._SalesOrganization AS _SalesOrganization,
SalesQuotation._OrganizationDivision AS _OrganizationDivision,
SalesQuotation._OverallSDProcessStatus AS _OverallSDProcessStatus,
SalesQuotation._OverallSDDocReferenceStatus AS _OverallSDDocReferenceStatus,
SalesQuotation._OverallSDDocumentRejectionSts AS _OverallSDDocumentRejectionSts,
SalesQuotation._SalesDocApprovalStatus AS _SalesDocApprovalStatus,
_SoldToParty.OrganizationBPName1 AS OrganizationBPName1,
_SoldToParty.OrganizationBPName2 AS OrganizationBPName2,
SalesQuotation._SDDocumentReason AS _SDDocumentReason,
SalesQuotation._SalesQuotationType AS _SalesQuotationType
FROM I_SalesQuotation AS SalesQuotation
INNER JOIN I_Customer360BusDocSetting AS Customer360BusDocSetting ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_Quotationwl_Duedays AS _SalesQuotationDueDays ON SalesQuotation = _SalesQuotationDueDays.SalesQuotation -- association [1..1]
LEFT OUTER JOIN C_SoldToValueHelp AS _SoldToParty ON SoldToParty = _SoldToParty.Customer -- association [0..1]
LEFT OUTER JOIN C_Dischannelvaluehelp AS _DistributionChannel ON SalesOrganization = _DistributionChannel.SalesOrganization AND DistributionChannel = _DistributionChannel.DistributionChannel -- association [0..1]
LEFT OUTER JOIN C_OrgDivisionValueHelp AS _Division ON SalesOrganization = _Division.SalesOrganization AND DistributionChannel = _Division.DistributionChannel AND OrganizationDivision = _Division.Division -- association [0..1]
LEFT OUTER JOIN C_SalesOfficeValueHelp AS _SalesOffice ON SalesOrganization = _SalesOffice.SalesOrganization AND DistributionChannel = _SalesOffice.DistributionChannel AND OrganizationDivision = _SalesOffice.OrganizationDivision AND SalesOffice = _SalesOffice.SalesOffice -- association [0..1]
LEFT OUTER JOIN C_SalesGroupValueHelp AS _SalesGroup ON SalesOffice = _SalesGroup.SalesOffice AND SalesGroup = _SalesGroup.SalesGroup -- association [0..1]
LEFT OUTER JOIN C_SalesQuotationTypeValueHelp AS _SalesDocumentType ON SalesQuotationType = _SalesDocumentType.SalesDocumentType -- association [0..1]
LEFT OUTER JOIN C_SalesDocumentUserVH AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN C_SalesDocumentUserVH AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID -- association [0..1]
LEFT OUTER JOIN C_Quotation_SubsequentDocType AS _SubsequentDocType ON SalesQuotationType = _SubsequentDocType.SourceSalesDocumentType -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentBasic AS _Extension ON SalesQuotation = _Extension.SalesDocument -- association [1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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