P_FmblAggPer

DDL: P_FMBLAGGPER SQL: PFMBLAGGPER Type: view BASIC

P_FmblAggPer is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (fmbl) and exposes 25 fields with key fields fm_area, docyear, docnr, docln, rpmax. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
fmbl fmbl from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_FinancialManagementArea _FinMgmtArea $projection.fm_area = _FinMgmtArea.FinancialManagementArea
[0..1] cnfm_fmbl _CnFm_Fmbl $projection.fm_area = _CnFm_Fmbl.fm_area and $projection.docnr = _CnFm_Fmbl.docnr and $projection.docyear = _CnFm_Fmbl.docyear and $projection.docln = _CnFm_Fmbl.docln and $projection.rpmax = _CnFm_Fmbl.rpmax

Annotations (6)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PFMBLAGGPER view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY fm_area fm_area FM Area
KEY docyear docyear Ref. Doc. Year
KEY docnr docnr Well doc.no.
KEY docln docln Matching Document Line Item
KEY rpmax rpmax Period
flg_added flg_added Additional Line
fiscyear fiscyear Fiscal Year
ceffyear ceffyear YCE
fund fund Sender Fund
budget_pd budget_pd Rec BudPer
fundsctr fundsctr Funds Center
cmmtitem cmmtitem Commitment Item
funcarea funcarea Functional Area
grant_nbr grant_nbr Receiver Grant
measure measure obsolete
userdim userdim Customer Field
budcat budcat Budget Category
valtype valtype BCS Value Type
process process Trans.
budtype budtype Budget Type
tcurr tcurr Trans. Currency
distkey distkey Distribution Key
text50 text50 Text
lcurr _FinMgmtArea FinancialManagementAreaCrcy FM Area Currency
_CnFm_Fmbl _CnFm_Fmbl

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_FmblAggPer.
-- 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: PFMBLAGGPER

CREATE VIEW P_FmblAggPer AS
SELECT
  fm_area,
  docyear,
  docnr,
  docln,
  rpmax,
  flg_added,
  fiscyear,
  ceffyear,
  fund,
  budget_pd,
  fundsctr,
  cmmtitem,
  funcarea,
  grant_nbr,
  measure,
  userdim,
  budcat,
  valtype,
  process,
  budtype,
  tcurr,
  distkey,
  text50,
  _FinMgmtArea.FinancialManagementAreaCrcy AS lcurr
FROM fmbl
LEFT OUTER JOIN I_FinancialManagementArea AS _FinMgmtArea ON fm_area = _FinMgmtArea.FinancialManagementArea  -- association [1..1]
LEFT OUTER JOIN cnfm_fmbl AS _CnFm_Fmbl ON fm_area = _CnFm_Fmbl.fm_area AND docnr = _CnFm_Fmbl.docnr AND docyear = _CnFm_Fmbl.docyear AND docln = _CnFm_Fmbl.docln AND rpmax = _CnFm_Fmbl.rpmax  -- association [0..1]
;