P_SPP_TRAININGDATA05A2
Training Data 05A2
P_SPP_TRAININGDATA05A2 is a CDS View in S/4HANA. Training Data 05A2. It contains 10 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_SPP_TrainingData06 | view | from | COMPOSITE | Training Data 06 |
Fields (10)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | BillingDocumentType | BillingDocumentType | 1 |
| KEY | CustomerGroup | CustomerGroup | 1 |
| KEY | DistributionChannel | DistributionChannel | 1 |
| KEY | Division | Division | 1 |
| KEY | Material | Material | 1 |
| KEY | MaterialGroup | MaterialGroup | 1 |
| KEY | PartOfMonth | PartOfMonth | 1 |
| KEY | SalesOrganization | SalesOrganization | 1 |
| KEY | SoldToParty | SoldToParty | 1 |
| KEY | YearMonth | YearMonth | 1 |
@AbapCatalog.sqlViewName: 'PSDSPPTDA05A2'
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #COMPOSITE
define view P_SPP_TrainingData05A2
as select from P_SPP_TrainingData05A1
{
key YearMonth,
key PartOfMonth,
key SalesOrganization,
key DistributionChannel,
key Division,
key SoldToParty,
key CustomerGroup,
key Material,
key MaterialGroup,
key BillingDocumentType,
count( * ) as CntByPOM,
sum( Amount ) as SumAmtByPOM,
max( Amount ) as MaxAmtByPOM,
min( Amount ) as MinAmtByPOM
}
where PartOfMonth != 3
group by
YearMonth,
PartOfMonth,
SalesOrganization,
DistributionChannel,
Division,
SoldToParty,
CustomerGroup,
Material,
MaterialGroup,
BillingDocumentType