P_GLIncgOrdPrdtvAnalysisUnion
P_GLIncgOrdPrdtvAnalysisUnion is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_GLAccountLineItemRawData, I_GLAccountLineItemRawData, I_SemTagFuncArea, I_SemTagGLAccount) and exposes 291 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 3 associations to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItemRawData | _GL | from |
| I_GLAccountLineItemRawData | _GL | union_all |
| I_SemTagFuncArea | I_SemTagFuncArea | inner |
| I_SemTagGLAccount | I_SemTagGLAccount | inner |
Associations (3)
| 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 |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFGLIOPRANLS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (291)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | SourceLedger | Source 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 | _FiscalCalendarDate | FiscalQuarter | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| FunctionalCurrency | FunctionalCurrency | Functional Currency | ||
| 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 | I_GLAccountLineItemRawData | GLAccount | General Ledger | |
| PostingDate | PostingDate | Posting Date for GR | ||
| CreationDate | CreationDate | Time Stamp | ||
| ChartOfAccounts | I_GLAccountLineItemRawData | ChartOfAccounts | Node Class | |
| LedgerFiscalYear | LedgerFiscalYear | Ref. Year1 | ||
| 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 | Obsolete Reason | |||
| 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 | ||
| IsCommitment | IsCommitment | |||
| 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 | I_GLAccountLineItemRawData | FunctionalArea | Sendr Fctl Area | |
| _ServiceDocument | _ServiceDocument | |||
| _Supplier | _Supplier | |||
| _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 | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| ProductkeySourceLedgerasLedger | ||||
| 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 | _FiscalCalendarDate | FiscalQuarter | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| FunctionalCurrency | FunctionalCurrency | Functional Currency | ||
| 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 | I_GLAccountLineItemRawData | GLAccount | General Ledger | |
| PostingDate | PostingDate | Posting Date for GR | ||
| CreationDate | CreationDate | Time Stamp | ||
| ChartOfAccounts | I_GLAccountLineItemRawData | ChartOfAccounts | Node Class | |
| LedgerFiscalYear | LedgerFiscalYear | Ref. Year1 | ||
| 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 | Obsolete Reason | |||
| 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 | ||
| IsCommitment | IsCommitment | |||
| 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 | I_GLAccountLineItemRawData | FunctionalArea | Sendr Fctl Area | |
| _ServiceDocument | _ServiceDocument | |||
| _Supplier | _Supplier | |||
| _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 | |||
| _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 P_GLIncgOrdPrdtvAnalysisUnion.
-- 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: PFGLIOPRANLS
CREATE VIEW P_GLIncgOrdPrdtvAnalysisUnion AS
SELECT
SourceLedger AS Ledger,
SourceLedger,
CompanyCode,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
GLAccountHierarchy,
SemanticTag,
ValidityStartDate,
ValidityEndDate,
DocumentDate,
SalesOrganization,
CustomerGroup,
Customer,
_FiscalCalendarDate.FiscalQuarter AS FiscalQuarter,
FiscalPeriod,
CompanyCodeCurrency,
GlobalCurrency,
FunctionalCurrency,
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,
_GL.GLAccount AS GLAccount,
PostingDate,
CreationDate,
_GL.ChartOfAccounts AS 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,
IsCommitment,
ServiceDocument,
ServiceDocumentItem,
ServiceDocumentType,
ValuationArea,
Supplier,
SalesDocument,
FixedAsset,
MasterFixedAsset,
OrderID,
AssetClass,
_GL.FunctionalArea AS FunctionalArea
FROM I_GLAccountLineItemRawData AS _GL
INNER JOIN I_SemTagGLAccount ON /* join condition not captured in parsed metadata */
INNER JOIN I_SemTagFuncArea ON /* join condition not captured in parsed metadata */
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]
-- UNION ALL with additional select branch(es): I_GLAccountLineItemRawData
;
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