P_SI4_TrainingData11B

DDL: P_SI4_TRAININGDATA11B SQL: PSDSI4TD11B Type: view COMPOSITE Package: VDM_SD_SP

Sales Performance Prediction

P_SI4_TrainingData11B is a Composite CDS View that provides data about "Sales Performance Prediction" in SAP S/4HANA. It reads from 1 data source (P_SI4_TrainingData10) and exposes 81 fields with key fields YearMonth, PartOfMonth, SoldToParty, SalesOrganization, DistributionChannel. Part of development package VDM_SD_SP.

Data Sources (1)

SourceAliasJoin Type
P_SI4_TrainingData10 P_SI4_TrainingData10 from

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName PSDSI4TD11B view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (81)

KeyFieldSource TableSource FieldDescription
KEY YearMonth YearMonth Year Month
KEY PartOfMonth PartOfMonth
KEY SoldToParty SoldToParty Sold-to Party
KEY SalesOrganization SalesOrganization Sales Organization
KEY DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
KEY Division Division Internal Division ID
KEY Material Material Vehicle Model
CustomerName CustomerName Name of Customer
CreatedByUser CreatedByUser User Name
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
IntercompanyBillingCustomer IntercompanyBillingCustomer
CustomerGroup CustomerGroup Customer Group
MaterialGroup MaterialGroup Product Group
CalendarYear CalendarYear Year
CalendarQuarter CalendarQuarter Calendar Quarter
CalendarMonth CalendarMonth Calendar Month
CalendarWeek CalendarWeek Calendar Week
PartOfQuarter PartOfQuarter
TargetAmount TargetAmount Target Value
CountByPOM CountByPOM
SumAmtByPOM SumAmtByPOM
MaxAmtByPOM MaxAmtByPOM
MinAmtByPOM MinAmtByPOM
AvgAmtByPOM AvgAmtByPOM
CountByPOQ CountByPOQ
SumAmtByPOQ SumAmtByPOQ
MaxAmtByPOQ MaxAmtByPOQ
MinAmtByPOQ MinAmtByPOQ
AvgAmtByPOQ AvgAmtByPOQ
AvgCountByPOM AvgCountByPOM
AvgCountByPOQ AvgCountByPOQ
CountByPre1Month CountByPre1Month
SumAmtByPre1Month SumAmtByPre1Month
MaxAmtByPre1Month MaxAmtByPre1Month
MinAmtByPre1Month MinAmtByPre1Month
AvgAmtByPre1Month AvgAmtByPre1Month
SumAmtByPre2Month SumAmtByPre2Month
SumAmtByPre3Month SumAmtByPre3Month
SumAmtByPre4Month SumAmtByPre4Month
SumAmtByPre5Month SumAmtByPre5Month
SumAmtByPre6Month SumAmtByPre6Month
DeltaAmtByMoM1 DeltaAmtByMoM1
DeltaAmtByMoM2 DeltaAmtByMoM2
DeltaAmtByMoM3 DeltaAmtByMoM3
DeltaAmtByMoM4 DeltaAmtByMoM4
DeltaAmtByMoM5 DeltaAmtByMoM5
DeltaAmtByMoM6 DeltaAmtByMoM6
DeltaAmtByYoY1 DeltaAmtByYoY1
DeltaAmtByYoY2 DeltaAmtByYoY2
DeltaAmtByYoY3 DeltaAmtByYoY3
DeltaAmtByYoY4 DeltaAmtByYoY4
DeltaAmtByYoY5 DeltaAmtByYoY5
DeltaAmtByYoY6 DeltaAmtByYoY6
AvgAmtByLast2Month AvgAmtByLast2Month
AvgAmtByLast3Month AvgAmtByLast3Month
SumAmtRatioByLast3Month1 SumAmtRatioByLast3Month1
SumAmtRatioByLast3Month2 SumAmtRatioByLast3Month2
SumAmtRatioByLast3Month3 SumAmtRatioByLast3Month3
DiffCountByPOM DiffCountByPOM
DiffSumAmtByPOM DiffSumAmtByPOM
DiffMaxAmtByPOM DiffMaxAmtByPOM
DiffMinAmtByPOM DiffMinAmtByPOM
DiffAmtByPOM1 DiffAmtByPOM1
DiffAmtByPOM2 DiffAmtByPOM2
CountByPre1Quarter CountByPre1Quarter
SumAmtByPre1Quarter SumAmtByPre1Quarter
AvgAmtByPre1Quarter AvgAmtByPre1Quarter
MaxAmtByPre1Quarter MaxAmtByPre1Quarter
MinAmtByPre1Quarter MinAmtByPre1Quarter
DiffCountByPOQ DiffCountByPOQ
DiffSumAmtByPOQ DiffSumAmtByPOQ
DiffMaxAmtByPOQ DiffMaxAmtByPOQ
DiffMinAmtByPOQ DiffMinAmtByPOQ

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 P_SI4_TrainingData11B.
-- 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: PSDSI4TD11B

CREATE VIEW P_SI4_TrainingData11B AS
SELECT
  YearMonth,
  PartOfMonth,
  SoldToParty,
  SalesOrganization,
  DistributionChannel,
  Division,
  Material,
  CustomerName,
  CreatedByUser,
  CustomerClassification,
  CustomerAccountGroup,
  IsOneTimeAccount,
  IsBusinessPurposeCompleted,
  Industry,
  Country,
  CityName,
  ProductType,
  CompanyCode,
  IntercompanyBillingCustomer,
  CustomerGroup,
  MaterialGroup,
  CalendarYear,
  CalendarQuarter,
  CalendarMonth,
  CalendarWeek,
  PartOfQuarter,
  TargetAmount,
  CountByPOM,
  SumAmtByPOM,
  MaxAmtByPOM,
  MinAmtByPOM,
  AvgAmtByPOM,
  CountByPOQ,
  SumAmtByPOQ,
  MaxAmtByPOQ,
  MinAmtByPOQ,
  AvgAmtByPOQ,
  AvgCountByPOM,
  AvgCountByPOQ,
  CountByPre1Month,
  SumAmtByPre1Month,
  MaxAmtByPre1Month,
  MinAmtByPre1Month,
  AvgAmtByPre1Month,
  SumAmtByPre2Month,
  SumAmtByPre3Month,
  SumAmtByPre4Month,
  SumAmtByPre5Month,
  SumAmtByPre6Month,
  DeltaAmtByMoM1,
  DeltaAmtByMoM2,
  DeltaAmtByMoM3,
  DeltaAmtByMoM4,
  DeltaAmtByMoM5,
  DeltaAmtByMoM6,
  DeltaAmtByYoY1,
  DeltaAmtByYoY2,
  DeltaAmtByYoY3,
  DeltaAmtByYoY4,
  DeltaAmtByYoY5,
  DeltaAmtByYoY6,
  AvgAmtByLast2Month,
  AvgAmtByLast3Month,
  SumAmtRatioByLast3Month1,
  SumAmtRatioByLast3Month2,
  SumAmtRatioByLast3Month3,
  DiffCountByPOM,
  DiffSumAmtByPOM,
  DiffMaxAmtByPOM,
  DiffMinAmtByPOM,
  DiffAmtByPOM1,
  DiffAmtByPOM2,
  CountByPre1Quarter,
  SumAmtByPre1Quarter,
  AvgAmtByPre1Quarter,
  MaxAmtByPre1Quarter,
  MinAmtByPre1Quarter,
  DiffCountByPOQ,
  DiffSumAmtByPOQ,
  DiffMaxAmtByPOQ,
  DiffMinAmtByPOQ
FROM P_SI4_TrainingData10
;