P_GroupReportingLineItem

DDL: P_GROUPREPORTINGLINEITEM SQL: PGRLINEITEM Type: view COMPOSITE

P_GroupReportingLineItem is a Composite CDS View in SAP S/4HANA. It reads from 4 data sources (I_CnsldtnGroupJrnlEntryItem, P_CnsldtnDataWCnsldtnLogicYTD, P_PlanData_RL, P_ReportedFinancialData_RL) and exposes 473 fields.

Data Sources (4)

SourceAliasJoin Type
I_CnsldtnGroupJrnlEntryItem I_CnsldtnGroupJrnlEntryItem union_all
P_CnsldtnDataWCnsldtnLogicYTD P_CnsldtnDataWCnsldtnLogicYTD union_all
P_PlanData_RL P_PlanData_RL union_all
P_ReportedFinancialData_RL P_ReportedFinancialData_RL from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PGRLINEITEM view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (473)

KeyFieldSource TableSource FieldDescription
gl_sirid
rldnr rldnr Ledger (Compat.)
rrcty Record Type
rvers rvers Version: Tax rt
ryear ryear Ref. Year1
rtcur rtcur Currency
rhcur rhcur Local Currency
rkcur rkcur Ledger curr.
runit runit Unit/Area
drcrk
poper poper Posting periods
docct docct Document Categ.
docnr docnr Well doc.no.
docln docln Matching Document Line Item
rcomp rcomp Trading Partner
rdimen rdimen Dimension
rbunit rbunit Consolidation Unit
ritclg ritclg Consolidation COA
ritem ritem Reporting Item
rbuptr rbuptr Partner Unit
rcongr rcongr Consolidation Group
robukrs robukrs Orig. CC
sityp sityp Trip Schedule Type
subit subit Subitem
plevl plevl Posting Level
rpflg rpflg Apportionment
rtflg rtflg Currency Translation Indicator
docty docty Document Type
yracq yracq Year of Acquisition
pracq pracq Period of Acquisition
coicu coicu Investee Unit
tsl tsl Trans. Currency
hsl hsl Local Crcy Amt
ksl ksl GrpCurr
msl Stat. KeyFig. Qty
sgtxt sgtxt Text
autom autom Automatic Call
activ activ Transaction
bvorg bvorg Intercompany Transac
budat budat Posting Date
wsdat wsdat Value Date
refdocnr refdocnr Reference
refryear refryear Reference year
refdocln refdocln Reference Item
refdocct refdocct Ref. Doc. Cat.
refactiv refactiv Ref. Transactn
cpudt cpudt Imported On
cputm cputm Time
usnam usnam User Name
rvsdocnr rvsdocnr Reversed With
orndocnr orndocnr Reversed doc.
coiac coiac Investment Activity
coinr coinr Investment Activity Number
revyear revyear Year of reversal doc
awtyp awtyp Reference Document Type
aworg aworg Refer. Org.Unit
logsys logsys Source system
timestamp timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
racct racct GL Account From
rcntr rcntr Cost Center
prctr prctr Profit Centers
rfarea rfarea R FuncArea
rbusa rbusa Business Area
kokrs kokrs Org. Value
segment segment Segment number
scntr scntr Sender Cost Ctr
pprctr pprctr Partner PC
sfarea sfarea Sender FnArea
sbusa sbusa Trdg Part.BA
rassc rassc Trading Partner
psegment psegment Partner Segment
rmvct rmvct Transact. Type
matnr matnr Vehicle Model
werks werks Receiving Plant
kunnr kunnr Stock customer
lifnr lifnr Vendor no.
ps_posid ps_posid WBS Element
ps_pspid ps_pspid Project def.
fkart fkart Ship. cost type
vkorg vkorg SD Sales Org.
vtweg vtweg RefDistCh-Cust/Mat.
spart spart Source supplier
matnr_copa matnr_copa Product Sold
matkl matkl Product Sold Group
kdgrp kdgrp Customer group
land1 land1 Trip Ctry/Reg
brsch brsch Industry
bzirk bzirk Sales District
kunre kunre Bill-to Party
kunwe kunwe Ship-to Party
konzs konzs Group
zuonr zuonr Finance Project
aufnr aufnr SettlementOrder
xblnr xblnr Reference
matkl_mm matkl_mm Material Group
ps_psp_pnr ps_psp_pnr WBS Element
ktopl ktopl G/L Chart of Accounts
CnsldtnJrnlEntryItemOrigin
FinancialPlanningReqTransSqnc Request TSN
FinancialPlanningDataPacket Data packet number
FinancialPlanningEntryItem Object GUID
rldnr_fin
adhocitem Ad Hoc Item
adhocset Ad Hoc Set
adhocsetitem Ad Hoc Set Item
rcode Result
orig_ref Origin Ref.
orig_type Origin Type
bunnr Document Bundle No.
branch_id Branch (FS)
fikrs FM Area
rfund Sender Fund
rgrant_nbr Sender Grant
re_ktopl
re_account Cash Origin Account
sfund Receiver Fund
ghgscope
ghgcategory
ghgenergymix
rldnr rldnr Ledger (Compat.)
rrcty Record Type
rvers rvers Version: Tax rt
ryear ryear Ref. Year1
rtcur rtcur Currency
rhcur rhcur Local Currency
rkcur rkcur Ledger curr.
runit runit Unit/Area
drcrk
poper poper Posting periods
docct docct Document Categ.
docnr docnr Well doc.no.
docln docln Matching Document Line Item
rcomp rcomp Trading Partner
rdimen rdimen Dimension
rbunit rbunit Consolidation Unit
ritclg ritclg Consolidation COA
ritem ritem Reporting Item
rbuptr rbuptr Partner Unit
rcongr rcongr Consolidation Group
robukrs robukrs Orig. CC
sityp sityp Trip Schedule Type
subit subit Subitem
plevl plevl Posting Level
rpflg rpflg Apportionment
rtflg rtflg Currency Translation Indicator
docty docty Document Type
yracq yracq Year of Acquisition
pracq pracq Period of Acquisition
coicu coicu Investee Unit
tsl tsl Trans. Currency
hsl hsl Local Crcy Amt
ksl ksl GrpCurr
msl Stat. KeyFig. Qty
sgtxt sgtxt Text
autom autom Automatic Call
activ activ Transaction
bvorg bvorg Intercompany Transac
budat budat Posting Date
wsdat wsdat Value Date
refdocnr refdocnr Reference
refryear refryear Reference year
refdocln refdocln Reference Item
refdocct refdocct Ref. Doc. Cat.
refactiv refactiv Ref. Transactn
cpudt cpudt Imported On
cputm cputm Time
usnam usnam User Name
rvsdocnr rvsdocnr Reversed With
orndocnr orndocnr Reversed doc.
coiac coiac Investment Activity
coinr coinr Investment Activity Number
revyear revyear Year of reversal doc
awtyp awtyp Reference Document Type
aworg aworg Refer. Org.Unit
logsys logsys Source system
timestamp timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
racct racct GL Account From
rcntr rcntr Cost Center
prctr prctr Profit Centers
rfarea rfarea R FuncArea
rbusa rbusa Business Area
kokrs kokrs Org. Value
segment segment Segment number
scntr scntr Sender Cost Ctr
pprctr pprctr Partner PC
sfarea sfarea Sender FnArea
sbusa sbusa Trdg Part.BA
rassc rassc Trading Partner
psegment psegment Partner Segment
rmvct rmvct Transact. Type
matnr matnr Vehicle Model
werks werks Receiving Plant
kunnr kunnr Stock customer
lifnr lifnr Vendor no.
ps_posid ps_posid WBS Element
ps_pspid ps_pspid Project def.
fkart fkart Ship. cost type
vkorg vkorg SD Sales Org.
vtweg vtweg RefDistCh-Cust/Mat.
spart spart Source supplier
matnr_copa matnr_copa Product Sold
matkl matkl Product Sold Group
kdgrp kdgrp Customer group
land1 land1 Trip Ctry/Reg
brsch brsch Industry
bzirk bzirk Sales District
kunre kunre Bill-to Party
kunwe kunwe Ship-to Party
konzs konzs Group
zuonr zuonr Finance Project
aufnr aufnr SettlementOrder
xblnr xblnr Reference
matkl_mm matkl_mm Material Group
ps_psp_pnr ps_psp_pnr WBS Element
ktopl ktopl G/L Chart of Accounts
CnsldtnJrnlEntryItemOrigin
FinancialPlanningReqTransSqnc Request TSN
FinancialPlanningDataPacket Data packet number
FinancialPlanningEntryItem Object GUID
rldnr_fin
adhocitem Ad Hoc Item
adhocset Ad Hoc Set
adhocsetitem Ad Hoc Set Item
rcode Result
orig_ref Origin Ref.
orig_type Origin Type
bunnr Document Bundle No.
branch_id Branch (FS)
fikrs FM Area
rfund Sender Fund
rgrant_nbr Sender Grant
re_ktopl
re_account Cash Origin Account
sfund Receiver Fund
ghgscope
ghgcategory
ghgenergymix
rldnr ConsolidationLedger Ledger (Compat.)
rrcty GLRecordType Record Type
rvers ConsolidationVersion Version: Tax rt
ryear FiscalYear Ref. Year1
rtcur TransactionCurrency Currency
rhcur LocalCurrency Local Currency
rkcur GroupCurrency Ledger curr.
runit BaseUnit Unit/Area
drcrk
poper FiscalPeriod Posting periods
docct DocumentCategory Document Categ.
docnr CnsldtnGroupJrnlEntry Well doc.no.
docln CnsldtnGroupJrnlEntryItem Matching Document Line Item
rcomp Company Trading Partner
rdimen ConsolidationDimension Dimension
rbunit ConsolidationUnit Consolidation Unit
ritclg ConsolidationChartOfAccounts Consolidation COA
ritem FinancialStatementItem Reporting Item
rbuptr PartnerConsolidationUnit Partner Unit
rcongr ConsolidationGroup Consolidation Group
robukrs CompanyCode Orig. CC
sityp SubItemCategory Trip Schedule Type
subit SubItem Subitem
plevl PostingLevel Posting Level
rpflg ConsolidationApportionment Apportionment
rtflg CurrencyConversionsDiffType Currency Translation Indicator
docty ConsolidationDocumentType Document Type
yracq ConsolidationAcquisitionYear Year of Acquisition
pracq ConsolidationAcquisitionPeriod Period of Acquisition
coicu InvesteeConsolidationUnit Investee Unit
tsl AmountInTransactionCurrency Trans. Currency
hsl AmountInLocalCurrency Local Crcy Amt
ksl AmountInGroupCurrency GrpCurr
msl Stat. KeyFig. Qty
sgtxt DocumentItemText Text
autom ConsolidationPostgItemAutoFlag Automatic Call
activ BusinessTransactionType Transaction
bvorg Intercompany Transac
budat PostingDate Posting Date
wsdat CurrencyTranslationDate Value Date
refdocnr RefConsolidationDocumentNumber Reference
refryear ReferenceFiscalYear Reference year
refdocln RefConsolidationPostingItem Reference Item
refdocct RefConsolidationDocumentType Ref. Doc. Cat.
refactiv RefBusinessTransactionType Ref. Transactn
cpudt CreationDate Imported On
cputm CreationTime Time
usnam UserID User Name
rvsdocnr ReverseDocument Reversed With
orndocnr ReversedDocument Reversed doc.
coiac InvestmentActivityType Investment Activity
coinr InvestmentActivity Investment Activity Number
revyear ConsolidationDocReversalYear Year of reversal doc
awtyp ReferenceDocumentType Reference Document Type
aworg ReferenceDocumentContext Refer. Org.Unit
logsys LogicalSystem Source system
timestamp CreationDateTime UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
racct GLAccount GL Account From
rcntr CostCenter Cost Center
prctr ProfitCenter Profit Centers
rfarea FunctionalArea R FuncArea
rbusa BusinessArea Business Area
kokrs ControllingArea Org. Value
segment Segment Segment number
scntr PartnerCostCenter Sender Cost Ctr
pprctr PartnerProfitCenter Partner PC
sfarea PartnerFunctionalArea Sender FnArea
sbusa PartnerBusinessArea Trdg Part.BA
rassc PartnerCompany Trading Partner
psegment PartnerSegment Partner Segment
rmvct FinancialTransactionType Transact. Type
matnr Material Vehicle Model
werks Plant Receiving Plant
kunnr Customer Stock customer
lifnr Supplier Vendor no.
ps_posid WBSElementExternalID WBS Element
ps_pspid Project Project def.
fkart BillingDocumentType Ship. cost type
vkorg SalesOrganization SD Sales Org.
vtweg DistributionChannel RefDistCh-Cust/Mat.
spart OrganizationDivision Source supplier
matnr_copa SoldMaterial Product Sold
matkl SoldProductGroup Product Sold Group
kdgrp CustomerGroup Customer group
land1 CustomerSupplierCountry Trip Ctry/Reg
brsch CustomerSupplierIndustry Industry
bzirk SalesDistrict Sales District
kunre BillToParty Bill-to Party
kunwe ShipToParty Ship-to Party
konzs CustomerSupplierCorporateGroup Group
zuonr AssignmentReference Finance Project
aufnr OrderID SettlementOrder
xblnr Reference
matkl_mm MaterialGroup Material Group
ps_psp_pnr WBSElementInternalID WBS Element
ktopl ChartOfAccounts G/L Chart of Accounts
CnsldtnJrnlEntryItemOrigin
FinancialPlanningReqTransSqnc Request TSN
FinancialPlanningDataPacket Data packet number
FinancialPlanningEntryItem Object GUID
rldnr_fin
adhocitem CnsldtnAdhocItem Ad Hoc Item
adhocset CnsldtnAdhocSet Ad Hoc Set
adhocsetitem CnsldtnAdhocSetItem Ad Hoc Set Item
rcode MatchingReasonCode Result
orig_ref OriginReference Origin Ref.
orig_type OriginType Origin Type
bunnr CnsldtnGroupJrnlEntryBundle Document Bundle No.
branch_id FinancialServicesBranch Branch (FS)
fikrs FinancialManagementArea FM Area
rfund Fund Sender Fund
rgrant_nbr GrantID Sender Grant
re_ktopl CnsldtnCashLedgerChartOfAccts
re_account CashLedgerAccount Cash Origin Account
sfund PartnerFund Receiver Fund
ghgscope GHGScope
ghgcategory GHGCategory
ghgenergymix GHGEnergyMix
rldnr rldnr Ledger (Compat.)
rrcty rrcty Record Type
rvers rvers Version: Tax rt
ryear ryear Ref. Year1
rtcur rtcur Currency
rhcur rhcur Local Currency
rkcur rkcur Ledger curr.
runit runit Unit/Area
drcrk
poper poper Posting periods
docct docct Document Categ.
docnr docnr Well doc.no.
docln docln Matching Document Line Item
rcomp rcomp Trading Partner
rdimen rdimen Dimension
rbunit rbunit Consolidation Unit
ritclg ritclg Consolidation COA
ritem ritem Reporting Item
rbuptr rbuptr Partner Unit
rcongr rcongr Consolidation Group
robukrs robukrs Orig. CC
sityp sityp Trip Schedule Type
subit subit Subitem
plevl plevl Posting Level
rpflg rpflg Apportionment
rtflg rtflg Currency Translation Indicator
docty docty Document Type
yracq yracq Year of Acquisition
pracq pracq Period of Acquisition
coicu coicu Investee Unit
tsl tsl Trans. Currency
hsl hsl Local Crcy Amt
ksl ksl GrpCurr
msl Stat. KeyFig. Qty
sgtxt sgtxt Text
autom autom Automatic Call
activ activ Transaction
bvorg bvorg Intercompany Transac
budat budat Posting Date
wsdat wsdat Value Date
refdocnr refdocnr Reference
refryear refryear Reference year
refdocln refdocln Reference Item
refdocct refdocct Ref. Doc. Cat.
refactiv refactiv Ref. Transactn
cpudt cpudt Imported On
cputm cputm Time
usnam usnam User Name
rvsdocnr rvsdocnr Reversed With
orndocnr orndocnr Reversed doc.
coiac coiac Investment Activity
coinr coinr Investment Activity Number
revyear revyear Year of reversal doc
awtyp awtyp Reference Document Type
aworg aworg Refer. Org.Unit
logsys logsys Source system
timestamp timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
racct racct GL Account From
rcntr rcntr Cost Center
prctr prctr Profit Centers
rfarea rfarea R FuncArea
rbusa rbusa Business Area
kokrs kokrs Org. Value
segment segment Segment number
scntr scntr Sender Cost Ctr
pprctr pprctr Partner PC
sfarea sfarea Sender FnArea
sbusa sbusa Trdg Part.BA
rassc rassc Trading Partner
psegment psegment Partner Segment
rmvct rmvct Transact. Type
matnr matnr Vehicle Model
werks werks Receiving Plant
kunnr kunnr Stock customer
lifnr lifnr Vendor no.
ps_posid ps_posid WBS Element
ps_pspid ps_pspid Project def.
fkart fkart Ship. cost type
vkorg vkorg SD Sales Org.
vtweg vtweg RefDistCh-Cust/Mat.
spart spart Source supplier
matnr_copa matnr_copa Product Sold
matkl matkl Product Sold Group
kdgrp kdgrp Customer group
land1 land1 Trip Ctry/Reg
brsch brsch Industry
bzirk bzirk Sales District
kunre kunre Bill-to Party
kunwe kunwe Ship-to Party
konzs konzs Group
zuonr zuonr Finance Project
aufnr aufnr SettlementOrder
xblnr xblnr Reference
matkl_mm matkl_mm Material Group
ps_psp_pnr ps_psp_pnr WBS Element
ktopl ktopl G/L Chart of Accounts
CnsldtnJrnlEntryItemOrigin
FinancialPlanningReqTransSqnc Request TSN
FinancialPlanningDataPacket Data packet number
FinancialPlanningEntryItem Object GUID
rldnr_fin
adhocitem adhocitem Ad Hoc Item
adhocset adhocset Ad Hoc Set
adhocsetitem adhocsetitem Ad Hoc Set Item
rcode rcode Result
orig_ref orig_ref Origin Ref.
orig_type orig_type Origin Type
bunnr bunnr Document Bundle No.
branch_id Branch (FS)
fikrs FM Area
rfund Sender Fund
rgrant_nbr Sender Grant
re_ktopl
re_account Cash Origin Account
sfund Receiver Fund
ghgscope
ghgcategory
ghgenergymix

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_GroupReportingLineItem.
-- 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: PGRLINEITEM

