P_FundIntrstApprtmt

DDL: P_FUNDINTRSTAPPRTMT Type: view COMPOSITE

WUFUND Interest Apportionment Master

P_FundIntrstApprtmt is a Composite CDS View that provides data about "WUFUND Interest Apportionment Master" in SAP S/4HANA. It reads from 5 data sources (I_PubSecIntrstApprtmt, I_PubSecIntrstApprtmt, I_PubSecPrtcpntAcctAssgmt, I_PubSecPrtcpntAcctAssgmt, I_PubSecIntrstApprtmt) and exposes 32 fields with key fields FundWhereUsedObjType, InvestmentPoolUUID, InvestmentPoolID, Fund, CompanyCode. It has 1 association to related views.

Data Sources (5)

SourceAliasJoin Type
I_PubSecIntrstApprtmt _IntrstApprtmt inner
I_PubSecIntrstApprtmt _IntrstApprtmt inner
I_PubSecPrtcpntAcctAssgmt _PrtcpntAcctAssgmt union
I_PubSecPrtcpntAcctAssgmt _PrtcpntAcctAssgmt union
I_PubSecIntrstApprtmt I_PubSecIntrstApprtmt from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Fund _Fund $projection.financialmanagementarea = _Fund.FinancialManagementArea and $projection.Fund = _Fund.Fund

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PWUFUNDINTAPRMT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label WUFUND Interest Apportionment Master view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #MASTER view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY FundWhereUsedObjType
KEY InvestmentPoolUUID InvestmentPoolUUID UUID
KEY InvestmentPoolID InvestmentPoolID Pool ID
KEY Fund InvestmentPooledFund Destination Fund
KEY CompanyCode CompanyCode Receiver Company Code
KEY InvestmentFundRole
InvestmentPoolIDCreatedBy InvestmentPoolIDCreatedBy Version Created By
InvestmentPoolIDChangedBy InvestmentPoolIDChangedBy User Name
clientNULLasInvestmentPoolIDCreateDate
clientNULLasInvestmentPoolIDChangeDate
CompanyCodeName _CompanyCode CompanyCodeName Company Name
KEY InvestmentPoolUUID I_PubSecIntrstApprtmt InvestmentPoolUUID UUID
KEY InvestmentPoolID I_PubSecIntrstApprtmt InvestmentPoolID Pool ID
KEY Fund I_PubSecPrtcpntAcctAssgmt ParticipantFund Destination Fund
KEY CompanyCode I_PubSecIntrstApprtmt CompanyCode Receiver Company Code
KEY InvestmentFundRole
InvestmentPoolIDCreatedBy I_PubSecIntrstApprtmt InvestmentPoolIDCreatedBy Version Created By
InvestmentPoolIDChangedBy I_PubSecIntrstApprtmt InvestmentPoolIDChangedBy User Name
clientNULLasInvestmentPoolIDCreateDate
clientNULLasInvestmentPoolIDChangeDate
CompanyCodeName Company Name
KEY InvestmentPoolUUID I_PubSecIntrstApprtmt InvestmentPoolUUID UUID
KEY InvestmentPoolID I_PubSecIntrstApprtmt InvestmentPoolID Pool ID
KEY Fund I_PubSecPrtcpntAcctAssgmt DestinationFund Destination Fund
KEY CompanyCode I_PubSecIntrstApprtmt CompanyCode Receiver Company Code
KEY InvestmentFundRole
InvestmentPoolIDCreatedBy I_PubSecIntrstApprtmt InvestmentPoolIDCreatedBy Version Created By
InvestmentPoolIDChangedBy I_PubSecIntrstApprtmt InvestmentPoolIDChangedBy User Name
clientNULLasInvestmentPoolIDCreateDate
clientNULLasInvestmentPoolIDChangeDate
CompanyCodeName Company Name
_Fund _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_FundIntrstApprtmt.
-- 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_FundIntrstApprtmt AS
SELECT
  cast ('13IAM' as psm_s4c_fm_fund_wu_obj_type_vh) AS FundWhereUsedObjType,
  InvestmentPoolUUID,
  InvestmentPoolID,
  InvestmentPooledFund AS Fund,
  CompanyCode,
  cast ('Pooled Fund' as psm_s4c_fm_fund_wu_iam_role ) AS InvestmentFundRole,
  InvestmentPoolIDCreatedBy,
  InvestmentPoolIDChangedBy,
  tstmp_to_dats( InvestmentPoolIDCreateDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as InvestmentPoolIDCreateDate AS clientNULLasInvestmentPoolIDCreateDate,
  tstmp_to_dats( InvestmentPoolIDChangeDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as InvestmentPoolIDChangeDate AS clientNULLasInvestmentPoolIDChangeDate,
  _CompanyCode.CompanyCodeName AS CompanyCodeName
FROM I_PubSecIntrstApprtmt
INNER JOIN I_PubSecIntrstApprtmt AS _IntrstApprtmt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Fund AS _Fund ON financialmanagementarea = _Fund.FinancialManagementArea AND Fund = _Fund.Fund  -- association [1..1]
-- UNION with additional select branch(es): I_PubSecPrtcpntAcctAssgmt
;