C_QuotationWl_F1852

DDL: C_QUOTATIONWL_F1852 SQL: CQUOTWLF1852 Type: view CONSUMPTION

Sales Quotations

C_QuotationWl_F1852 is a Consumption CDS View that provides data about "Sales Quotations" in SAP S/4HANA. It reads from 1 data source (I_SalesQuotation) and exposes 51 fields with key field SalesQuotation. It has 14 associations to related views. It is used in 2 Fiori applications: Manage Sales Quotations, Manage Sales Quotation - Version 2.

Data Sources (1)

SourceAliasJoin Type
I_SalesQuotation SalesQuotation from

Associations (14)

CardinalityTargetAliasCondition
[1..1] P_Quotationwl_Duedays _SalesQuotationDueDays $projection.SalesQuotation = _SalesQuotationDueDays.SalesQuotation
[0..1] C_Q2CCustomerQuickView _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..*] I_SalesDocAllowedRjcnRsn _SalesDocumentRjcnReason $projection.SalesOrganization = _SalesDocumentRjcnReason.SalesOrganization and $projection.SalesQuotationType = _SalesDocumentRjcnReason.SalesDocumentType
[0..1] I_SalesDocumentRjcnReason _SalesDocRjcnReason $projection.SalesDocumentRjcnReason = _SalesDocRjcnReason.SalesDocumentRjcnReason
[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
[0..*] C_SalesDocumentItemWl _SalesDocumentItemWl $projection.SalesQuotation = _SalesDocumentItemWl.SalesDocument
[1] E_SalesDocumentBasic _Extension $projection.SalesQuotation = _Extension.SalesDocument

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CQUOTWLF1852 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Sales Quotations view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
Search.searchable true view
UI.headerInfo.typeName Sales Quotation view
UI.headerInfo.typeNamePlural Sales Quotations view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value SalesQuotation view
Consumption.semanticObject SalesQuotation view

Fiori Apps (2)

App IDApp NameTypeDescription
F1852 Manage Sales Quotations Transactional Manage Sales Quotations
F5630 Manage Sales Quotation - Version 2 Transactional Manage Sales Quotation Version 2 enables you to create, view, and edit sales quotations.

Manage Sales Quotations

Business Role: Internal Sales Representative

With this app you can search for sales quotations according to your filter criteria and display them in a list. From the list, you can execute different actions, for example, you can extend the validity of a quotation. You can also navigate to related applications, for example, to display quotation details.

Manage Sales Quotation - Version 2

Business Role: Others

With this app, you can create, display, and change sales quotations. You can also navigate to other apps, for example, to complete missing quotation data.

Fields (51)

KeyFieldSource TableSource FieldDescription
KEY SalesQuotation I_SalesQuotation SalesQuotation
SoldToParty
SoldToPartyFullName Sold to Party Name
PurchaseOrderByCustomer I_SalesQuotation PurchaseOrderByCustomer Purchase Order Number
BindingPeriodValidityStartDate I_SalesQuotation BindingPeriodValidityStartDate
BindingPeriodValidityEndDate I_SalesQuotation BindingPeriodValidityEndDate Binding Period
OverallSDProcessStatus I_SalesQuotation OverallSDProcessStatus
OverallSDDocReferenceStatus I_SalesQuotation OverallSDDocReferenceStatus
OverallSDDocumentRejectionSts I_SalesQuotation OverallSDDocumentRejectionSts
SalesDocApprovalStatus I_SalesQuotation SalesDocApprovalStatus
TransactionCurrency I_SalesQuotation TransactionCurrency Transaction Currency
CurrencyName Document Currency Text
TotalNetAmount I_SalesQuotation TotalNetAmount Total Net Amount
SalesQuotationDate I_SalesQuotation SalesQuotationDate Document Date
int1asSlsQtanDueDateCriticality
int1asSlsQtanApprovalStsCriticality
SalesQuotationType I_SalesQuotation SalesQuotationType Quotation Type
SalesQuotationTypeName _SalesDocumentType SalesDocumentTypeName Quotation Type Name
SalesOrganization I_SalesQuotation SalesOrganization Sales Organization
DistributionChannel I_SalesQuotation DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision I_SalesQuotation OrganizationDivision Org. Division
SalesOffice I_SalesQuotation SalesOffice Sales Office
SalesGroup I_SalesQuotation SalesGroup Sales Group
CreationDate I_SalesQuotation CreationDate Time Stamp
LastChangeDate I_SalesQuotation LastChangeDate Time Stamp
CreatedByUser I_SalesQuotation CreatedByUser User Name
LastChangedByUser I_SalesQuotation LastChangedByUser User Name
SDDocumentReason I_SalesQuotation SDDocumentReason Order Reason
SalesDocumentRjcnReason
OrganizationBPName1 _SoldToParty OrganizationBPName1 Name 1
OrganizationBPName2 _SoldToParty OrganizationBPName2 Name 2
_SalesDocumentItemWl _SalesDocumentItemWl
_TransactionCurrency _TransactionCurrency
_SoldToParty _SoldToParty
_SalesDocumentType _SalesDocumentType
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_Division _Division
_OrganizationDivision _OrganizationDivision
_SalesOffice _SalesOffice
_SalesGroup _SalesGroup
_SalesDocumentRjcnReason _SalesDocumentRjcnReason
_OverallSDProcessStatus _OverallSDProcessStatus
_OverallSDDocReferenceStatus _OverallSDDocReferenceStatus
_OverallSDDocumentRejectionSts _OverallSDDocumentRejectionSts
_SalesDocApprovalStatus _SalesDocApprovalStatus
_SalesDocRjcnReason _SalesDocRjcnReason
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_SDDocumentReason _SDDocumentReason
_SubsequentDocType _SubsequentDocType

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_QuotationWl_F1852.
-- 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: CQUOTWLF1852

CREATE VIEW C_QuotationWl_F1852 AS
SELECT
  SalesQuotation.SalesQuotation AS SalesQuotation,
  SalesQuotation._SoldToParty.CustomerName AS SoldToPartyFullName,
  SalesQuotation.PurchaseOrderByCustomer AS PurchaseOrderByCustomer,
  SalesQuotation.BindingPeriodValidityStartDate AS BindingPeriodValidityStartDate,
  SalesQuotation.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
  SalesQuotation.OverallSDProcessStatus AS OverallSDProcessStatus,
  SalesQuotation.OverallSDDocReferenceStatus AS OverallSDDocReferenceStatus,
  SalesQuotation.OverallSDDocumentRejectionSts AS OverallSDDocumentRejectionSts,
  SalesQuotation.SalesDocApprovalStatus AS SalesDocApprovalStatus,
  SalesQuotation.TransactionCurrency AS TransactionCurrency,
  SalesQuotation._TransactionCurrency._Text[1: Language = $session.system_language ].CurrencyName AS CurrencyName,
  SalesQuotation.TotalNetAmount AS TotalNetAmount,
  SalesQuotation.SalesQuotationDate AS SalesQuotationDate,
  SalesQuotation.SalesQuotationType AS SalesQuotationType,
  _SalesDocumentType.SalesDocumentTypeName AS SalesQuotationTypeName,
  SalesQuotation.SalesOrganization AS SalesOrganization,
  SalesQuotation.DistributionChannel AS DistributionChannel,
  SalesQuotation.OrganizationDivision AS OrganizationDivision,
  SalesQuotation.SalesOffice AS SalesOffice,
  SalesQuotation.SalesGroup AS SalesGroup,
  SalesQuotation.CreationDate AS CreationDate,
  SalesQuotation.LastChangeDate AS LastChangeDate,
  SalesQuotation.CreatedByUser AS CreatedByUser,
  SalesQuotation.LastChangedByUser AS LastChangedByUser,
  SalesQuotation.SDDocumentReason AS SDDocumentReason,
  cast( ' ' as abgru_va) AS SalesDocumentRjcnReason,
  _SoldToParty.OrganizationBPName1 AS OrganizationBPName1,
  _SoldToParty.OrganizationBPName2 AS OrganizationBPName2
FROM I_SalesQuotation AS SalesQuotation
LEFT OUTER JOIN P_Quotationwl_Duedays AS _SalesQuotationDueDays ON SalesQuotation = _SalesQuotationDueDays.SalesQuotation  -- association [1..1]
LEFT OUTER JOIN C_Q2CCustomerQuickView 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 I_SalesDocAllowedRjcnRsn AS _SalesDocumentRjcnReason ON SalesOrganization = _SalesDocumentRjcnReason.SalesOrganization AND SalesQuotationType = _SalesDocumentRjcnReason.SalesDocumentType  -- association [0..*]
LEFT OUTER JOIN I_SalesDocumentRjcnReason AS _SalesDocRjcnReason ON SalesDocumentRjcnReason = _SalesDocRjcnReason.SalesDocumentRjcnReason  -- 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 C_SalesDocumentItemWl AS _SalesDocumentItemWl ON SalesQuotation = _SalesDocumentItemWl.SalesDocument  -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentBasic AS _Extension ON SalesQuotation = _Extension.SalesDocument  -- association [1]
;