C_QuotationitemFs
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)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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