C_QuotationitemFs

DDL: C_QUOTATIONITEMFS SQL: CQUOTATIONITFS Type: view CONSUMPTION Package: ODATA_SD_QUOTATION

Sales Quotation Item

C_QuotationitemFs is a Consumption CDS View that provides data about "Sales Quotation Item" in SAP S/4HANA. It has 4 associations to related views. Part of development package ODATA_SD_QUOTATION.

Associations (4)

CardinalityTargetAliasCondition
[0..*] C_SDDocumentPartnerCard _SDDocumentPartnerCard $projection.SalesQuotation = _SDDocumentPartnerCard.SDDocument and $projection.SalesQuotationItem = _SDDocumentPartnerCard.SDDocumentItem
[0..1] I_SlsDocItemReqdDeliveryDate _ReqdDeliveryDate $projection.SalesQuotation = _ReqdDeliveryDate.SalesDocument and $projection.SalesQuotationItem = _ReqdDeliveryDate.SalesDocumentItem
[0..*] C_SubsqntSalesOrderItem _SubsqntSalesOrderItem $projection.SalesQuotation = _SubsqntSalesOrderItem.PrecedingDocument and $projection.SalesQuotationItem = _SubsqntSalesOrderItem.PrecedingDocumentItem
[1] E_SalesDocumentItemBasic _Extension $projection.SalesQuotation = _Extension.SalesDocument and $projection.SalesQuotationItem = _Extension.SalesDocumentItem

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CQUOTATIONITFS view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
EndUserText.label Sales Quotation Item view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
UI.headerInfo.typeName Sales Quotation Item view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value SalesQuotationItemText view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value Material view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY SalesQuotation QuotationItem SalesQuotation
KEY SalesQuotationItem QuotationItem SalesQuotationItem Item
SalesQuotationItemText SalesQuotationItemText
SoldToParty
SoldToPartyName
SDProcessStatus QuotationItem SDProcessStatus
SalesDocumentRjcnReason SalesDocumentRjcnReason RejectionReason
SDDocumentRejectionStatus SDDocumentRejectionStatus
SDDocReferenceStatus SDDocReferenceStatus
OrderQuantity QuotationItem OrderQuantity Quantity
OrderQuantityUnit QuotationItem OrderQuantityUnit Sales Unit
NetAmount QuotationItem NetAmount Stated Amount
TransactionCurrency QuotationItem TransactionCurrency Transaction Currency
MaterialName
Material
MaterialGroup
RequestedDeliveryDate _ReqdDeliveryDate RequestedDeliveryDate Requested Delivery Date
MaterialByCustomer QuotationItem MaterialByCustomer Customer Mat.
HigherLevelItem QuotationItem HigherLevelItem Higher-Lev.Item
BOMExplosionDate BOMExplosionDate
_SDDocumentPartnerCard _SDDocumentPartnerCard
_SubsqntSalesOrderItem _SubsqntSalesOrderItem
_MaterialGroup _MaterialGroup
_Material _Material
_SalesQuotation _SalesQuotation
_SDProcessStatus _SDProcessStatus
_SoldToParty _SalesQuotation _SoldToParty
_SDDocumentRejectionStatus _SDDocumentRejectionStatus
_SDDocReferenceStatus _SDDocReferenceStatus
_SalesDocumentRjcnReason _SalesDocumentRjcnReason
_TransactionCurrency _TransactionCurrency

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_QuotationitemFs.
-- 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: CQUOTATIONITFS

CREATE VIEW C_QuotationitemFs AS
SELECT
  QuotationItem.SalesQuotation AS SalesQuotation,
  QuotationItem.SalesQuotationItem AS SalesQuotationItem,
  SalesQuotationItemText,
  cast(_SalesQuotation.SoldToParty as kunag preserving type ) AS SoldToParty,
  cast('' as ad_namtext ) AS SoldToPartyName,
  QuotationItem.SDProcessStatus AS SDProcessStatus,
  SalesDocumentRjcnReason,
  SDDocumentRejectionStatus,
  SDDocReferenceStatus,
  QuotationItem.OrderQuantity AS OrderQuantity,
  QuotationItem.OrderQuantityUnit AS OrderQuantityUnit,
  QuotationItem.NetAmount AS NetAmount,
  QuotationItem.TransactionCurrency AS TransactionCurrency,
  _MaterialText[1:Language=$session.system_language].MaterialName AS MaterialName,
  cast(QuotationItem.Material as productnumber preserving type ) AS Material,
  cast(QuotationItem.MaterialGroup as productgroup preserving type ) AS MaterialGroup,
  _ReqdDeliveryDate.RequestedDeliveryDate AS RequestedDeliveryDate,
  QuotationItem.MaterialByCustomer AS MaterialByCustomer,
  QuotationItem.HigherLevelItem AS HigherLevelItem,
  BOMExplosionDate,
  _SalesQuotation._SoldToParty AS _SoldToParty
LEFT OUTER JOIN C_SDDocumentPartnerCard AS _SDDocumentPartnerCard ON SalesQuotation = _SDDocumentPartnerCard.SDDocument AND SalesQuotationItem = _SDDocumentPartnerCard.SDDocumentItem  -- association [0..*]
LEFT OUTER JOIN I_SlsDocItemReqdDeliveryDate AS _ReqdDeliveryDate ON SalesQuotation = _ReqdDeliveryDate.SalesDocument AND SalesQuotationItem = _ReqdDeliveryDate.SalesDocumentItem  -- association [0..1]
LEFT OUTER JOIN C_SubsqntSalesOrderItem AS _SubsqntSalesOrderItem ON SalesQuotation = _SubsqntSalesOrderItem.PrecedingDocument AND SalesQuotationItem = _SubsqntSalesOrderItem.PrecedingDocumentItem  -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentItemBasic AS _Extension ON SalesQuotation = _Extension.SalesDocument AND SalesQuotationItem = _Extension.SalesDocumentItem  -- association [1]
;