R_GLIncgOrdPrdtvAnalysis

DDL: R_GLINCGORDPRDTVANALYSIS SQL: RFGLIOPRANLS Type: view COMPOSITE

Pred. Analysis based on Inc. Orders

R_GLIncgOrdPrdtvAnalysis is a Composite CDS View that provides data about "Pred. Analysis based on Inc. Orders" in SAP S/4HANA. It reads from 1 data source (P_GLIncgOrdPrdtvAnalysisUnion) and exposes 184 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_GLIncgOrdPrdtvAnalysisUnion _GL from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_CurrentCostCenter _CurrentCostCenter $projection.ControllingArea = _CurrentCostCenter.ControllingArea and $projection.CostCenter = _CurrentCostCenter.CostCenter
[0..1] I_CurrentProfitCenter _CurrentProfitCenter $projection.ControllingArea = _CurrentProfitCenter.ControllingArea and $projection.ProfitCenter = _CurrentProfitCenter.ProfitCenter

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName RFGLIOPRANLS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Pred. Analysis based on Inc. Orders view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view

Fields (184)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger Ledger
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
DocumentDate DocumentDate Journal Entry Date
SalesOrganization SalesOrganization Sales Organization
CustomerGroup CustomerGroup Customer Group
Customer Customer Sold-to Party
FiscalQuarter FiscalQuarter
FiscalPeriod FiscalPeriod Tax period
CompanyCodeCurrency CompanyCodeCurrency Local Currency
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
FunctionalCurrency FunctionalCurrency Functional Currency
RecognizedRevnAmtInCCCrcy RecognizedRevnAmtInCCCrcy
RecognizedRevnAmtInGlobCrcy RecognizedRevnAmtInGlobCrcy
RevenueAmountInCompanyCodeCrcy RevenueAmountInCompanyCodeCrcy
RevenueInGlobalCurrency RevenueInGlobalCurrency
RecognizedCOGSAmtInCCCrcy RecognizedCOGSAmtInCCCrcy
CostOfGoodsSoldAmtInGlobCrcy CostOfGoodsSoldAmtInGlobCrcy
RecognizedMarginAmtInCCCrcy RecognizedMarginAmtInCCCrcy
RecognizedMarginAmount RecognizedMarginAmount
SalesDeductionAmountInGlobCrcy SalesDeductionAmountInGlobCrcy
SalesDeductionAmtInCoCodeCrcy SalesDeductionAmtInCoCodeCrcy
RecognizableRevnAmtInGlobCrcy RecognizableRevnAmtInGlobCrcy
MaterialGroup MaterialGroup Product Group
ProfitCenter ProfitCenter Profit Center
ControllingArea ControllingArea Controlling Area
SalesDistrict SalesDistrict Sales District
Segment Segment Segment number
SalesOrder Reference Doc.
SalesOrderItem Ref. Doc. Item
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
SoldMaterial SoldMaterial Product Sold
Division Division Internal Division ID
OrderType OrderType Order Type
BusinessTransactionType BusinessTransactionType Bus.transaction
BusinessArea BusinessArea Business Area
CostCenter CostCenter Cost Center
CustomerSupplierCountry CustomerSupplierCountry Customer or Supplier Country/Region
FiscalYearPeriod FiscalYearPeriod Period/Year
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
InvertedAmtInCoCodeCurrency InvertedAmtInCoCodeCurrency
InvertedAmountInGlobalCurrency InvertedAmountInGlobalCurrency
AmountInGlobalCurrency AmountInGlobalCurrency Amount in Global Currency
AmountInFunctionalCurrency AmountInFunctionalCurrency Amount in Functional Currency
InvertedAmtInFuncnlCurrency InvertedAmtInFuncnlCurrency
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
GLAccount GLAccount General Ledger
PostingDate PostingDate Posting Date for GR
CreationDate CreationDate Time Stamp
ChartOfAccounts ChartOfAccounts Node Class
LedgerFiscalYear LedgerFiscalYear
FinancialTransactionType FinancialTransactionType Transact. Type
TransactionCurrency TransactionCurrency Transaction Currency
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
InvertedAmtInTransCrcy InvertedAmtInTransCrcy
BaseUnit BaseUnit Unit of Measure
Quantity Quantity Value
FixedQuantity FixedQuantity Fixed Quantity
DebitCreditCode DebitCreditCode Single-Character Flag
AssignmentReference AssignmentReference Assignment Reference
PostingKey PostingKey Posting Key
AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
GLAccountType GLAccountType G/L Account Type
Plant Plant Valuation Area
FinancialAccountType FinancialAccountType Fin. Account Type
SpecialGLCode SpecialGLCode Special G/L Ind
ClearingDate ClearingDate Clearing Date
ClearingAccountingDocument ClearingAccountingDocument Clearing Journal Entry
BillingDocumentType BillingDocumentType Billing Type
OrganizationDivision OrganizationDivision Org. Division
CustomerSupplierIndustry CustomerSupplierIndustry Industry
BillToParty BillToParty Inv. Recipient
ShipToParty ShipToParty Ship-To Party (obsolete)
SourceReferenceDocumentType Ref. procedure
SourceReferenceDocument SourceReferenceDocument Reference Doc.
SourceReferenceDocumentItem SourceReferenceDocumentItem Ref. Doc. Item
OperatingConcern
AccountingDocumentItem AccountingDocumentItem Posting View Item
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
ControllingDebitCreditCode Dr/Cr ind. CO
AccountingDocumentType AccountingDocumentType Journal Entry Type
ReferenceDocumentType ReferenceDocumentType Reference Document Type
FiscalYearVariant FiscalYearVariant FY Variant
FiscalPeriodStartDate FiscalPeriodStartDate
JrnlEntrDerivedFiscalYear JrnlEntrDerivedFiscalYear
JrnlEntrDerivedFiscalQuarter JrnlEntrDerivedFiscalQuarter
JrnlEntrDerivedFiscalPeriod JrnlEntrDerivedFiscalPeriod
JrnlEntrDerivdFiscalYearPeriod JrnlEntrDerivdFiscalYearPeriod
JrnlEntryItemObsoleteReason JrnlEntryItemObsoleteReason
FreeDefinedCurrency1 FreeDefinedCurrency1 Freely Defined Currency 1
AmountInFreeDefinedCurrency1 AmountInFreeDefinedCurrency1 Amount in Freely Defined Currency 1
InvertedAmtInFreeDefinedCrcy1 InvertedAmtInFreeDefinedCrcy1
FreeDefinedCurrency2 FreeDefinedCurrency2 Freely Defined Currency 2
AmountInFreeDefinedCurrency2 AmountInFreeDefinedCurrency2 Amount in Freely Defined Currency 2
InvertedAmtInFreeDefinedCrcy2 InvertedAmtInFreeDefinedCrcy2
FreeDefinedCurrency3 FreeDefinedCurrency3 Freely Defined Currency 3
AmountInFreeDefinedCurrency3 AmountInFreeDefinedCurrency3 Amount in Freely Defined Currency 3
InvertedAmtInFreeDefinedCrcy3 InvertedAmtInFreeDefinedCrcy3
FreeDefinedCurrency4 FreeDefinedCurrency4 Freely Defined Currency 4
AmountInFreeDefinedCurrency4 AmountInFreeDefinedCurrency4 Amount in Freely Defined Currency 4
InvertedAmtInFreeDefinedCrcy4 InvertedAmtInFreeDefinedCrcy4
FreeDefinedCurrency5 FreeDefinedCurrency5 Freely Defined Currency 5
AmountInFreeDefinedCurrency5 AmountInFreeDefinedCurrency5 Amount in Freely Defined Currency 5
InvertedAmtInFreeDefinedCrcy5 InvertedAmtInFreeDefinedCrcy5
FreeDefinedCurrency6 FreeDefinedCurrency6 Freely Defined Currency 6
AmountInFreeDefinedCurrency6 AmountInFreeDefinedCurrency6 Amount in Freely Defined Currency 6
InvertedAmtInFreeDefinedCrcy6 InvertedAmtInFreeDefinedCrcy6
FreeDefinedCurrency7 FreeDefinedCurrency7 Freely Defined Currency 7
AmountInFreeDefinedCurrency7 AmountInFreeDefinedCurrency7 Amount in Freely Defined Currency 7
InvertedAmtInFreeDefinedCrcy7 InvertedAmtInFreeDefinedCrcy7
FreeDefinedCurrency8 FreeDefinedCurrency8 Freely Defined Currency 8
AmountInFreeDefinedCurrency8 AmountInFreeDefinedCurrency8 Amount in Freely Defined Currency 8
InvertedAmtInFreeDefinedCrcy8 InvertedAmtInFreeDefinedCrcy8
NumberOfSalesOrders
ServiceDocument ServiceDocument Transaction ID
ServiceDocumentItem ServiceDocumentItem Service Document
ServiceDocumentType ServiceDocumentType Transaction Type
ValuationArea ValuationArea Valuation Area
Supplier Supplier Supplier
SalesDocument SalesDocument SD Document
FixedAsset FixedAsset Sub-number
MasterFixedAsset MasterFixedAsset Fixed Asset
OrderID OrderID Order ID
AssetClass AssetClass Asset Class
FunctionalArea FunctionalArea Sendr Fctl Area
_ServiceDocument _ServiceDocument
_Supplier _Supplier
_CurrentCostCenter _CurrentCostCenter
_SalesDocument _SalesDocument
_FixedAsset _FixedAsset
_Order _Order
_FiscalYear _FiscalYear
_CompanyCodeCurrency _CompanyCodeCurrency
_GlobalCurrency _GlobalCurrency
_SalesOrganization _SalesOrganization
_Customer _Customer
_SalesDistrict _SalesDistrict
_Segment _Segment
_DistributionChannel _DistributionChannel
_BusinessTransactionType _BusinessTransactionType
_BusinessArea _BusinessArea
_CostCenter _CostCenter
_ControllingArea _ControllingArea
_CustomerSupplierCountry _CustomerSupplierCountry
_SoldMaterial _SoldMaterial
_CompanyCode _CompanyCode
_CustomerGroup _CustomerGroup
_Ledger _Ledger
_SemanticTag _SemanticTag
_AccountingDocumentCategory _AccountingDocumentCategory
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_ChartOfAccounts _ChartOfAccounts
_LedgerFiscalYearForVariant _LedgerFiscalYearForVariant
_FiscalPeriodForVariant _FiscalPeriodForVariant
_FiscalYearPeriodForVariant _FiscalYearPeriodForVariant
_FinancialTransactionType _FinancialTransactionType
_TransactionCurrency _TransactionCurrency
_BaseUnit _BaseUnit
_DebitCreditCode _DebitCreditCode
_PostingKey _PostingKey
_GLAccountType _GLAccountType
_Plant _Plant
_FinancialAccountType _FinancialAccountType
_SpecialGLCode _SpecialGLCode
_ClearingAccountingDocument _ClearingAccountingDocument
_BillingDocumentType _BillingDocumentType
_BillToParty _BillToParty
_ShipToParty _ShipToParty
_OperatingConcern _OperatingConcern
_ControllingDebitCreditCode _ControllingDebitCreditCode
_AccountingDocumentType _AccountingDocumentType
_ReferenceDocumentType _ReferenceDocumentType
_FiscalYearVariant _FiscalYearVariant
_DocumentFiscalCalendarDate _DocumentFiscalCalendarDate
_CurrentProfitCenter _CurrentProfitCenter
_GLAccountInCompanyCode _GLAccountInCompanyCode
_JournalEntry _JournalEntry

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 R_GLIncgOrdPrdtvAnalysis.
-- 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: RFGLIOPRANLS

