I_MasterFixedAsset

DDL: I_MASTERFIXEDASSET Type: view BASIC

Master Fixed Asset

I_MasterFixedAsset (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_MasterFixedAsset is a Basic CDS View (Dimension) that provides data about "Master Fixed Asset" in SAP S/4HANA. It reads from 1 data source (P_MasterFixedAsset) and exposes 6 fields with key fields CompanyCode, MasterFixedAsset. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Master Data
Data CategoryDimension
StatusReleased
Purpose
This CDS view provides access to the master data of a main asset of a fixed asset. The attributes of the main asset business entity include the company code and asset. This CDS view provides the prerequisites for answering the following business question: What are my main assets? What are the descriptions of the main asset? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to run reports using this CDS view must have a role based on the business role template listed in the table above. In this role, the following restriction types must be set to read access: Asset Class / Company Code Company Code / Plant Company Code / Cost Center These restriction types are edited in the Maintain Business Roles app. Users who want to use this CDS view must have the following authorization objects assigned: SAP_BR_AA_ACCOUNTANT (Asset Accountant)

Structure
Business Objects This view is built on the following business object: Fixed Asset Measures and Attributes Some important measures and attributes are: Main Asset Description

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-AA-IS
CapabilitiesData Source for Defining CDS Entities, Analytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
P_MasterFixedAsset P_MasterFixedAsset from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..*] I_FixedAsset _FixedAsset $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IFIMASTFIXASSET view
AbapCatalog.preserveKey true view
Analytics.dataCategory #DIMENSION view
EndUserText.label Master Fixed Asset view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey MasterFixedAsset view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Main Asset Number
MasterFixedAssetDescription MasterFixedAssetDescription Asset Main Number Text
AssetAuthorizationContext AssetAuthorizationContext Asset Authorization Context
_CompanyCode _CompanyCode
_FixedAsset _FixedAsset

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_MasterFixedAsset.
-- 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_MasterFixedAsset AS
SELECT
  CompanyCode,
  MasterFixedAsset,
  MasterFixedAssetDescription,
  AssetAuthorizationContext
FROM P_MasterFixedAsset
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON CompanyCode = _FixedAsset.CompanyCode AND MasterFixedAsset = _FixedAsset.MasterFixedAsset  -- association [0..*]
;