I_SalesDeductionByMonth
Sales Accounting Deductions By Month Overview
I_SalesDeductionByMonth is a Composite CDS View that provides data about "Sales Accounting Deductions By Month Overview" in SAP S/4HANA. It reads from 1 data source (P_SlsAcctgMonthlyDeductionsOvw) and exposes 54 fields with key fields Ledger, CompanyCode, Customer, GLAccount, SalesOrganization. Part of development package ODATA_SALES_ACCTG_OVERVIEW.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_SlsAcctgMonthlyDeductionsOvw | P_SlsAcctgMonthlyDeductionsOvw | from |
Parameters (8)
| Name | Type | Default |
|---|---|---|
| P_CompanyCode | fis_bukrs | |
| 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 |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISLSDEDBYMNTH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Sales Accounting Deductions By Month Overview | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | Ledger | Ledger | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | Customer | Customer | Sold-to Party | |
| KEY | GLAccount | GLAccount | General Ledger | |
| KEY | SalesOrganization | SalesOrganization | Sales Organization | |
| KEY | ProductGroup | ProductGroup | Product Sold Group | |
| KEY | ProfitCenter | ProfitCenter | Profit Center | |
| KEY | SoldProductGroup | SoldProductGroup | Product Sold Group | |
| KEY | GLAccountHierarchy | GLAccountHierarchy | ||
| KEY | CustomerGroup | CustomerGroup | Customer Group | |
| KEY | MaterialGroup | MaterialGroup | Product Group | |
| KEY | SalesDistrict | SalesDistrict | Sales District | |
| 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 | ||
| KEY | ValidityStartDate | ValidityStartDate | Validity Start Date | |
| KEY | ValidityEndDate | ValidityEndDate | ValidTo | |
| CustomerSupplierCountry | ||||
| CustomerSupplierIndustry | CustomerSupplierIndustry | Industry | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| PlanningCategory | PlanningCategory | Plan Category | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CostCenter | CostCenter | Cost Center | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| BusinessArea | BusinessArea | Business Area | ||
| Segment | Segment | Segment number | ||
| Plant | Plant | Valuation Area | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| Supplier | Supplier | Supplier | ||
| SalesDocument | SalesDocument | SD Document | ||
| OrderID | OrderID | Order ID | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| AssetClass | AssetClass | Asset Class | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _Customer | _Customer | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _Supplier | _Supplier | |||
| _CurrentCostCenter | _CurrentCostCenter | |||
| _SalesDocument | _SalesDocument | |||
| _Order | _Order | |||
| _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 I_SalesDeductionByMonth.
-- 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: ISLSDEDBYMNTH
-- Parameters: P_CompanyCode : fis_bukrs, 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
CREATE VIEW I_SalesDeductionByMonth AS
SELECT
Ledger,
CompanyCode,
Customer,
GLAccount,
SalesOrganization,
ProductGroup,
ProfitCenter,
SoldProductGroup,
GLAccountHierarchy,
CustomerGroup,
MaterialGroup,
SalesDistrict,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
FinancialPlanningReqTransSqnc,
FinancialPlanningDataPacket,
FinancialPlanningEntryItem,
ValidityStartDate,
ValidityEndDate,
CustomerSupplierIndustry,
GlobalCurrency,
AccountingDocumentType,
PlanningCategory,
DistributionChannel,
Division,
FiscalYearPeriod,
FinancialAccountType,
ControllingArea,
CostCenter,
FunctionalArea,
BusinessArea,
Segment,
Plant,
ValuationArea,
OrganizationDivision,
Supplier,
SalesDocument,
OrderID,
ServiceDocumentType,
ServiceDocument,
AssetClass,
PostingDate
FROM P_SlsAcctgMonthlyDeductionsOvw
;
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