I_GLIncgOrdPrdtvAnalysis
Pred. Analysis based on Inc. Orders
I_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 (I_GLAccountLineItemSemTag) and exposes 161 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 4 associations to related views. Part of development package ODATA_INCOMINGORDERS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItemSemTag | _GL | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_FiscalCalendarDate | _DocumentFiscalCalendarDate | $projection.DocumentDate = _DocumentFiscalCalendarDate.CalendarDate and $projection.FiscalYearVariant = _DocumentFiscalCalendarDate.FiscalYearVariant |
| [0..1] | I_SalesDocumentBasic | _SalesDocumentBasic | $projection.SourceReferenceDocument = _SalesDocumentBasic.SalesDocument |
| [0..1] | I_Product | _SoldMaterial | $projection.SoldMaterial = _SoldMaterial.Product |
| [0..1] | I_Order | _Order | $projection.OrderID = _Order.OrderID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFGLIOPRANLS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Pred. Analysis based on Inc. Orders | 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 (161)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | |||
| SalesDeductionAmountInGlobCrcy | SalesDeductionAmountInGlobCrcy | |||
| SalesDeductionAmtInCoCodeCrcy | SalesDeductionAmtInCoCodeCrcy | |||
| MaterialGroup | Product Sold 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 | SoldProduct | Product Sold | ||
| Division | _SalesDocumentBasic | OrganizationDivision | Org. Division | |
| OrderType | _SalesDocumentBasic | SalesDocumentType | Sales Doc. Type | |
| BusinessTransactionType | BusinessTransactionType | Bus.transaction | ||
| BusinessArea | BusinessArea | Business Area | ||
| CostCenter | CostCenter | Cost Center | ||
| CustomerSupplierCountry | CustomerSupplierCountry | Customer or Supplier Country/Region | ||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| 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 | ||
| 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 | _DocumentFiscalCalendarDate | FiscalPeriodStartDate | ||
| JrnlEntrDerivedFiscalYear | ||||
| JrnlEntrDerivedFiscalQuarter | ||||
| JrnlEntrDerivedFiscalPeriod | ||||
| JrnlEntryItemObsoleteReason | ||||
| FreeDefinedCurrency1 | FreeDefinedCurrency1 | Freely Defined Currency 1 | ||
| FreeDefinedCurrency2 | FreeDefinedCurrency2 | Freely Defined Currency 2 | ||
| FreeDefinedCurrency3 | FreeDefinedCurrency3 | Freely Defined Currency 3 | ||
| FreeDefinedCurrency4 | FreeDefinedCurrency4 | Freely Defined Currency 4 | ||
| FreeDefinedCurrency5 | FreeDefinedCurrency5 | Freely Defined Currency 5 | ||
| FreeDefinedCurrency6 | FreeDefinedCurrency6 | Freely Defined Currency 6 | ||
| FreeDefinedCurrency7 | FreeDefinedCurrency7 | Freely Defined Currency 7 | ||
| FreeDefinedCurrency8 | FreeDefinedCurrency8 | Freely Defined Currency 8 | ||
| 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 | |||
| _LedgerFiscalYear | _LedgerFiscalYear | |||
| _LedgerFiscalYearForVariant | _LedgerFiscalYearForVariant | |||
| _FiscalPeriod | _FiscalPeriod | |||
| _FiscalPeriodForVariant | _FiscalPeriodForVariant | |||
| _FiscalYearPeriod | _FiscalYearPeriod | |||
| _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 | |||
| _SourceLedger | _SourceLedger | |||
| _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 I_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: IFGLIOPRANLS
CREATE VIEW I_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,
SalesDeductionAmountInGlobCrcy,
SalesDeductionAmtInCoCodeCrcy,
cast(SoldProductGroup as fins_matkl_pa) AS MaterialGroup,
ProfitCenter,
ControllingArea,
SalesDistrict,
Segment,
cast(SourceReferenceDocument as vdm_sales_order) AS SalesOrder,
cast(SourceReferenceDocumentItem as fac_kdpos) AS SalesOrderItem,
DistributionChannel,
SoldProduct AS SoldMaterial,
_SalesDocumentBasic.OrganizationDivision AS Division,
_SalesDocumentBasic.SalesDocumentType AS OrderType,
BusinessTransactionType,
BusinessArea,
CostCenter,
CustomerSupplierCountry,
FiscalYearPeriod,
AccountingDocumentCategory,
GLAccount,
PostingDate,
CreationDate,
ChartOfAccounts,
LedgerFiscalYear,
FinancialTransactionType,
TransactionCurrency,
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,
_DocumentFiscalCalendarDate.FiscalPeriodStartDate AS FiscalPeriodStartDate,
cast(_DocumentFiscalCalendarDate.FiscalYear as fins_gjahr_je) AS JrnlEntrDerivedFiscalYear,
cast(_DocumentFiscalCalendarDate.FiscalQuarter as fins_fscalquarter_je) AS JrnlEntrDerivedFiscalQuarter,
cast(_DocumentFiscalCalendarDate.FiscalPeriod as fins_fiscalperiod_je) AS JrnlEntrDerivedFiscalPeriod,
cast(JrnlEntryItemObsoleteReason as fins_obs_reason) AS JrnlEntryItemObsoleteReason,
FreeDefinedCurrency1,
FreeDefinedCurrency2,
FreeDefinedCurrency3,
FreeDefinedCurrency4,
FreeDefinedCurrency5,
FreeDefinedCurrency6,
FreeDefinedCurrency7,
FreeDefinedCurrency8,
cast( 1 as abap.int4 ) AS NumberOfSalesOrders,
ServiceDocument,
ServiceDocumentItem,
ServiceDocumentType,
ValuationArea,
Supplier,
SalesDocument,
FixedAsset,
MasterFixedAsset,
OrderID,
AssetClass,
FunctionalArea
FROM I_GLAccountLineItemSemTag AS _GL
LEFT OUTER JOIN I_FiscalCalendarDate AS _DocumentFiscalCalendarDate ON DocumentDate = _DocumentFiscalCalendarDate.CalendarDate AND FiscalYearVariant = _DocumentFiscalCalendarDate.FiscalYearVariant -- association [1..1]
LEFT OUTER JOIN I_SalesDocumentBasic AS _SalesDocumentBasic ON SourceReferenceDocument = _SalesDocumentBasic.SalesDocument -- association [0..1]
LEFT OUTER JOIN I_Product AS _SoldMaterial ON SoldMaterial = _SoldMaterial.Product -- association [0..1]
LEFT OUTER JOIN I_Order AS _Order ON OrderID = _Order.OrderID -- association [0..1]
;
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