CREATE VIEW R_GLIncgOrdPrdtvAnalysis AS
SELECT
  Ledger,
  SourceLedger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  GLAccountHierarchy,
  SemanticTag,
  ValidityStartDate,
  ValidityEndDate,
  DocumentDate,
  SalesOrganization,
  CustomerGroup,
  Customer,
  FiscalQuarter,
  FiscalPeriod,
  CompanyCodeCurrency,
  GlobalCurrency,
  FunctionalCurrency,
  RecognizedRevnAmtInCCCrcy,
  RecognizedRevnAmtInGlobCrcy,
  RevenueAmountInCompanyCodeCrcy,
  RevenueInGlobalCurrency,
  RecognizedCOGSAmtInCCCrcy,
  CostOfGoodsSoldAmtInGlobCrcy,
  RecognizedMarginAmtInCCCrcy,
  RecognizedMarginAmount,
  SalesDeductionAmountInGlobCrcy,
  SalesDeductionAmtInCoCodeCrcy,
  RecognizableRevnAmtInGlobCrcy,
  MaterialGroup,
  ProfitCenter,
  ControllingArea,
  SalesDistrict,
  Segment,
  cast(SourceReferenceDocument as vdm_sales_order) AS SalesOrder,
  cast(SourceReferenceDocumentItem as fac_kdpos) AS SalesOrderItem,
  DistributionChannel,
  SoldMaterial,
  Division,
  OrderType,
  BusinessTransactionType,
  BusinessArea,
  CostCenter,
  CustomerSupplierCountry,
  FiscalYearPeriod,
  AmountInCompanyCodeCurrency,
  InvertedAmtInCoCodeCurrency,
  InvertedAmountInGlobalCurrency,
  AmountInGlobalCurrency,
  AmountInFunctionalCurrency,
  InvertedAmtInFuncnlCurrency,
  AccountingDocumentCategory,
  GLAccount,
  PostingDate,
  CreationDate,
  ChartOfAccounts,
  LedgerFiscalYear,
  FinancialTransactionType,
  TransactionCurrency,
  AmountInTransactionCurrency,
  InvertedAmtInTransCrcy,
  BaseUnit,
  Quantity,
  FixedQuantity,
  DebitCreditCode,
  AssignmentReference,
  PostingKey,
  AccountingDocCreatedByUser,
  GLAccountType,
  Plant,
  FinancialAccountType,
  SpecialGLCode,
  ClearingDate,
  ClearingAccountingDocument,
  BillingDocumentType,
  OrganizationDivision,
  CustomerSupplierIndustry,
  BillToParty,
  ShipToParty,
  cast(SourceReferenceDocumentType as fins_src_awtyp) AS SourceReferenceDocumentType,
  SourceReferenceDocument,
  SourceReferenceDocumentItem,
  cast(_GL.OperatingConcern as fins_erkrs preserving type) AS OperatingConcern,
  AccountingDocumentItem,
  TransactionTypeDetermination,
  cast(ControllingDebitCreditCode as fins_debit_credit_indicator_co preserving type) AS ControllingDebitCreditCode,
  AccountingDocumentType,
  ReferenceDocumentType,
  FiscalYearVariant,
  FiscalPeriodStartDate,
  JrnlEntrDerivedFiscalYear,
  JrnlEntrDerivedFiscalQuarter,
  JrnlEntrDerivedFiscalPeriod,
  JrnlEntrDerivdFiscalYearPeriod,
  JrnlEntryItemObsoleteReason,
  FreeDefinedCurrency1,
  AmountInFreeDefinedCurrency1,
  InvertedAmtInFreeDefinedCrcy1,
  FreeDefinedCurrency2,
  AmountInFreeDefinedCurrency2,
  InvertedAmtInFreeDefinedCrcy2,
  FreeDefinedCurrency3,
  AmountInFreeDefinedCurrency3,
  InvertedAmtInFreeDefinedCrcy3,
  FreeDefinedCurrency4,
  AmountInFreeDefinedCurrency4,
  InvertedAmtInFreeDefinedCrcy4,
  FreeDefinedCurrency5,
  AmountInFreeDefinedCurrency5,
  InvertedAmtInFreeDefinedCrcy5,
  FreeDefinedCurrency6,
  AmountInFreeDefinedCurrency6,
  InvertedAmtInFreeDefinedCrcy6,
  FreeDefinedCurrency7,
  AmountInFreeDefinedCurrency7,
  InvertedAmtInFreeDefinedCrcy7,
  FreeDefinedCurrency8,
  AmountInFreeDefinedCurrency8,
  InvertedAmtInFreeDefinedCrcy8,
  cast( 1 as abap.int4 ) AS NumberOfSalesOrders,
  ServiceDocument,
  ServiceDocumentItem,
  ServiceDocumentType,
  ValuationArea,
  Supplier,
  SalesDocument,
  FixedAsset,
  MasterFixedAsset,
  OrderID,
  AssetClass,
  FunctionalArea
FROM P_GLIncgOrdPrdtvAnalysisUnion AS _GL
LEFT OUTER JOIN I_CurrentCostCenter AS _CurrentCostCenter ON ControllingArea = _CurrentCostCenter.ControllingArea AND CostCenter = _CurrentCostCenter.CostCenter  -- association [0..1]
LEFT OUTER JOIN I_CurrentProfitCenter AS _CurrentProfitCenter ON ControllingArea = _CurrentProfitCenter.ControllingArea AND ProfitCenter = _CurrentProfitCenter.ProfitCenter  -- association [0..1]
;