C_SlsAcctgMonthlyNetSalesOvw

DDL: C_SLSACCTGMONTHLYNETSALESOVW SQL: CSAMNSOVW Type: view CONSUMPTION Package: ODATA_SALES_ACCTG_OVERVIEW

Monthly Net Sales card

C_SlsAcctgMonthlyNetSalesOvw is a Consumption CDS View that provides data about "Monthly Net Sales card" in SAP S/4HANA. It reads from 1 data source (I_SlsAcctgMonthlyNetSalesOvw) and exposes 57 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It is exposed through 1 OData service (ASQL_F3228). Part of development package ODATA_SALES_ACCTG_OVERVIEW.

Data Sources (1)

SourceAliasJoin Type
I_SlsAcctgMonthlyNetSalesOvw I_SlsAcctgMonthlyNetSalesOvw from

Parameters (7)

NameTypeDefault
P_CompanyCode fis_bukrs
P_DisplayCurrency vdm_v_display_currency
P_PlanningCategory fcom_category
P_FiscalYearPeriod fis_jahrper_conv
P_KeyDate vdm_v_key_date
P_ExchangeRateDate vdm_v_exchange_rate_date
P_QuantityType fac_revvar_quantity_type

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CSAMNSOVW view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Monthly Net Sales card 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

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3228 ASQL_F3228 C2 NOT_RELEASED

Fields (57)

KeyFieldSource TableSource FieldDescription
resultElementFiscalPeriodEndDate
P_KeyDate
P_QuantityTypekeyLedger
KEY SourceLedger SourceLedger Source Ledger
KEY CompanyCode CompanyCode Receiver Company Code
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 GLAccountHierarchy GLAccountHierarchy
KEY ValidityStartDate ValidityStartDate Validity Start Date
KEY ValidityEndDate ValidityEndDate ValidTo
FiscalPeriod FiscalPeriod Tax period
MaterialGroup MaterialGroup Product Sold Group
MaterialGroup Product Sold Group
PlanningCategory PlanningCategory Plan Category
SalesOrganization SalesOrganization Sales Organization
CustomerGroup CustomerGroup Customer Group
Customer Customer Sold-to Party
ProfitCenter ProfitCenter Profit Center
CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierIndustry CustomerSupplierIndustry Industry
GLAccount GLAccount General Ledger
SlsAcctgOvwDataVariantCode SlsAcctgOvwDataVariantCode
PeriodMonthYearName
DisplayCurrency
NextFiscalYear NextFiscalYear
AccountingDocumentType AccountingDocumentType Journal Entry Type
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
Segment Segment Segment number
ControllingArea ControllingArea Controlling Area
CostCenter CostCenter Cost Center
OrganizationDivision OrganizationDivision Org. Division
FinancialAccountType FinancialAccountType Fin. Account Type
Plant Plant Valuation Area
ValuationArea ValuationArea Valuation Area
SalesDocument SalesDocument SD Document
Supplier Supplier Supplier
OrderID OrderID Order ID
ServiceDocumentType ServiceDocumentType Transaction Type
ServiceDocument ServiceDocument Transaction ID
AssetClass AssetClass Asset Class
PostingDate PostingDate Posting Date for GR
_Customer _Customer
_AccountingDocumentType _AccountingDocumentType
_GLAccountInCompanyCode _GLAccountInCompanyCode
_CurrentCostCenter _CurrentCostCenter
_CurrentProfitCenter _CurrentProfitCenter
_SalesDocument _SalesDocument
_Supplier _Supplier
_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 C_SlsAcctgMonthlyNetSalesOvw.
-- 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: CSAMNSOVW
-- Parameters: P_CompanyCode : fis_bukrs, P_DisplayCurrency : vdm_v_display_currency, P_PlanningCategory : fcom_category, P_FiscalYearPeriod : fis_jahrper_conv, P_KeyDate : vdm_v_key_date, P_ExchangeRateDate : vdm_v_exchange_rate_date, P_QuantityType : fac_revvar_quantity_type

CREATE VIEW C_SlsAcctgMonthlyNetSalesOvw AS
SELECT
  resultElement: 'FiscalPeriodEndDate' AS resultElementFiscalPeriodEndDate,
  binding: [ { targetElement: 'CompanyCode', type: #PARAMETER, value: 'P_CompanyCode' AS P_KeyDate,
  SourceLedger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  FinancialPlanningReqTransSqnc,
  FinancialPlanningDataPacket,
  FinancialPlanningEntryItem,
  GLAccountHierarchy,
  ValidityStartDate,
  ValidityEndDate,
  FiscalPeriod,
  MaterialGroup,
  PlanningCategory,
  SalesOrganization,
  CustomerGroup,
  Customer,
  ProfitCenter,
  cast( CustomerSupplierCountry as fco_sls_acctg_ovw_country_name preserving type ) AS CustomerSupplierCountry,
  CustomerSupplierIndustry,
  GLAccount,
  SlsAcctgOvwDataVariantCode,
  concat( concat( ltrim( FiscalPeriod, '0' ), '.'), NextFiscalYear ) AS PeriodMonthYearName,
  $parameters.P_DisplayCurrency AS DisplayCurrency,
  NextFiscalYear,
  AccountingDocumentType,
  DistributionChannel,
  Division,
  FunctionalArea,
  BusinessArea,
  Segment,
  ControllingArea,
  CostCenter,
  OrganizationDivision,
  FinancialAccountType,
  Plant,
  ValuationArea,
  SalesDocument,
  Supplier,
  OrderID,
  ServiceDocumentType,
  ServiceDocument,
  AssetClass,
  PostingDate
FROM I_SlsAcctgMonthlyNetSalesOvw
;