C_AssetAssignmentTP

DDL: C_ASSETASSIGNMENTTP SQL: CASSETASSGMTTP Type: view CONSUMPTION Package: FINS_FAA_MD_BOPF

Asset Assignment

C_AssetAssignmentTP is a Consumption CDS View that provides data about "Asset Assignment" in SAP S/4HANA. It reads from 1 data source (I_AssetAssignmentTP) and exposes 65 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, ValidityEndDate. It has 5 associations to related views. Part of development package FINS_FAA_MD_BOPF.

Data Sources (1)

SourceAliasJoin Type
I_AssetAssignmentTP AssetAssignmentTP from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_AssetTP _AssetTP $projection.CompanyCode = _AssetTP.CompanyCode and $projection.MasterFixedAsset = _AssetTP.MasterFixedAsset and $projection.FixedAsset = _AssetTP.FixedAsset
[0..1] P_AssetInvestmentProject _Project $projection.WBSElementInternalID = _Project.WBSElementInternalID
[0..1] C_AssetWBSElement _WBSElement $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID
[0..*] C_HierRuntimeRprstnDplLeafNode _CostCenterHierarchyLeafNode $projection.CostCenter = _CostCenterHierarchyLeafNode.UnivHierarchyBusinessEntity and $projection.ControllingArea = _CostCenterHierarchyLeafNode.HierarchyNodeClass and _CostCenterHierarchyLeafNode.ValidityStartDate <= $session.system_date and _CostCenterHierarchyLeafNode.ValidityEndDate >= $session.system_date and _CostCenterHierarchyLeafNode.HierarchyType = '0101'
[0..*] C_HierRuntimeRprstnDplLeafNode _ProfitCenterHierLeafNode $projection.ProfitCenter = _ProfitCenterHierLeafNode.UnivHierarchyBusinessEntity and $projection.ControllingArea = _ProfitCenterHierLeafNode.HierarchyNodeClass and _ProfitCenterHierLeafNode.ValidityStartDate <= $session.system_date and _ProfitCenterHierLeafNode.ValidityEndDate >= $session.system_date and _ProfitCenterHierLeafNode.HierarchyType = '0106'

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CASSETASSGMTTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Asset Assignment view
VDM.viewType #CONSUMPTION view
Search.searchable true view
Metadata.allowExtensions true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view

Fields (65)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY ValidityEndDate ValidityEndDate ValidTo
ValidityEndDateForEdit ValidityEndDateForEdit Valid To
ValidityStartDate ValidityStartDate Validity Start Date
AssetClass _FixedAsset AssetClass Asset Class
_AssetClass _FixedAsset _AssetClass
BusinessArea BusinessArea Business Area
CostCenter CostCenter Cost Center
CostCtrActivityType CostCtrActivityType Activity Type
InternalOrder InternalOrder Order
Fund Fund Sender Fund
GrantID GrantID Sender Grant
FunctionalArea FunctionalArea Sendr Fctl Area
FundsCenter FundsCenter Funds Center
WBSElementInternalID WBSElementInternalID WBS Internal ID
WBSElementExternalID WBSElementExternalID WBS Element External ID
ProjectSummaryTaskUUIDString
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
RealEstateObject RealEstateObject Real Estate Key
Segment Segment Segment number
ProfitCenter ProfitCenter Profit Center
BudgetPeriod BudgetPeriod Budget Period
ResponsibleCostCenter ResponsibleCostCenter Responsible Cost Center
Room Room Room Number
Plant Plant Valuation Area
AssetLocation AssetLocation Location
VehicleLicensePlateNumber VehicleLicensePlateNumber
PersonnelNumber PersonnelNumber Personnel No.
BusinessPlace BusinessPlace Business place
ControllingArea ControllingArea Controlling Area
FinancialManagementArea FinancialManagementArea FM Area
LongText LongText Text Name
AccountingDocument
FiscalYear
ReferenceDocumentType ReferenceDocumentType Reference Document Type
LogicalSystem LogicalSystem Logical System
ReferenceDocumentContext ReferenceDocumentContext Reference Document Context
ReferenceDocument ReferenceDocument Reference Document
AssetAuthorizationContext AssetAuthorizationContext
_AssetTP _AssetTP
_FixedAsset _FixedAsset
_MasterFixedAsset _MasterFixedAsset
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_Fund _Fund
_FundsCenter _FundsCenter
_CostCenter _CostCenter
_ResponsibleCostCenter _ResponsibleCostCenter
_BusinessArea _BusinessArea
_Segment _Segment
_InternalOrder _InternalOrder
_ProfitCenter _ProfitCenter
_FunctionalArea _FunctionalArea
_CostCenterActivityType _CostCenterActivityType
_WBSElementBasicData _WBSElementBasicData
_Plant _Plant
_AssetLocation _AssetLocation
_BudgetPeriod _BudgetPeriod
_Employment _Employment
_Grant _Grant
_WBSElement _WBSElement
_CostCenterHierarchyLeafNode _CostCenterHierarchyLeafNode
_ProfitCenterHierLeafNode _ProfitCenterHierLeafNode

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_AssetAssignmentTP.
-- 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: CASSETASSGMTTP

