C_GLIncgOrdOrdEntrVislFltr
Visual Filters for Order Entry
C_GLIncgOrdOrdEntrVislFltr is a Consumption CDS View that provides data about "Visual Filters for Order Entry" in SAP S/4HANA. It reads from 1 data source (R_GLIncgOrdPrdtvAnalysis) and exposes 109 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 3 associations to related views. Part of development package ODATA_INCOMINGORDERS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_GLIncgOrdPrdtvAnalysis | _GLI | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_GLAccountText | _GLAccountText | $projection.ChartOfAccounts = _GLAccountText.ChartOfAccounts and $projection.GLAccount = _GLAccountText.GLAccount |
| [0..*] | I_ProductGroupText | _ProductGroupText | $projection.ProductGroup = _ProductGroupText.MaterialGroup |
| [0..*] | I_CustomerGroupText | _CustomerGroupText | $projection.CustomerGroup = _CustomerGroupText.CustomerGroup |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CGLIOORDRENTRVF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Visual Filters for Order Entry | view | |
| VDM.viewType | #CONSUMPTION | 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 | |
| ObjectModel.query.implementedBy | ABAP:CL_INCOMINGORDERS_QUERY | view |
Fields (109)
| 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 | |
| PredictionLedger | Ledger | Ledger | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| CustomerGroupName | ||||
| Customer | Customer | Sold-to Party | ||
| FiscalQuarter | FiscalQuarter | |||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| FiscalYearPeriod | Period/Year | |||
| JrnlEntrDerivedFiscalYear | JrnlEntrDerivedFiscalYear | |||
| JrnlEntrDerivedFiscalQuarter | JrnlEntrDerivedFiscalQuarter | |||
| JrnlEntrDerivedFiscalPeriod | JrnlEntrDerivedFiscalPeriod | |||
| JrnlEntrDerivdFiscalYearPeriod | JrnlEntrDerivdFiscalYearPeriod | |||
| FiscalPeriodStartDate | FiscalPeriodStartDate | |||
| ProductGroup | Product Group | |||
| ProductGroupName | ||||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ProfitCenterName | ||||
| ControllingArea | ControllingArea | Controlling Area | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| Segment | Segment | Segment number | ||
| SalesOrderItem | Ref. Doc. Item | |||
| OrderType | OrderType | Order Type | ||
| SoldProduct | Product Sold | |||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| BusinessTransactionType | BusinessTransactionType | Bus.transaction | ||
| BusinessArea | BusinessArea | Business Area | ||
| CostCenter | CostCenter | Cost Center | ||
| CustomerSupplierCountry | CustomerSupplierCountry | Customer or Supplier Country/Region | ||
| RevenueAmountInCompanyCodeCrcy | RecognizedRevnAmtInCCCrcy | Revenues in CoCode Currency | ||
| RevenueInGlobalCurrency | RecognizedRevnAmtInGlobCrcy | Revenues | ||
| COGSAmountInCoCodeCrcy | Cost of Sales in CoCode Currency | |||
| COGSAmountInGlobCrcy | Cost of Sales | |||
| RecognizedMarginAmtInCCCrcy | RecognizedMarginAmtInCCCrcy | Margin in CoCode Currency | ||
| RecognizedMarginAmount | RecognizedMarginAmount | Margin | ||
| SalesDeductionAmtInCoCodeCrcy | Sales Deductions in CoCode Currency | |||
| SalesDeductionAmountInGlobCrcy | Sales Deductions | |||
| GLAccount | GLAccount | Type | ||
| GLAccountName | ||||
| PostingDate | PostingDate | Posting Date for GR | ||
| CreationDate | CreationDate | Time Stamp | ||
| ChartOfAccounts | R_GLIncgOrdPrdtvAnalysis | ChartOfAccounts | Node Class | |
| LedgerFiscalYear | LedgerFiscalYear | |||
| FinancialTransactionType | FinancialTransactionType | Transact. Type | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| 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 | ||
| CustomerSupplierIndustry | CustomerSupplierIndustry | Industry | ||
| BillToParty | BillToParty | Inv. Recipient | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| SourceReferenceDocumentType | SourceReferenceDocumentType | Ref. procedure | ||
| SourceReferenceDocument | SourceReferenceDocument | Reference Doc. | ||
| SourceReferenceDocumentItem | SourceReferenceDocumentItem | Ref. Doc. Item | ||
| OperatingConcern | OperatingConcern | Operating concern | ||
| AccountingDocumentItem | AccountingDocumentItem | Posting View Item | ||
| TransactionTypeDetermination | TransactionTypeDetermination | Transaction Key | ||
| ControllingDebitCreditCode | ControllingDebitCreditCode | Dr/Cr ind. CO | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| JrnlEntryItemObsoleteReason | JrnlEntryItemObsoleteReason | |||
| 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 | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| AssetClass | AssetClass | Asset Class | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| _ServiceDocument | _ServiceDocument | |||
| _Supplier | _Supplier | |||
| _CurrentCostCenter | _CurrentCostCenter | |||
| _SalesDocument | _SalesDocument | |||
| _FixedAsset | _FixedAsset | |||
| _Order | _Order | |||
| _Customer | _Customer | |||
| _ProfitCenterText | _ProfitCenterText | |||
| _ProductGroupText | _ProductGroupText | |||
| _CustomerGroupText | _CustomerGroupText | |||
| _GLAccountText | _GLAccountText | |||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode |
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_GLIncgOrdOrdEntrVislFltr.
-- 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: CGLIOORDRENTRVF
CREATE VIEW C_GLIncgOrdOrdEntrVislFltr AS
SELECT
Ledger,
SourceLedger,
CompanyCode,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
GLAccountHierarchy,
SemanticTag,
ValidityStartDate,
ValidityEndDate,
Ledger AS PredictionLedger,
DocumentDate,
SalesOrganization,
CustomerGroup,
_CustomerGroupText[1:Language = $session.system_language].CustomerGroupName AS CustomerGroupName,
Customer,
FiscalQuarter,
FiscalPeriod,
cast(FiscalYearPeriod as abap.numc( 7 )) AS FiscalYearPeriod,
JrnlEntrDerivedFiscalYear,
JrnlEntrDerivedFiscalQuarter,
JrnlEntrDerivedFiscalPeriod,
JrnlEntrDerivdFiscalYearPeriod,
FiscalPeriodStartDate,
cast (MaterialGroup as productgroup preserving type) AS ProductGroup,
_ProductGroupText[1:Language = $session.system_language].MaterialGroupName AS ProductGroupName,
ProfitCenter,
_ProfitCenterText[1:Language = $session.system_language].ProfitCenterName AS ProfitCenterName,
ControllingArea,
CompanyCodeCurrency,
GlobalCurrency,
SalesDistrict,
Segment,
cast(SourceReferenceDocumentItem as fac_kdpos) AS SalesOrderItem,
OrderType,
cast (SoldMaterial as fins_matnr_pa preserving type) AS SoldProduct,
DistributionChannel,
Division,
BusinessTransactionType,
BusinessArea,
CostCenter,
CustomerSupplierCountry,
RecognizedRevnAmtInCCCrcy AS RevenueAmountInCompanyCodeCrcy,
RecognizedRevnAmtInGlobCrcy AS RevenueInGlobalCurrency,
-RecognizedCOGSAmtInCCCrcy AS COGSAmountInCoCodeCrcy,
-CostOfGoodsSoldAmtInGlobCrcy AS COGSAmountInGlobCrcy,
RecognizedMarginAmtInCCCrcy,
RecognizedMarginAmount,
-SalesDeductionAmtInCoCodeCrcy AS SalesDeductionAmtInCoCodeCrcy,
-SalesDeductionAmountInGlobCrcy AS SalesDeductionAmountInGlobCrcy,
GLAccount,
cast(_GLAccountText[1:Language = $session.system_language].GLAccountName as fin_glaccount_name) AS GLAccountName,
PostingDate,
CreationDate,
_GLI.ChartOfAccounts AS ChartOfAccounts,
LedgerFiscalYear,
FinancialTransactionType,
TransactionCurrency,
BaseUnit,
DebitCreditCode,
AssignmentReference,
PostingKey,
AccountingDocCreatedByUser,
GLAccountType,
Plant,
FinancialAccountType,
SpecialGLCode,
ClearingDate,
ClearingAccountingDocument,
BillingDocumentType,
CustomerSupplierIndustry,
BillToParty,
ShipToParty,
SourceReferenceDocumentType,
SourceReferenceDocument,
SourceReferenceDocumentItem,
OperatingConcern,
AccountingDocumentItem,
TransactionTypeDetermination,
ControllingDebitCreditCode,
AccountingDocumentType,
ReferenceDocumentType,
JrnlEntryItemObsoleteReason,
ServiceDocument,
ServiceDocumentItem,
ServiceDocumentType,
ValuationArea,
Supplier,
SalesDocument,
FixedAsset,
MasterFixedAsset,
OrderID,
OrganizationDivision,
AssetClass,
FunctionalArea
FROM R_GLIncgOrdPrdtvAnalysis AS _GLI
LEFT OUTER JOIN I_GLAccountText AS _GLAccountText ON ChartOfAccounts = _GLAccountText.ChartOfAccounts AND GLAccount = _GLAccountText.GLAccount -- association [0..*]
LEFT OUTER JOIN I_ProductGroupText AS _ProductGroupText ON ProductGroup = _ProductGroupText.MaterialGroup -- association [0..*]
LEFT OUTER JOIN I_CustomerGroupText AS _CustomerGroupText ON CustomerGroup = _CustomerGroupText.CustomerGroup -- association [0..*]
;
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