I_SalesQuotationSituation
Sales Quotation Situation
I_SalesQuotationSituation is a Composite CDS View that provides data about "Sales Quotation Situation" in SAP S/4HANA. It reads from 1 data source (P_SalesQuotationSituation) and exposes 44 fields with key field SalesQuotation. It has 1 association to related views. Part of development package VDM_SD_ANALYTICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_SalesQuotationSituation | SQ | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_SalesDocumentBasic | _Extension | SQ.SalesQuotation = _Extension.SalesDocument |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | ISDSLESQTANST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Sales Quotation Situation | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesQuotation | SalesQuotation | ||
| SalesDocumentType | SalesDocumentType | Sales Doc. Type | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | OrganizationDivision | Org. Division | ||
| SalesGroup | SalesGroup | Sales Group | ||
| SalesOffice | SalesOffice | Sales Office | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| AdditionalCustomerGroup1 | AdditionalCustomerGroup1 | Customer Grp 1 | ||
| AdditionalCustomerGroup2 | AdditionalCustomerGroup2 | Customer Grp 2 | ||
| AdditionalCustomerGroup3 | AdditionalCustomerGroup3 | Customer Grp 3 | ||
| AdditionalCustomerGroup4 | AdditionalCustomerGroup4 | Customer Grp 4 | ||
| AdditionalCustomerGroup5 | AdditionalCustomerGroup5 | Customer Grp 5 | ||
| ResponsibleEmployee | ResponsibleEmployee | Employee Resp. | ||
| SalesEmployee | SalesEmployee | Sales Employee | ||
| SalesEmployeeUserID | ||||
| ResponsibleEmployeeUserID | ||||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| SalesQuotationDate | SalesQuotationDate | Document Date | ||
| BindingPeriodValidityStartDate | BindingPeriodValidityStartDate | |||
| BindingPeriodValidityEndDate | BindingPeriodValidityEndDate | Binding Period | ||
| TodayDate | TodayDate | |||
| OverallSDProcessStatus | OverallSDProcessStatus | |||
| OverallSDDocReferenceStatus | OverallSDDocReferenceStatus | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| TotalNetAmount | TotalNetAmount | Total Net Amount | ||
| CnvrtdSalesQuotationNetAmount | CnvrtdSalesQuotationNetAmount | |||
| SlsQtanConversionRateInPct | SlsQtanConversionRateInPct | |||
| PrdtvSlsQtanCnvrsnRateInPct | PrdtvSlsQtanCnvrsnRateInPct | |||
| _SalesDocumentType | _SalesDocumentType | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _OrganizationDivision | _OrganizationDivision | |||
| _SalesGroup | _SalesGroup | |||
| _SalesOffice | _SalesOffice | |||
| _SoldToParty | _SoldToParty | |||
| _CustomerGroup | _CustomerGroup | |||
| _AdditionalCustomerGroup1 | _AdditionalCustomerGroup1 | |||
| _AdditionalCustomerGroup2 | _AdditionalCustomerGroup2 | |||
| _AdditionalCustomerGroup3 | _AdditionalCustomerGroup3 | |||
| _AdditionalCustomerGroup4 | _AdditionalCustomerGroup4 | |||
| _AdditionalCustomerGroup5 | _AdditionalCustomerGroup5 |
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 I_SalesQuotationSituation.
-- 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: ISDSLESQTANST
CREATE VIEW I_SalesQuotationSituation AS
SELECT
SalesQuotation,
SalesDocumentType,
SalesOrganization,
DistributionChannel,
OrganizationDivision AS Division,
SalesGroup,
SalesOffice,
SoldToParty,
CustomerGroup,
AdditionalCustomerGroup1,
AdditionalCustomerGroup2,
AdditionalCustomerGroup3,
AdditionalCustomerGroup4,
AdditionalCustomerGroup5,
ResponsibleEmployee,
SalesEmployee,
cast ( SalesEmployee._WorkforcePerson._BusinessUser.UserID as sales_empl_userid ) AS SalesEmployeeUserID,
cast ( ResponsibleEmployee._WorkforcePerson._BusinessUser.UserID as resp_empl_userid ) AS ResponsibleEmployeeUserID,
CreatedByUser,
CreationDate,
SalesQuotationDate,
BindingPeriodValidityStartDate,
BindingPeriodValidityEndDate,
TodayDate,
OverallSDProcessStatus,
OverallSDDocReferenceStatus,
TransactionCurrency,
TotalNetAmount,
CnvrtdSalesQuotationNetAmount,
SlsQtanConversionRateInPct,
PrdtvSlsQtanCnvrsnRateInPct
FROM P_SalesQuotationSituation AS SQ
LEFT OUTER JOIN E_SalesDocumentBasic AS _Extension ON SQ.SalesQuotation = _Extension.SalesDocument -- association [0..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