CREATE VIEW P_GroupReportingLineItem AS
SELECT
  cast('' as gu_recid) AS gl_sirid,
  rldnr,
  cast('0' as rrcty) AS rrcty,
  rvers,
  ryear,
  rtcur,
  rhcur,
  rkcur,
  runit,
  cast('' as shkzg) AS drcrk,
  poper,
  docct,
  docnr,
  docln,
  rcomp,
  rdimen,
  rbunit,
  ritclg,
  ritem,
  rbuptr,
  rcongr,
  robukrs,
  sityp,
  subit,
  plevl,
  rpflg,
  rtflg,
  docty,
  yracq,
  pracq,
  coicu,
  tsl,
  hsl,
  ksl,
  cast(msl as fincs_quan) AS msl,
  sgtxt,
  autom,
  activ,
  bvorg,
  budat,
  wsdat,
  refdocnr,
  refryear,
  refdocln,
  refdocct,
  refactiv,
  cpudt,
  cputm,
  usnam,
  rvsdocnr,
  orndocnr,
  coiac,
  coinr,
  revyear,
  awtyp,
  aworg,
  logsys,
  timestamp,
  racct,
  rcntr,
  prctr,
  rfarea,
  rbusa,
  kokrs,
  segment,
  scntr,
  pprctr,
  sfarea,
  sbusa,
  rassc,
  psegment,
  rmvct,
  matnr,
  werks,
  kunnr,
  lifnr,
  ps_posid,
  ps_pspid,
  fkart,
  vkorg,
  vtweg,
  spart,
  matnr_copa,
  matkl,
  kdgrp,
  land1,
  brsch,
  bzirk,
  kunre,
  kunwe,
  konzs,
  zuonr,
  aufnr,
  xblnr,
  matkl_mm,
  ps_psp_pnr,
  ktopl,
  cast('A' as fincs_jrnl_entry_item_origin) AS CnsldtnJrnlEntryItemOrigin,
  cast('00000000000000000000000' as fis_fp_request_tsn) AS FinancialPlanningReqTransSqnc,
  cast('000000' as fis_fp_data_packet) AS FinancialPlanningDataPacket,
  cast(0 as fis_fp_entry_item) AS FinancialPlanningEntryItem,
  cast(rldnr_fin as fins_ledger) AS rldnr_fin,
  cast('0' as fincs_adhocitem) AS adhocitem,
  cast('0' as fincs_adhocset) AS adhocset,
  cast( '00000000' as fincs_adhocsetitem) AS adhocsetitem,
  cast('' as ica_rcode ) AS rcode,
  cast('' as fincs_orig_ref ) AS orig_ref,
  cast('' as fincs_orig_type ) AS orig_type,
  cast('' as fincs_bunnr ) AS bunnr,
  cast( '' as fincs_financialservicesbranch ) AS branch_id,
  cast( '' as fincs_financialmanagementarea ) AS fikrs,
  cast( '' as fincs_fund ) AS rfund,
  cast( '' as fincs_grant ) AS rgrant_nbr,
  cast( '' as fincs_cashledgerchartofaccts ) AS re_ktopl,
  cast( '' as fincs_cashledgeraccount ) AS re_account,
  cast( '' as fincs_partnerfund ) AS sfund,
  cast( '' as fincs_ghgscope ) AS ghgscope,
  cast( '' as fincs_ghgcategory ) AS ghgcategory,
  cast( '' as fincs_ghgenergymix ) AS ghgenergymix
FROM P_ReportedFinancialData_RL
-- UNION ALL with additional select branch(es): P_PlanData_RL, I_CnsldtnGroupJrnlEntryItem, P_CnsldtnDataWCnsldtnLogicYTD
;