C_FSItemMappingHeader

DDL: C_FSITEMMAPPINGHEADER Type: view CONSUMPTION

Financial Statement Item Mapping Header

C_FSItemMappingHeader is a Consumption CDS View that provides data about "Financial Statement Item Mapping Header" in SAP S/4HANA. It reads from 3 data sources (I_FSItemMappingHeaderDef, I_FSItemMappingHeaderDef, I_FSItemMappingHeaderDef) and exposes 71 fields with key field FSItemMappingUUID. It has 5 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_FSItemMappingHeaderDef I_FSItemMappingHeaderDef from
I_FSItemMappingHeaderDef I_FSItemMappingHeaderDef union_all
I_FSItemMappingHeaderDef I_FSItemMappingHeaderDef union_all

Associations (5)

CardinalityTargetAliasCondition
[0..1] C_CnsldtnChartOfAccountsVH _ConsChartOfAccountsVH $projection.ConsolidationChartOfAccounts = _ConsChartOfAccountsVH.ConsolidationChartOfAccounts
[0..1] C_CnsldtnGLChartOfAccountsVH _GLChartOfAccountsVH $projection.ChartOfAccounts = _GLChartOfAccountsVH.ChartOfAccounts
[0..1] C_FSItemMappingVH _MappingVH $projection.FSItemMappingID = _MappingVH.FSItemMappingID
[1..1] C_FSItemMappingHeaderDef _HeaderTP $projection.FSItemMappingUUID = _HeaderTP.FSItemMappingUUID
[0..1] C_FSItemMappingRevision _MappingRevisionVH $projection.ConsolidationChartOfAccounts = _MappingRevisionVH.ConsolidationChartOfAccounts and $projection.ChartOfAccounts = _MappingRevisionVH.ChartOfAccounts and $projection.FSItemMappingID = _MappingRevisionVH.FSItemMappingID and $projection.FSItemMappingRevision = _MappingRevisionVH.FSItemMappingRevision

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CFSITEMMAPHDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Financial Statement Item Mapping Header view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
UI.textArrangement #TEXT_LAST view

Fields (71)

