P_CnsldtnLogicBasedGrpJEItmPer
P_CnsldtnLogicBasedGrpJEItmPer is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_MJEL_CnsldtnPeriodic) and exposes 97 fields with key fields FiscalYear, ConsolidationDocumentNumber, ConsolidationPostingItem, FiscalPeriod, PeriodMode.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_MJEL_CnsldtnPeriodic | CnsldtnLogicBasedGrpJEItmPer | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (97)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FiscalYear | ryear | Ref. Year1 | |
| KEY | ConsolidationDocumentNumber | docnr | Well doc.no. | |
| KEY | ConsolidationPostingItem | docln | Matching Document Line Item | |
| KEY | FiscalPeriod | poper | Posting periods | |
| KEY | PeriodMode | period_mode | ||
| KEY | ConsolidationGroup | rcongr | Consolidation Group | |
| GLRecordType | rrcty | Record Type | ||
| ConsolidationVersion | ConsolidationVersion | Version | ||
| ConsolidationVersionElement | rvers | Version: Tax rt | ||
| TransactionCurrency | rtcur | Currency | ||
| LocalCurrency | rhcur | Local Currency | ||
| GroupCurrency | rkcur | Ledger curr. | ||
| BaseUnit | runit | Unit/Area | ||
| FiscalYearPeriod | fiscyearper | Period/Year | ||
| FiscalYearVariant | ||||
| ConsolidationDocumentType | docty | Document Type | ||
| DebitCreditCode | drcrk | Debit/Credit | ||
| Company | rcomp | Trading Partner | ||
| ConsolidationUnit | rbunit | Consolidation Unit | ||
| ConsolidationChartOfAccounts | ritclg | Consolidation COA | ||
| FinancialStatementItem | ritem | Reporting Item | ||
| PartnerConsolidationUnit | rbuptr | Partner Unit | ||
| CompanyCode | robukrs | Orig. CC | ||
| SubItemCategory | sityp | Trip Schedule Type | ||
| SubItem | subit | Subitem | ||
| PostingLevel | plevl | Posting Level | ||
| ConsolidationApportionment | rpflg | Apportionment | ||
| CurrencyConversionsDiffType | rtflg | Currency Translation Indicator | ||
| ConsolidationAcquisitionYear | yracq | Year of Acquisition | ||
| ConsolidationAcquisitionPeriod | pracq | Period of Acquisition | ||
| InvesteeConsolidationUnit | coicu | Investee Unit | ||
| AmountInTransactionCurrency | tsl | Trans. Currency | ||
| AmountInLocalCurrency | hsl | Local Crcy Amt | ||
| AmountInGroupCurrency | ksl | GrpCurr | ||
| CnsldtnQuantityInBaseUnit | msl | Stat. KeyFig. Qty | ||
| DocumentItemText | sgtxt | Text | ||
| ConsolidationPostgItemAutoFlag | autom | Automatic Call | ||
| BusinessTransactionType | activ | Transaction | ||
| PostingDate | budat | Posting Date | ||
| CurrencyTranslationDate | wsdat | Value Date | ||
| RefConsolidationDocumentNumber | refdocnr | Reference | ||
| ReferenceFiscalYear | refryear | Reference year | ||
| RefConsolidationPostingItem | refdocln | Reference Item | ||
| RefConsolidationDocumentType | refdocct | Ref. Doc. Cat. | ||
| RefBusinessTransactionType | refactiv | Ref. Transactn | ||
| CreationDateTime | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| CreationDate | cpudt | Imported On | ||
| CreationTime | cputm | Time | ||
| UserID | usnam | User Name | ||
| ReverseDocument | rvsdocnr | Reversed With | ||
| ReversedDocument | orndocnr | Reversed doc. | ||
| InvestmentActivityType | coiac | Investment Activity | ||
| InvestmentActivity | coinr | Investment Activity Number | ||
| ConsolidationDocReversalYear | revyear | Year of reversal doc | ||
| ReferenceDocumentType | awtyp | Reference Document Type | ||
| ReferenceDocumentContext | aworg | Refer. Org.Unit | ||
| LogicalSystem | logsys | Source system | ||
| ChartOfAccounts | ktopl | G/L Chart of Accounts | ||
| GLAccount | racct | GL Account From | ||
| AssignmentReference | zuonr | Finance Project | ||
| CostCenter | rcntr | Cost Center | ||
| ProfitCenter | prctr | Profit Centers | ||
| FunctionalArea | rfarea | R FuncArea | ||
| BusinessArea | rbusa | Business Area | ||
| ControllingArea | kokrs | Org. Value | ||
| Segment | segment | Segment number | ||
| PartnerCostCenter | scntr | Sender Cost Ctr | ||
| PartnerProfitCenter | pprctr | Partner PC | ||
| PartnerFunctionalArea | sfarea | Sender FnArea | ||
| PartnerBusinessArea | sbusa | Trdg Part.BA | ||
| PartnerCompany | rassc | Trading Partner | ||
| PartnerSegment | psegment | Partner Segment | ||
| OrderID | aufnr | SettlementOrder | ||
| Customer | kunnr | Stock customer | ||
| Supplier | lifnr | Vendor no. | ||
| Plant | werks | Receiving Plant | ||
| FinancialTransactionType | rmvct | Transact. Type | ||
| BillingDocumentType | fkart | Ship. cost type | ||
| SalesOrganization | vkorg | SD Sales Org. | ||
| DistributionChannel | vtweg | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | spart | Source supplier | ||
| MaterialGroup | matkl_mm | Material Group | ||
| SoldProduct | matnr_copa | Product Sold | ||
| SoldProductGroup | matkl | Product Sold Group | ||
| CustomerGroup | kdgrp | Customer group | ||
| CustomerSupplierCountry | land1 | Trip Ctry/Reg | ||
| CustomerSupplierIndustry | brsch | Industry | ||
| SalesDistrict | bzirk | Sales District | ||
| BillToParty | kunre | Bill-to Party | ||
| ShipToParty | kunwe | Ship-to Party | ||
| CustomerSupplierCorporateGroup | konzs | Group | ||
| CnsldtnAdhocItem | adhocitem | Ad Hoc Item | ||
| CnsldtnAdhocSet | adhocset | Ad Hoc Set | ||
| CnsldtnAdhocSetItem | adhocsetitem | Ad Hoc Set Item | ||
| MatchingReasonCode | rcode | Result | ||
| OriginType | orig_type | Origin Type | ||
| OriginReference | orig_ref | Origin Ref. |
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_CnsldtnLogicBasedGrpJEItmPer.
-- 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.
CREATE VIEW P_CnsldtnLogicBasedGrpJEItmPer AS
SELECT
ryear AS FiscalYear,
docnr AS ConsolidationDocumentNumber,
docln AS ConsolidationPostingItem,
poper AS FiscalPeriod,
period_mode AS PeriodMode,
rcongr AS ConsolidationGroup,
rrcty AS GLRecordType,
ConsolidationVersion,
rvers AS ConsolidationVersionElement,
rtcur AS TransactionCurrency,
rhcur AS LocalCurrency,
rkcur AS GroupCurrency,
runit AS BaseUnit,
fiscyearper AS FiscalYearPeriod,
cast ('K4' as fis_periv preserving type ) AS FiscalYearVariant,
docty AS ConsolidationDocumentType,
drcrk AS DebitCreditCode,
rcomp AS Company,
rbunit AS ConsolidationUnit,
ritclg AS ConsolidationChartOfAccounts,
ritem AS FinancialStatementItem,
rbuptr AS PartnerConsolidationUnit,
robukrs AS CompanyCode,
sityp AS SubItemCategory,
subit AS SubItem,
plevl AS PostingLevel,
rpflg AS ConsolidationApportionment,
rtflg AS CurrencyConversionsDiffType,
yracq AS ConsolidationAcquisitionYear,
pracq AS ConsolidationAcquisitionPeriod,
coicu AS InvesteeConsolidationUnit,
tsl AS AmountInTransactionCurrency,
hsl AS AmountInLocalCurrency,
ksl AS AmountInGroupCurrency,
msl AS CnsldtnQuantityInBaseUnit,
sgtxt AS DocumentItemText,
autom AS ConsolidationPostgItemAutoFlag,
activ AS BusinessTransactionType,
budat AS PostingDate,
wsdat AS CurrencyTranslationDate,
refdocnr AS RefConsolidationDocumentNumber,
refryear AS ReferenceFiscalYear,
refdocln AS RefConsolidationPostingItem,
refdocct AS RefConsolidationDocumentType,
refactiv AS RefBusinessTransactionType,
timestamp AS CreationDateTime,
cpudt AS CreationDate,
cputm AS CreationTime,
usnam AS UserID,
rvsdocnr AS ReverseDocument,
orndocnr AS ReversedDocument,
coiac AS InvestmentActivityType,
coinr AS InvestmentActivity,
revyear AS ConsolidationDocReversalYear,
awtyp AS ReferenceDocumentType,
aworg AS ReferenceDocumentContext,
logsys AS LogicalSystem,
ktopl AS ChartOfAccounts,
racct AS GLAccount,
zuonr AS AssignmentReference,
rcntr AS CostCenter,
prctr AS ProfitCenter,
rfarea AS FunctionalArea,
rbusa AS BusinessArea,
kokrs AS ControllingArea,
Segment,
scntr AS PartnerCostCenter,
pprctr AS PartnerProfitCenter,
sfarea AS PartnerFunctionalArea,
sbusa AS PartnerBusinessArea,
rassc AS PartnerCompany,
psegment AS PartnerSegment,
aufnr AS OrderID,
kunnr AS Customer,
lifnr AS Supplier,
werks AS Plant,
rmvct AS FinancialTransactionType,
fkart AS BillingDocumentType,
vkorg AS SalesOrganization,
vtweg AS DistributionChannel,
spart AS OrganizationDivision,
matkl_mm AS MaterialGroup,
matnr_copa AS SoldProduct,
matkl AS SoldProductGroup,
kdgrp AS CustomerGroup,
land1 AS CustomerSupplierCountry,
brsch AS CustomerSupplierIndustry,
bzirk AS SalesDistrict,
kunre AS BillToParty,
kunwe AS ShipToParty,
konzs AS CustomerSupplierCorporateGroup,
adhocitem AS CnsldtnAdhocItem,
adhocset AS CnsldtnAdhocSet,
adhocsetitem AS CnsldtnAdhocSetItem,
rcode AS MatchingReasonCode,
orig_type AS OriginType,
orig_ref AS OriginReference
FROM P_MJEL_CnsldtnPeriodic AS CnsldtnLogicBasedGrpJEItmPer
;
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