P_Matrix_CP_GroupEmpty_2

DDL: P_MATRIX_CP_GROUPEMPTY_2 SQL: PMCPGRPE2 Type: view COMPOSITE

P_Matrix_CP_GroupEmpty_2 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_CnsldtnGroupJrnlEntryItem) and exposes 121 fields.

Data Sources (1)

SourceAliasJoin Type
P_CnsldtnGroupJrnlEntryItem P_CnsldtnGroupJrnlEntryItem from

Parameters (3)

NameTypeDefault
P_ConsolidationGroup fc_congr
P_FromFiscalYearPeriod fincs_fiscyearper
P_ToFiscalYearPeriod fincs_fiscyearper

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PMCPGRPE2 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
Metadata.ignorePropagatedAnnotations true view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (121)

KeyFieldSource TableSource FieldDescription
rclnt
rldnr ConsolidationLedger Ledger
rdimen ConsolidationDimension Dimension
ryear FiscalYear G/L Fiscal Year
docnr CnsldtnGroupJrnlEntry
docln CnsldtnGroupJrnlEntryItem
rrcty
rvers ConsolidationVersion Version
rtcur TransactionCurrency Transaction Currency
rhcur LocalCurrency Local Currency
rkcur GroupCurrency Ledger curr.
runit BaseUnit Unit of Measure
drcrk
poper FiscalPeriod Tax period
fiscyearper FiscalYearPeriod Period/Year
period_mode
docct DocumentCategory Document Category
rcomp Company Owner
rbunit ConsolidationUnit Consolidation Unit
ritclg ConsolidationChartOfAccounts Cons. COA
ritem FinancialStatementItem FS Item
rbuptr PartnerConsolidationUnit Partner Unit
rcongr ConsolidationGroup Cons. Group
robukrs CompanyCode Receiver Company Code
sityp SubItemCategory Subitem Category
subit SubItem Subitem Number
plevl PostingLevel Posting Level
rpflg ConsolidationApportionment Apportionment
rtflg CurrencyConversionsDiffType CT Indicator
docty ConsolidationDocumentType Document Type
yracq ConsolidationAcquisitionYear Acquis. Year
pracq ConsolidationAcquisitionPeriod Period of Acq.
coicu InvesteeConsolidationUnit Investee Unit
uppcu InvestorConsolidationUnit
tsl AmountInTransactionCurrency Pt Crcy Amt
hsl AmountInLocalCurrency Local Crcy Amt
ksl AmountInGroupCurrency Amnt in GrpCrcy
msl CnsldtnQuantityInBaseUnit
tsl_csign CnsldtnCstmSignAmtInTransCrcy
hsl_csign CnsldtnCstmSignAmtInLoclCrcy
ksl_csign CnsldtnCstmSignAmtInGrpCrcy
msl_csign CnsldtnCstmSignLongQtyInBsUnit
sgtxt DocumentItemText Text
autom ConsolidationPostgItemAutoFlag Auto. ID
activ BusinessTransactionType Bus.transaction
bvorg
budat PostingDate Posting Date for GR
wsdat CurrencyTranslationDate Value Date
refdocnr RefConsolidationDocumentNumber Document Number
refryear ReferenceFiscalYear Original FY
refdocln RefConsolidationPostingItem Item
refdocct RefConsolidationDocumentType Document Categ.
refactiv RefBusinessTransactionType Bus.transaction
timestamp CreationDateTime Timestamp
cpudt CreationDate Time Stamp
cputm CreationTime Time of Change
usnam UserID User Name
rvsdocnr ReverseDocument Reversed With
orndocnr ReversedDocument Reversed doc.
coiac InvestmentActivityType C/I Activity
coinr InvestmentActivity Activity Number
revyear ConsolidationDocReversalYear Year of reversal doc
awtyp ReferenceDocumentType Reference Document Type
aworg ReferenceDocumentContext Reference Document Context
logsys LogicalSystem Logical System
ktopl ChartOfAccounts Node Class
racct GLAccount General Ledger
xblnr
zuonr AssignmentReference Assignment Reference
rcntr CostCenter Cost Center
prctr ProfitCenter Profit Center
rfarea FunctionalArea Sendr Fctl Area
rbusa BusinessArea Business Area
kokrs ControllingArea Controlling Area
segment Segment Segment number
scntr PartnerCostCenter Sender Cost Ctr
pprctr PartnerProfitCenter Profit Center
sfarea PartnerFunctionalArea Rec. Fntcl Area
sbusa PartnerBusinessArea Trdg Part.BA
rassc PartnerCompany Trading Partner
psegment PartnerSegment Partner Segment
aufnr OrderID Order ID
kunnr Customer Sold-to Party
lifnr Supplier Supplier
matnr Material Vehicle Model
matkl_mm MaterialGroup Product Group
werks Plant Valuation Area
rmvct FinancialTransactionType Transact. Type
ps_psp_pnr WBSElementInternalID WBS Internal ID
ps_posid WBSElementExternalID WBS Element External ID
ps_pspid Project WBS Element
fkart BillingDocumentType Billing Type
vkorg SalesOrganization Sales Organization
vtweg DistributionChannel RefDistCh-Cust/Mat.
spart OrganizationDivision Org. Division
matnr_copa SoldMaterial Product Sold
matkl SoldProductGroup Product Sold Group
kdgrp CustomerGroup Customer Group
land1 CustomerSupplierCountry Customer or Supplier Country/Region
brsch CustomerSupplierIndustry Industry
bzirk SalesDistrict Sales District
kunre BillToParty Inv. Recipient
kunwe ShipToParty Ship-To Party (obsolete)
konzs CustomerSupplierCorporateGroup Group
adhocitem CnsldtnAdhocItem
adhocset CnsldtnAdhocSet
adhocsetitem CnsldtnAdhocSetItem
rcode MatchingReasonCode
orig_type OriginType
orig_ref OriginReference
bunnr CnsldtnGroupJrnlEntryBundle Document Bundle No.
branch_id FinancialServicesBranch Branch (FS)
ghgscope GHGScope
ghgcategory GHGCategory
ghgenergymix GHGEnergyMix
fikrs FinancialManagementArea FM Area
rfund Fund Sender Fund
rgrant_nbr GrantID Sender Grant
re_ktopl CnsldtnCashLedgerChartOfAccts
re_account CashLedgerAccount Cash Origin Account
bp_p_geber PartnerFund Receiver Fund

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_Matrix_CP_GroupEmpty_2.
-- 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: PMCPGRPE2
-- Parameters: P_ConsolidationGroup : fc_congr, P_FromFiscalYearPeriod : fincs_fiscyearper, P_ToFiscalYearPeriod : fincs_fiscyearper