KeyFieldSource TableSource FieldDescription
KEY FSItemMappingUUID FSItemMappingUUID
ConsolidationChartOfAccounts ConsolidationChartOfAccounts Cons. COA
ChartOfAccounts ChartOfAccounts Node Class
FSItemMappingID FSItemMappingID Mapping ID
FSItemMappingRevision FSItemMappingRevision Revision
ConsolidationChartOfAcctsText
ChartOfAccountsName
FSItemMappingName
FSItemMappingRevisionText
TotalNmbrOfMappedGLAccounts TotalNmbrOfMappedGLAccounts
TotalNmbrOfNotMappedGLAccounts TotalNmbrOfNotMappedGLAccounts
TotalNmbrOfFinStmntItems TotalNmbrOfFinStmntItems
IsActiveEntity IsActiveEntity Is active
HasActiveEntity HasActiveEntity TRUE
HasDraftEntity HasDraftEntity Has Draft
FSItemMappingIsAssigned Assigned
FSItemMappingIsNew New
CreationDateTime CreationDateTime Timestamp
UserDescription Last Changed By
LastChangeDateTime LastChangeDateTime Last Changed At
_MappingVH _MappingVH
_GLChartOfAccountsVH _GLChartOfAccountsVH
_ConsChartOfAccountsVH _ConsChartOfAccountsVH
_MappingRevisionVH _MappingRevisionVH
ConsolidationChartOfAccounts ConsolidationChartOfAccounts Cons. COA
ChartOfAccounts ChartOfAccounts Node Class
FSItemMappingID FSItemMappingID Mapping ID
FSItemMappingRevision FSItemMappingRevision Revision
ConsolidationChartOfAcctsText
ChartOfAccountsName
FSItemMappingName
FSItemMappingRevisionText
TotalNmbrOfMappedGLAccounts TotalNmbrOfMappedGLAccounts
TotalNmbrOfNotMappedGLAccounts TotalNmbrOfNotMappedGLAccounts
TotalNmbrOfFinStmntItems TotalNmbrOfFinStmntItems
IsActiveEntity IsActiveEntity Is active
HasActiveEntity HasActiveEntity TRUE
HasDraftEntity HasDraftEntity Has Draft
FSItemMappingIsAssigned Assigned
FSItemMappingIsNew New
CreationDateTime CreationDateTime Timestamp
UserDescription Last Changed By
LastChangeDateTime LastChangeDateTime Last Changed At
_MappingVH _MappingVH
_GLChartOfAccountsVH _GLChartOfAccountsVH
_ConsChartOfAccountsVH _ConsChartOfAccountsVH
_MappingRevisionVH _MappingRevisionVH
ConsolidationChartOfAccounts ConsolidationChartOfAccounts Cons. COA
ChartOfAccounts ChartOfAccounts Node Class
FSItemMappingID FSItemMappingID Mapping ID
FSItemMappingRevision FSItemMappingRevision Revision
ConsolidationChartOfAcctsText
ChartOfAccountsName
FSItemMappingName
FSItemMappingRevisionText
TotalNmbrOfMappedGLAccounts TotalNmbrOfMappedGLAccounts
TotalNmbrOfNotMappedGLAccounts TotalNmbrOfNotMappedGLAccounts
TotalNmbrOfFinStmntItems TotalNmbrOfFinStmntItems
IsActiveEntity IsActiveEntity Is active
HasActiveEntity HasActiveEntity TRUE
HasDraftEntity HasDraftEntity Has Draft
FSItemMappingIsAssigned Assigned
FSItemMappingIsNew New
CreationDateTime CreationDateTime Timestamp
UserDescription Last Change By
LastChangeDateTime LastChangeDateTime Timestamp
_MappingVH _MappingVH
_GLChartOfAccountsVH _GLChartOfAccountsVH
_ConsChartOfAccountsVH _ConsChartOfAccountsVH
_MappingRevisionVH _MappingRevisionVH
_HeaderTP _HeaderTP

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 C_FSItemMappingHeader.
-- 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 C_FSItemMappingHeader AS
SELECT
  FSItemMappingUUID,
  ConsolidationChartOfAccounts,
  ChartOfAccounts,
  FSItemMappingID,
  FSItemMappingRevision,
  _ConsChartOfAccounts._Text[1:Language = $session.system_language].ConsolidationChartOfAcctsText AS ConsolidationChartOfAcctsText,
  _GLChartOfAccounts._Text[1:Language = $session.system_language].ChartOfAccountsName AS ChartOfAccountsName,
  _Mapping._Text[1:Language = $session.system_language].FSItemMappingName AS FSItemMappingName,
  _Revision._Text[1:Language = $session.system_language].FSItemMappingRevisionText AS FSItemMappingRevisionText,
  TotalNmbrOfMappedGLAccounts,
  TotalNmbrOfNotMappedGLAccounts,
  TotalNmbrOfFinStmntItems,
  IsActiveEntity,
  HasActiveEntity,
  HasDraftEntity,
  cast('' as abap_boolean) AS FSItemMappingIsAssigned,
  cast(case when QueueTimeInSeconds < 10 then 'X' else '' end as abap_boolean) AS FSItemMappingIsNew,
  CreationDateTime,
  cast ( case when _LastChangeByUser.FullName is not initial then _LastChangeByUser.FullName else LastChangeByUser end as vdm_userdescription ) AS UserDescription,
  LastChangeDateTime
FROM I_FSItemMappingHeaderDef
LEFT OUTER JOIN C_CnsldtnChartOfAccountsVH AS _ConsChartOfAccountsVH ON ConsolidationChartOfAccounts = _ConsChartOfAccountsVH.ConsolidationChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN C_CnsldtnGLChartOfAccountsVH AS _GLChartOfAccountsVH ON ChartOfAccounts = _GLChartOfAccountsVH.ChartOfAccounts  -- association [0..1]
LEFT OUTER JOIN C_FSItemMappingVH AS _MappingVH ON FSItemMappingID = _MappingVH.FSItemMappingID  -- association [0..1]
LEFT OUTER JOIN C_FSItemMappingHeaderDef AS _HeaderTP ON FSItemMappingUUID = _HeaderTP.FSItemMappingUUID  -- association [1..1]
LEFT OUTER JOIN C_FSItemMappingRevision AS _MappingRevisionVH ON ConsolidationChartOfAccounts = _MappingRevisionVH.ConsolidationChartOfAccounts AND ChartOfAccounts = _MappingRevisionVH.ChartOfAccounts AND FSItemMappingID = _MappingRevisionVH.FSItemMappingID AND FSItemMappingRevision = _MappingRevisionVH.FSItemMappingRevision  -- association [0..1]
-- UNION ALL with additional select branch(es): I_FSItemMappingHeaderDef
;