C_SlsAcctgDeductionsOvw

DDL: C_SLSACCTGDEDUCTIONSOVW SQL: CSLSACCSD1 Type: view CONSUMPTION

Sales Deductions Overview Card Data

C_SlsAcctgDeductionsOvw is a Consumption CDS View that provides data about "Sales Deductions Overview Card Data" in SAP S/4HANA. It reads from 1 data source (I_SlsAcctgDeductionsOvw) and exposes 60 fields with key fields CompanyCode, Customer, GLAccount, SalesOrganization, ProductGroup.

Data Sources (1)

SourceAliasJoin Type
I_SlsAcctgDeductionsOvw I_SlsAcctgDeductionsOvw from

Parameters (14)

NameTypeDefault
P_CompanyCode fis_bukrs
P_DisplayCurrency vdm_v_display_currency
P_PlanningCategory fcom_category
P_FiscalYearPeriod fis_jahrper_conv
P_LeftOperandNodeContentType fco_sls_acctg_ovw_variant
P_RightOperandNodeContentType fco_sls_acctg_ovw_variant
P_YearInterval char1
P_KeyDate datum
P_Interval1FromFiscalPeriod fis_period_from
P_Interval2FromFiscalPeriod fis_period_from
P_Interval1ToFiscalPeriod fis_period_to
P_Interval2ToFiscalPeriod fis_period_to
P_Interval1Year fis_gjahr
P_Interval2Year fis_gjahr

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CSLSACCSD1 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Sales Deductions Overview Card Data view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
UI.textArrangement #TEXT_LAST view

Fields (60)

KeyFieldSource TableSource FieldDescription
lookupEntityP_SlsAcctgParamCalc
resultElementP_Interval1FromFiscalPeriod
resultElementP_Interval2FromFiscalPeriod
resultElementP_Interval1ToFiscalPeriod
resultElementP_Interval2ToFiscalPeriod
resultElementP_Interval1Year
resultElementP_Interval2Year
P_CompanyCode
P_PlanningCategory
P_Interval1Year
P_Interval2Year
P_Interval1FromFiscalPeriod
P_Interval2FromFiscalPeriod
P_Interval1ToFiscalPeriod
P_Interval2ToFiscalPeriodkeyLedger
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
KEY PostingDate PostingDate Posting Date for GR
KEY OrderID OrderID Order ID
KEY ControllingArea ControllingArea Controlling Area
KEY CostCenter CostCenter Cost Center
KEY SalesDocument SalesDocument SD Document
CustomerSupplierCountry Customer or Supplier Country/Region
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
DisplayCurrency
GLAccountName Short Text
Plant Plant Valuation Area
ValuationArea ValuationArea Valuation Area
OrganizationDivision OrganizationDivision Org. Division
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
FinancialAccountType FinancialAccountType Fin. Account Type
Segment Segment Segment number
Supplier Supplier Supplier
ServiceDocumentType ServiceDocumentType Transaction Type
ServiceDocument ServiceDocument Transaction ID
AssetClass AssetClass Asset Class
_AccountingDocumentType _AccountingDocumentType
_Customer _Customer
_GLAccountInCompanyCode _GLAccountInCompanyCode
_Order _Order
_CurrentCostCenter _CurrentCostCenter
_CurrentProfitCenter _CurrentProfitCenter
_SalesDocument _SalesDocument
_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 C_SlsAcctgDeductionsOvw.
-- 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: CSLSACCSD1
-- Parameters: P_CompanyCode : fis_bukrs, P_DisplayCurrency : vdm_v_display_currency, P_PlanningCategory : fcom_category, P_FiscalYearPeriod : fis_jahrper_conv, P_LeftOperandNodeContentType : fco_sls_acctg_ovw_variant, P_RightOperandNodeContentType : fco_sls_acctg_ovw_variant, P_YearInterval : char1, P_KeyDate : datum, P_Interval1FromFiscalPeriod : fis_period_from, P_Interval2FromFiscalPeriod : fis_period_from, P_Interval1ToFiscalPeriod : fis_period_to, P_Interval2ToFiscalPeriod : fis_period_to, P_Interval1Year : fis_gjahr, P_Interval2Year : fis_gjahr

CREATE VIEW C_SlsAcctgDeductionsOvw AS
SELECT
  lookupEntity: 'P_SlsAcctgParamCalc' AS lookupEntityP_SlsAcctgParamCalc,
  resultElement: 'P_Interval1FromFiscalPeriod' AS resultElementP_Interval1FromFiscalPeriod,
  resultElement: 'P_Interval2FromFiscalPeriod' AS resultElementP_Interval2FromFiscalPeriod,
  resultElement: 'P_Interval1ToFiscalPeriod' AS resultElementP_Interval1ToFiscalPeriod,
  resultElement: 'P_Interval2ToFiscalPeriod' AS resultElementP_Interval2ToFiscalPeriod,
  resultElement: 'P_Interval1Year' AS resultElementP_Interval1Year,
  resultElement: 'P_Interval2Year' AS resultElementP_Interval2Year,
  binding: [ { targetParameter: 'P_FiscalYearPeriod', type: #PARAMETER, value : 'P_FiscalYearPeriod' AS P_CompanyCode,
  P_PlanningCategory : $parameters.P_PlanningCategory AS P_PlanningCategory,
  P_Interval1Year : $parameters.P_Interval1Year AS P_Interval1Year,
  P_Interval2Year : $parameters.P_Interval2Year AS P_Interval2Year,
  P_Interval1FromFiscalPeriod : $parameters.P_Interval1FromFiscalPeriod AS P_Interval1FromFiscalPeriod,
  P_Interval2FromFiscalPeriod : $parameters.P_Interval2FromFiscalPeriod AS P_Interval2FromFiscalPeriod,
  P_Interval1ToFiscalPeriod : $parameters.P_Interval1ToFiscalPeriod AS P_Interval1ToFiscalPeriod,
  CompanyCode,
  Customer,
  GLAccount,
  SalesOrganization,
  ProductGroup,
  ProfitCenter,
  SoldProductGroup,
  GLAccountHierarchy,
  CustomerGroup,
  MaterialGroup,
  SalesDistrict,
  PostingDate,
  OrderID,
  ControllingArea,
  CostCenter,
  SalesDocument,
  cast(CustomerSupplierCountry as fco_sls_acctg_ovw_country_name preserving type ) AS CustomerSupplierCountry,
  CustomerSupplierIndustry,
  GlobalCurrency,
  AccountingDocumentType,
  PlanningCategory,
  DistributionChannel,
  Division,
  cast( $parameters.P_DisplayCurrency as vdm_v_display_currency ) AS DisplayCurrency,
  cast ( GLAccountName as fco_sls_acctg_ovw_glaccname50 ) AS GLAccountName,
  Plant,
  ValuationArea,
  OrganizationDivision,
  FunctionalArea,
  BusinessArea,
  FinancialAccountType,
  Segment,
  Supplier,
  ServiceDocumentType,
  ServiceDocument,
  AssetClass
FROM I_SlsAcctgDeductionsOvw
;