I_InvmtMgmtSettlmtRuleContext

DDL: I_INVMTMGMTSETTLMTRULECONTEXT Type: view_entity BASIC

Settlement Rule Context

I_InvmtMgmtSettlmtRuleContext is a Basic CDS View that provides data about "Settlement Rule Context" in SAP S/4HANA. It reads from 1 data source (fins_im_srp_info) and exposes 14 fields with key fields InvmtMgmtSettlmtRulePrpslUUID, InvmMgmSettlmtRuleCntxtObjUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
fins_im_srp_info fins_im_srp_info from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_InvmMgmSetlRuleCntxtObjTypeT _CntxtObjType $projection.InvmMgmSettlmtRuleCntxtObjType = _CntxtObjType.InvmMgmSettlmtRuleCntxtObjType and _CntxtObjType.Language = $session.system_language
[0..1] I_InvmMgmSetlRuleCntxtObjTypeT _RefCntxtObjType $projection.InvmMgmSetlRuleCntxtRefObjType = _RefCntxtObjType.InvmMgmSettlmtRuleCntxtObjType and _RefCntxtObjType.Language = $session.system_language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Settlement Rule Context view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY InvmtMgmtSettlmtRulePrpslUUID srp_uuid UUID
KEY InvmMgmSettlmtRuleCntxtObjUUID im_info_uuid UUID
InvmMgmSettlmtRuleCntxtObjType objty Prj. Obj. Type
InvmMgmSettlmtRuleCntxtObjKey objid Work Center
InvmMgmSettlmtRuleCntxtObjText text User Group
InvmMgmSettlmtRuleCntxtObjAmt amount Value Amount
InvmMgmSettlmtRuleCntxtObjCrcy currency Valuation Crcy
InvmMgmSettlmtRuleCntxtObjQty quantity Value
InvmMgmSettlmtRuleCntxtObjUnit unit UoM
InvmMgmSettlmtRuleCntxtObjNote note TradeRequest Comment
InvmMgmSetlRuleCntxtRefObjType objty_ref
InvmMgmSetlRuleCntxtRefObjKey objid_ref
_CntxtObjType _CntxtObjType
_RefCntxtObjType _RefCntxtObjType

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 I_InvmtMgmtSettlmtRuleContext.
-- 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 I_InvmtMgmtSettlmtRuleContext AS
SELECT
  srp_uuid AS InvmtMgmtSettlmtRulePrpslUUID,
  im_info_uuid AS InvmMgmSettlmtRuleCntxtObjUUID,
  objty AS InvmMgmSettlmtRuleCntxtObjType,
  objid AS InvmMgmSettlmtRuleCntxtObjKey,
  text AS InvmMgmSettlmtRuleCntxtObjText,
  amount AS InvmMgmSettlmtRuleCntxtObjAmt,
  currency AS InvmMgmSettlmtRuleCntxtObjCrcy,
  quantity AS InvmMgmSettlmtRuleCntxtObjQty,
  unit AS InvmMgmSettlmtRuleCntxtObjUnit,
  note AS InvmMgmSettlmtRuleCntxtObjNote,
  objty_ref AS InvmMgmSetlRuleCntxtRefObjType,
  objid_ref AS InvmMgmSetlRuleCntxtRefObjKey
FROM fins_im_srp_info
LEFT OUTER JOIN I_InvmMgmSetlRuleCntxtObjTypeT AS _CntxtObjType ON InvmMgmSettlmtRuleCntxtObjType = _CntxtObjType.InvmMgmSettlmtRuleCntxtObjType AND _CntxtObjType.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_InvmMgmSetlRuleCntxtObjTypeT AS _RefCntxtObjType ON InvmMgmSetlRuleCntxtRefObjType = _RefCntxtObjType.InvmMgmSettlmtRuleCntxtObjType AND _RefCntxtObjType.Language = $session.system_language  -- association [0..1]
;