I_FinancialChain

DDL: I_FINANCIALCHAIN Type: view_entity BASIC

Financial Chain

I_FinancialChain is a Basic CDS View that provides data about "Financial Chain" in SAP S/4HANA. It reads from 1 data source (fcht_chain) and exposes 23 fields with key field FinancialChain. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
fcht_chain fcht_chain from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_UserContactCard _CreatedByContactCard $projection.CreatedByUser = _CreatedByContactCard.ContactCardID
[0..1] I_UserContactCard _ChangedByContactCard $projection.LastChangedByUser = _ChangedByContactCard.ContactCardID

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Financial Chain view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey FinancialChain view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY FinancialChain chain_id Process Chain
CompanyCode bukrs Value
FinancialChainCategory chain_category
FinancialChainLifeCycleStatus lifecycle_status Status
DeliveringPlant delivering_plant
ReceivingPlant receiving_plant Plant
FinChainValidityStartDate date_from Validity Start Date
FinChainValidityEndDate date_to Validity End Date
CreatedByUser create_user User Name
CreationDateTime create_timestamp Time Stamp
LastChangedByUser change_user User Name
LastChangeDateTime change_timestamp Time Stamp
LocalLastChangedDateTime local_last_changed_at Time Stamp
_Text _Text
_Step _Step
_Category _Category
_LifeCycleStatus _LifeCycleStatus
_DeliveringPlant _DeliveringPlant
_ReceivingPlant _ReceivingPlant
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_CreatedByContactCard _CreatedByContactCard
_ChangedByContactCard _ChangedByContactCard

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_FinancialChain.
-- 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_FinancialChain AS
SELECT
  chain_id AS FinancialChain,
  bukrs AS CompanyCode,
  chain_category AS FinancialChainCategory,
  lifecycle_status AS FinancialChainLifeCycleStatus,
  delivering_plant AS DeliveringPlant,
  receiving_plant AS ReceivingPlant,
  date_from AS FinChainValidityStartDate,
  date_to AS FinChainValidityEndDate,
  create_user AS CreatedByUser,
  create_timestamp AS CreationDateTime,
  change_user AS LastChangedByUser,
  change_timestamp AS LastChangeDateTime,
  local_last_changed_at AS LocalLastChangedDateTime
FROM fcht_chain
LEFT OUTER JOIN I_UserContactCard AS _CreatedByContactCard ON CreatedByUser = _CreatedByContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ChangedByContactCard ON LastChangedByUser = _ChangedByContactCard.ContactCardID  -- association [0..1]
;