CREATE VIEW C_AssetAssignmentTP AS
SELECT
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  ValidityEndDate,
  ValidityEndDateForEdit,
  ValidityStartDate,
  _FixedAsset.AssetClass AS AssetClass,
  _FixedAsset._AssetClass AS _AssetClass,
  BusinessArea,
  CostCenter,
  CostCtrActivityType,
  InternalOrder,
  Fund,
  GrantID,
  FunctionalArea,
  FundsCenter,
  WBSElementInternalID,
  WBSElementExternalID,
  cast('' as abap.char(32)) AS ProjectSummaryTaskUUIDString,
  TaxJurisdiction,
  RealEstateObject,
  Segment,
  ProfitCenter,
  BudgetPeriod,
  ResponsibleCostCenter,
  Room,
  Plant,
  AssetLocation,
  VehicleLicensePlateNumber,
  PersonnelNumber,
  BusinessPlace,
  ControllingArea,
  FinancialManagementArea,
  LongText,
  cast (cast (''as abap.char(10))as belnr_d preserving type) AS AccountingDocument,
  cast (cast ('' as abap.numc(4))as gjahr preserving type) AS FiscalYear,
  ReferenceDocumentType,
  LogicalSystem,
  ReferenceDocumentContext,
  ReferenceDocument,
  AssetAuthorizationContext
FROM I_AssetAssignmentTP AS AssetAssignmentTP
LEFT OUTER JOIN C_AssetTP AS _AssetTP ON CompanyCode = _AssetTP.CompanyCode AND MasterFixedAsset = _AssetTP.MasterFixedAsset AND FixedAsset = _AssetTP.FixedAsset  -- association [1..1]
LEFT OUTER JOIN P_AssetInvestmentProject AS _Project ON WBSElementInternalID = _Project.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN C_AssetWBSElement AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN C_HierRuntimeRprstnDplLeafNode AS _CostCenterHierarchyLeafNode ON CostCenter = _CostCenterHierarchyLeafNode.UnivHierarchyBusinessEntity AND ControllingArea = _CostCenterHierarchyLeafNode.HierarchyNodeClass AND _CostCenterHierarchyLeafNode.ValidityStartDate <= $session.system_date AND _CostCenterHierarchyLeafNode.ValidityEndDate >= $session.system_date AND _CostCenterHierarchyLeafNode.HierarchyType = '0101'  -- association [0..*]
LEFT OUTER JOIN C_HierRuntimeRprstnDplLeafNode AS _ProfitCenterHierLeafNode ON ProfitCenter = _ProfitCenterHierLeafNode.UnivHierarchyBusinessEntity AND ControllingArea = _ProfitCenterHierLeafNode.HierarchyNodeClass AND _ProfitCenterHierLeafNode.ValidityStartDate <= $session.system_date AND _ProfitCenterHierLeafNode.ValidityEndDate >= $session.system_date AND _ProfitCenterHierLeafNode.HierarchyType = '0106'  -- association [0..*]
;