CREATE VIEW P_Matrix_CP_GroupEmpty_2 AS
SELECT
  $session.client AS rclnt,
  ConsolidationLedger AS rldnr,
  ConsolidationDimension AS rdimen,
  FiscalYear AS ryear,
  CnsldtnGroupJrnlEntry AS docnr,
  CnsldtnGroupJrnlEntryItem AS docln,
  cast('0' as fc_rrcty) AS rrcty,
  ConsolidationVersion AS rvers,
  TransactionCurrency AS rtcur,
  LocalCurrency AS rhcur,
  GroupCurrency AS rkcur,
  BaseUnit AS runit,
  cast('' as shkzg preserving type) AS drcrk,
  FiscalPeriod AS poper,
  FiscalYearPeriod AS fiscyearper,
  cast('PER' as fincs_period_mode) AS period_mode,
  DocumentCategory AS docct,
  Company AS rcomp,
  ConsolidationUnit AS rbunit,
  ConsolidationChartOfAccounts AS ritclg,
  FinancialStatementItem AS ritem,
  PartnerConsolidationUnit AS rbuptr,
  ConsolidationGroup AS rcongr,
  CompanyCode AS robukrs,
  SubItemCategory AS sityp,
  SubItem AS subit,
  PostingLevel AS plevl,
  ConsolidationApportionment AS rpflg,
  CurrencyConversionsDiffType AS rtflg,
  ConsolidationDocumentType AS docty,
  ConsolidationAcquisitionYear AS yracq,
  ConsolidationAcquisitionPeriod AS pracq,
  InvesteeConsolidationUnit AS coicu,
  InvestorConsolidationUnit AS uppcu,
  AmountInTransactionCurrency AS tsl,
  AmountInLocalCurrency AS hsl,
  AmountInGroupCurrency AS ksl,
  CnsldtnQuantityInBaseUnit AS msl,
  CnsldtnCstmSignAmtInTransCrcy AS tsl_csign,
  CnsldtnCstmSignAmtInLoclCrcy AS hsl_csign,
  CnsldtnCstmSignAmtInGrpCrcy AS ksl_csign,
  CnsldtnCstmSignLongQtyInBsUnit AS msl_csign,
  DocumentItemText AS sgtxt,
  ConsolidationPostgItemAutoFlag AS autom,
  BusinessTransactionType AS activ,
  '' AS bvorg,
  PostingDate AS budat,
  CurrencyTranslationDate AS wsdat,
  RefConsolidationDocumentNumber AS refdocnr,
  ReferenceFiscalYear AS refryear,
  RefConsolidationPostingItem AS refdocln,
  RefConsolidationDocumentType AS refdocct,
  RefBusinessTransactionType AS refactiv,
  CreationDateTime AS timestamp,
  CreationDate AS cpudt,
  CreationTime AS cputm,
  UserID AS usnam,
  ReverseDocument AS rvsdocnr,
  ReversedDocument AS orndocnr,
  InvestmentActivityType AS coiac,
  InvestmentActivity AS coinr,
  ConsolidationDocReversalYear AS revyear,
  ReferenceDocumentType AS awtyp,
  ReferenceDocumentContext AS aworg,
  LogicalSystem AS logsys,
  ChartOfAccounts AS ktopl,
  GLAccount AS racct,
  '' AS xblnr,
  AssignmentReference AS zuonr,
  CostCenter AS rcntr,
  ProfitCenter AS prctr,
  FunctionalArea AS rfarea,
  BusinessArea AS rbusa,
  ControllingArea AS kokrs,
  segment,
  PartnerCostCenter AS scntr,
  PartnerProfitCenter AS pprctr,
  PartnerFunctionalArea AS sfarea,
  PartnerBusinessArea AS sbusa,
  PartnerCompany AS rassc,
  PartnerSegment AS psegment,
  OrderID AS aufnr,
  Customer AS kunnr,
  Supplier AS lifnr,
  Material AS matnr,
  MaterialGroup AS matkl_mm,
  Plant AS werks,
  FinancialTransactionType AS rmvct,
  WBSElementInternalID AS ps_psp_pnr,
  WBSElementExternalID AS ps_posid,
  Project AS ps_pspid,
  BillingDocumentType AS fkart,
  SalesOrganization AS vkorg,
  DistributionChannel AS vtweg,
  OrganizationDivision AS spart,
  SoldMaterial AS matnr_copa,
  SoldProductGroup AS matkl,
  CustomerGroup AS kdgrp,
  CustomerSupplierCountry AS land1,
  CustomerSupplierIndustry AS brsch,
  SalesDistrict AS bzirk,
  BillToParty AS kunre,
  ShipToParty AS kunwe,
  CustomerSupplierCorporateGroup AS konzs,
  CnsldtnAdhocItem AS adhocitem,
  CnsldtnAdhocSet AS adhocset,
  CnsldtnAdhocSetItem AS adhocsetitem,
  MatchingReasonCode AS rcode,
  OriginType AS orig_type,
  OriginReference AS orig_ref,
  CnsldtnGroupJrnlEntryBundle AS bunnr,
  FinancialServicesBranch AS branch_id,
  ghgscope,
  ghgcategory,
  ghgenergymix,
  FinancialManagementArea AS fikrs,
  Fund AS rfund,
  GrantID AS rgrant_nbr,
  CnsldtnCashLedgerChartOfAccts AS re_ktopl,
  CashLedgerAccount AS re_account,
  PartnerFund AS bp_p_geber
FROM P_CnsldtnGroupJrnlEntryItem
;