I_PrdtdSlsPerfApplyingData
Sales Perf Prediction Applying Data
I_PrdtdSlsPerfApplyingData is a Composite CDS View that provides data about "Sales Perf Prediction Applying Data" in SAP S/4HANA. It reads from 1 data source (P_SPP_PredictionData) and exposes 50 fields with key fields YearMonth, SalesVolumePartOfMonth, SalesOrganization, DistributionChannel, Division. Part of development package VDM_SD_PREDICTED_SALES.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_SPP_PredictionData | P_SPP_PredictionData | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISDPSPAD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Sales Perf Prediction Applying Data | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (50)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | YearMonth | YearMonth | Year Month | |
| KEY | SalesVolumePartOfMonth | |||
| KEY | SalesOrganization | SalesOrganization | Sales Organization | |
| KEY | DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | |
| KEY | Division | Division | Internal Division ID | |
| KEY | SoldToParty | SoldToParty | Sold-to Party | |
| KEY | CustomerGroup | CustomerGroup | Customer Group | |
| KEY | Material | Material | Vehicle Model | |
| KEY | MaterialGroup | MaterialGroup | Product Group | |
| KEY | BillingDocumentType | BillingDocumentType | Billing Type | |
| YearQuarter | YearQuarter | Year Quarter | ||
| SalesVolumePrtOfQtr | ||||
| CalendarWeek | CalendarWeek | Calendar Week | ||
| CalendarMonth | CalendarMonth | Calendar Month | ||
| CalendarQuarter | CalendarQuarter | Calendar Quarter | ||
| CustomerClassification | CustomerClassification | Customer Class. | ||
| CustomerAccountGroup | CustomerAccountGroup | Account group | ||
| IsOneTimeAccount | IsOneTimeAccount | One-time acct | ||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | Purpose Completed | ||
| Industry | Industry | Industry Sector | ||
| Country | Country | Venue: Ctry/Reg | ||
| CityName | CityName | Name | ||
| ProductType | ProductType | Product Type Group | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| DisplayCurrency | ||||
| SalesVolumeTargetAmtInDC | Target Value | |||
| NumberOfSlsVolByPrtOfMnth | ||||
| SlsVolPrtOfMnthSumAmtInDC | ||||
| SlsVolPrtOfMnthMaxAmtInDC | ||||
| SlsVolPrtOfMnthMinAmtInDC | ||||
| NumberOfSlsVolByPrtOfQtr | ||||
| SlsVolPrtOfQtrSumAmtInDC | ||||
| SlsVolPrtOfQtrMaxAmtInDC | ||||
| SlsVolPrtOfQtrMinAmtInDC | ||||
| NumberOfSlsVolByPrevMnth | ||||
| SlsVolPrevMnthSumAmtInDC | ||||
| SlsVolPrevMnthMaxAmtInDC | ||||
| SlsVolPrevMnthMinAmtInDC | ||||
| NumberOfSlsVolByPrevQtr | ||||
| SlsVolPrevQtrSumAmtInDC | ||||
| SlsVolPrevQtrMaxAmtInDC | ||||
| SlsVolPrevQtrMinAmtInDC | ||||
| NumberOfSlsVolDiffByMonth | ||||
| SlsVolDiffMnthSumAmtInDC | ||||
| SlsVolDiffMnthMaxAmtInDC | ||||
| SlsVolDiffMnthMinAmtInDC | ||||
| NumberOfSlsVolDiffByQtr | ||||
| SlsVolDiffQtrSumAmtInDC | ||||
| SlsVolDiffQtrMaxAmtInDC | ||||
| SlsVolDiffQtrMinAmtInDC |
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_PrdtdSlsPerfApplyingData.
-- 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: ISDPSPAD
CREATE VIEW I_PrdtdSlsPerfApplyingData AS
SELECT
YearMonth,
cast( PartOfMonth as spp_pom ) AS SalesVolumePartOfMonth,
SalesOrganization,
DistributionChannel,
Division,
SoldToParty,
CustomerGroup,
Material,
MaterialGroup,
BillingDocumentType,
YearQuarter,
cast( PartOfQuarter as spp_poq ) AS SalesVolumePrtOfQtr,
CalendarWeek,
CalendarMonth,
CalendarQuarter,
CustomerClassification,
CustomerAccountGroup,
IsOneTimeAccount,
IsBusinessPurposeCompleted,
Industry,
Country,
CityName,
ProductType,
CompanyCode,
cast( 'EUR' as vdm_v_display_currency ) AS DisplayCurrency,
cast( TargetAmount as spp_tgt_amt_in_dc ) AS SalesVolumeTargetAmtInDC,
cast( CntByPOM as spp_sls_vol_pom_num ) AS NumberOfSlsVolByPrtOfMnth,
cast( SumAmtByPOM as spp_sls_vol_pom_sum_amt_in_dc ) AS SlsVolPrtOfMnthSumAmtInDC,
cast( MaxAmtByPOM as spp_sls_vol_pom_max_amt_in_dc ) AS SlsVolPrtOfMnthMaxAmtInDC,
cast( MinAmtByPOM as spp_sls_vol_pom_min_amt_in_dc ) AS SlsVolPrtOfMnthMinAmtInDC,
cast( CntByPOQ as spp_sls_vol_poq_num ) AS NumberOfSlsVolByPrtOfQtr,
cast( SumAmtByPOQ as spp_sls_vol_poq_sum_amt_in_dc ) AS SlsVolPrtOfQtrSumAmtInDC,
cast( MaxAmtByPOQ as spp_sls_vol_poq_max_amt_in_dc ) AS SlsVolPrtOfQtrMaxAmtInDC,
cast( MinAmtByPOQ as spp_sls_vol_poq_min_amt_in_dc ) AS SlsVolPrtOfQtrMinAmtInDC,
cast( CntByPre1Month as spp_sls_vol_pm_num ) AS NumberOfSlsVolByPrevMnth,
cast( SumAmtByPre1Month as spp_sls_vol_pm_sum_amt_in_dc ) AS SlsVolPrevMnthSumAmtInDC,
cast( MaxAmtByPre1Month as spp_sls_vol_pm_max_amt_in_dc ) AS SlsVolPrevMnthMaxAmtInDC,
cast( MinAmtByPre1Month as spp_sls_vol_pm_min_amt_in_dc ) AS SlsVolPrevMnthMinAmtInDC,
cast( CntByPre1Quarter as spp_sls_vol_pq_num ) AS NumberOfSlsVolByPrevQtr,
cast( SumAmtByPre1Quarter as spp_sls_vol_pq_sum_amt_in_dc ) AS SlsVolPrevQtrSumAmtInDC,
cast( MaxAmtByPre1Quarter as spp_sls_vol_pq_max_amt_in_dc ) AS SlsVolPrevQtrMaxAmtInDC,
cast( MinAmtByPre1Quarter as spp_sls_vol_pq_min_amt_in_dc ) AS SlsVolPrevQtrMinAmtInDC,
cast( DiffCountByPOM as spp_sv_diff_mnth_num ) AS NumberOfSlsVolDiffByMonth,
cast( DiffSumAmtByPOM as spp_sv_diff_mnth_sum_amt_in_dc ) AS SlsVolDiffMnthSumAmtInDC,
cast( DiffMaxAmtByPOM as spp_sv_diff_mnth_max_amt_in_dc ) AS SlsVolDiffMnthMaxAmtInDC,
cast( DiffMinAmtByPOM as spp_sv_diff_mnth_min_amt_in_dc ) AS SlsVolDiffMnthMinAmtInDC,
cast( DiffCountByPOQ as spp_sv_diff_qtr_num ) AS NumberOfSlsVolDiffByQtr,
cast( DiffSumAmtByPOQ as spp_sv_diff_qtr_sum_amt_in_dc ) AS SlsVolDiffQtrSumAmtInDC,
cast( DiffMaxAmtByPOQ as spp_sv_diff_qtr_max_amt_in_dc ) AS SlsVolDiffQtrMaxAmtInDC,
cast( DiffMinAmtByPOQ as spp_sv_diff_qtr_min_amt_in_dc ) AS SlsVolDiffQtrMinAmtInDC
FROM P_SPP_PredictionData
;
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