P_SlsAcctgSlsVolPerMatlOvw
Sales Volume per Material card data
P_SlsAcctgSlsVolPerMatlOvw is a Composite CDS View that provides data about "Sales Volume per Material card data" in SAP S/4HANA. It reads from 1 data source (I_RevenueVariance) and exposes 54 fields with key fields CompanyCode, Material, Ledger, GLAccountHierarchy, SalesOrganization. Part of development package ODATA_SALES_ACCTG_OVERVIEW.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_RevenueVariance | I_RevenueVariance | from |
Parameters (11)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | datum | |
| P_DisplayCurrency | vdm_v_display_currency | |
| P_PlanningCategory | fac_revvar_pln_category | |
| P_Interval1Year | fis_gjahr | |
| P_Interval2Year | fis_gjahr | |
| P_Interval1FromFiscalPeriod | fis_period_from | |
| P_Interval2FromFiscalPeriod | fis_period_from | |
| P_Interval1ToFiscalPeriod | fis_period_to | |
| P_Interval2ToFiscalPeriod | fis_period_to | |
| P_Interval1Type | fac_revvar_interval_type | |
| P_Interval2Type | fac_revvar_interval_type |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSASVPMOVW | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | Material | Material | Vehicle Model | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | GLAccountHierarchy | GLAccountHierarchy | ||
| KEY | SalesOrganization | SalesOrganization | Sales Organization | |
| KEY | MaterialGroup | MaterialGroup | Product Group | |
| KEY | Customer | Customer | Sold-to Party | |
| KEY | ProfitCenter | ProfitCenter | Profit Center | |
| KEY | CustomerSupplierCountry | Country | Venue: Ctry/Reg | |
| KEY | CustomerSupplierIndustry | CustomerSupplierIndustry | Industry | |
| KEY | GLAccount | GLAccount | General Ledger | |
| keySourceLedger | ||||
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | FinancialPlanningReqTransSqnc | FinancialPlanningReqTransSqnc | Request TSN | |
| KEY | FinancialPlanningDataPacket | FinancialPlanningDataPacket | Data packet number | |
| KEY | FinancialPlanningEntryItem | FinancialPlanningEntryItem | ||
| MaterialName | ||||
| PlanningCategory | PlanningCategory | Plan Category | ||
| Division | Division | Internal Division ID | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| GLAccountAuthorizationGroup | _GLAccountInCompanyCode | AuthorizationGroup | AuthorizGroup | |
| AuthorizationGroup | _AccountingDocumentType | AuthorizationGroup | AuthorizGroup | |
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| UnitOfMeasure | CostSourceUnit | |||
| Interval1LineItemVolume | ||||
| Interval2LineItemVolume | ||||
| RatioUnit | RatioUnit | Unit of Measure | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| Plant | Plant | Valuation Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| Segment | Segment | Segment number | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| CostCenter | CostCenter | Cost Center | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| BusinessArea | BusinessArea | Business Area | ||
| OrderID | OrderID | Order ID | ||
| SalesDocument | SalesDocument | SD Document | ||
| Supplier | Supplier | Supplier | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| AssetClass | AssetClass | Asset Class | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| _Customer | _Customer | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _Order | _Order | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _SalesDocument | _SalesDocument | |||
| _CurrentCostCenter | _CurrentCostCenter | |||
| _Supplier | _Supplier | |||
| _ServiceDocument | _ServiceDocument |
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_SlsAcctgSlsVolPerMatlOvw.
-- 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: PSASVPMOVW
-- Parameters: P_KeyDate : datum, P_DisplayCurrency : vdm_v_display_currency, P_PlanningCategory : fac_revvar_pln_category, P_Interval1Year : fis_gjahr, P_Interval2Year : fis_gjahr, P_Interval1FromFiscalPeriod : fis_period_from, P_Interval2FromFiscalPeriod : fis_period_from, P_Interval1ToFiscalPeriod : fis_period_to, P_Interval2ToFiscalPeriod : fis_period_to, P_Interval1Type : fac_revvar_interval_type, P_Interval2Type : fac_revvar_interval_type
CREATE VIEW P_SlsAcctgSlsVolPerMatlOvw AS
SELECT
CompanyCode,
Material,
Ledger,
GLAccountHierarchy,
SalesOrganization,
MaterialGroup,
Customer,
ProfitCenter,
Country AS CustomerSupplierCountry,
CustomerSupplierIndustry,
GLAccount,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
FinancialPlanningReqTransSqnc,
FinancialPlanningDataPacket,
FinancialPlanningEntryItem,
PlanningCategory,
Division,
DistributionChannel,
_GLAccountInCompanyCode.AuthorizationGroup AS GLAccountAuthorizationGroup,
_AccountingDocumentType.AuthorizationGroup AS AuthorizationGroup,
AccountingDocumentType,
CostSourceUnit AS UnitOfMeasure,
sum( Interval1LineItemVolume ) AS Interval1LineItemVolume,
sum( Interval2LineItemVolume ) AS Interval2LineItemVolume,
RatioUnit,
ValuationArea,
Plant,
ControllingArea,
Segment,
FinancialAccountType,
OrganizationDivision,
CostCenter,
FunctionalArea,
BusinessArea,
OrderID,
SalesDocument,
Supplier,
ServiceDocumentType,
ServiceDocument,
AssetClass,
PostingDate
FROM I_RevenueVariance
;
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