C_SlsAcctgIncgSlsOrdsTrendOvw

DDL: C_SLSACCTGINCGSLSORDSTRENDOVW SQL: CSAISOTOVW Type: view CONSUMPTION

Incoming Sales Orders Trend card

C_SlsAcctgIncgSlsOrdsTrendOvw is a Consumption CDS View that provides data about "Incoming Sales Orders Trend card" in SAP S/4HANA. It reads from 1 data source (I_SlsAcctgIncgSlsOrdsTrendOvw) and exposes 59 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem.

Data Sources (1)

SourceAliasJoin Type
I_SlsAcctgIncgSlsOrdsTrendOvw I_SlsAcctgIncgSlsOrdsTrendOvw from

Parameters (5)

NameTypeDefault
P_CompanyCode fis_bukrs
P_DisplayCurrency vdm_v_display_currency
P_FiscalYearPeriod fis_jahrper_conv
P_KeyDate vdm_v_key_date
P_ExchangeRateDate vdm_v_exchange_rate_date

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CSAISOTOVW 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 Incoming Sales Orders Trend 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

Fields (59)

KeyFieldSource TableSource FieldDescription
resultElementFiscalPeriodEndDate
P_KeyDatekeyLedger
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 GLAccountHierarchy GLAccountHierarchy
KEY SemanticTag SemanticTag Semantic Tag
KEY ValidityStartDate ValidityStartDate Validity Start Date
KEY ValidityEndDate ValidityEndDate ValidTo
FiscalPeriod FiscalPeriod Tax period
PeriodMonthYearName
DisplayCurrency
PredictionLedger Ledger
SalesOrganization SalesOrganization Sales Organization
CustomerGroup CustomerGroup Customer Group
MaterialGroup MaterialGroup Product Group
ProfitCenter ProfitCenter Profit Center
Customer Customer Sold-to Party
CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierIndustry CustomerSupplierIndustry Industry
GLAccount GLAccount General Ledger
JrnlEntrDerivdFiscalYearPeriod JrnlEntrDerivdFiscalYearPeriod
SalesOrder SalesOrder SD Document
SalesOrderInRelevantPeriod SalesOrderInRelevantPeriod
NumberOfSalesOrders NumberOfSalesOrders Number of Orders
NumberOfSalesOrdersMTD NumberOfSalesOrdersMTD
UnitUoM UnitUoM
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
FinancialAccountType FinancialAccountType Fin. Account Type
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
Segment Segment Segment number
ControllingArea ControllingArea Controlling Area
CostCenter CostCenter Cost Center
Plant Plant Valuation Area
ValuationArea ValuationArea Valuation Area
OrganizationDivision OrganizationDivision Org. Division
ServiceDocumentType ServiceDocumentType Transaction Type
Supplier Supplier Supplier
SalesDocument SalesDocument SD Document
OrderID OrderID Order ID
AccountingDocumentType AccountingDocumentType Journal Entry Type
FixedAsset FixedAsset Sub-number
MasterFixedAsset MasterFixedAsset Fixed Asset
ServiceDocument ServiceDocument Transaction ID
AssetClass AssetClass Asset Class
PostingDate PostingDate Posting Date for GR
_GLAccountInCompanyCode _GLAccountInCompanyCode
_Customer _Customer
_AccountingDocumentType _AccountingDocumentType
_Supplier _Supplier
_CurrentProfitCenter _CurrentProfitCenter
_CurrentCostCenter _CurrentCostCenter
_SalesDocument _SalesDocument
_Order _Order
_FixedAsset _FixedAsset
_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_SlsAcctgIncgSlsOrdsTrendOvw.
-- 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: CSAISOTOVW
-- Parameters: P_CompanyCode : fis_bukrs, P_DisplayCurrency : vdm_v_display_currency, P_FiscalYearPeriod : fis_jahrper_conv, P_KeyDate : vdm_v_key_date, P_ExchangeRateDate : vdm_v_exchange_rate_date

CREATE VIEW C_SlsAcctgIncgSlsOrdsTrendOvw AS
SELECT
  resultElement: 'FiscalPeriodEndDate' AS resultElementFiscalPeriodEndDate,
  binding: [ { targetElement: 'CompanyCode', type: #PARAMETER, value: 'P_CompanyCode' AS P_KeyDatekeyLedger,
  SourceLedger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  GLAccountHierarchy,
  SemanticTag,
  ValidityStartDate,
  ValidityEndDate,
  FiscalPeriod,
  concat( concat( ltrim( right( JrnlEntrDerivdFiscalYearPeriod, 3 ), '0' ), '.'), left( JrnlEntrDerivdFiscalYearPeriod, 4 ) ) AS PeriodMonthYearName,
  $parameters.P_DisplayCurrency AS DisplayCurrency,
  cast( Ledger as predictionledger ) AS PredictionLedger,
  SalesOrganization,
  CustomerGroup,
  MaterialGroup,
  ProfitCenter,
  Customer,
  cast(CustomerSupplierCountry as fco_sls_acctg_ovw_country_name preserving type ) AS CustomerSupplierCountry,
  CustomerSupplierIndustry,
  GLAccount,
  JrnlEntrDerivdFiscalYearPeriod,
  SalesOrder,
  SalesOrderInRelevantPeriod,
  NumberOfSalesOrders,
  NumberOfSalesOrdersMTD,
  UnitUoM,
  DistributionChannel,
  FinancialAccountType,
  FunctionalArea,
  BusinessArea,
  Segment,
  ControllingArea,
  CostCenter,
  Plant,
  ValuationArea,
  OrganizationDivision,
  ServiceDocumentType,
  Supplier,
  SalesDocument,
  OrderID,
  AccountingDocumentType,
  FixedAsset,
  MasterFixedAsset,
  ServiceDocument,
  AssetClass,
  PostingDate
FROM I_SlsAcctgIncgSlsOrdsTrendOvw
;