I_AssetClassByCompanyCodeVH
Asset class by company code
I_AssetClassByCompanyCodeVH is a Composite CDS View that provides data about "Asset class by company code" in SAP S/4HANA. It reads from 1 data source (P_TF_AssetClassByCompanyCode) and exposes 9 fields with key fields CompanyCode, AssetClass. It has 4 associations to related views. It is exposed through 1 OData service (UI_FIXEDASSET_AI). Part of development package FINS_FAA_MD_RAP_UI.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_TF_AssetClassByCompanyCode | P_TF_AssetClassByCompanyCode | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_AssetClass | _AssetClass | $projection.AssetClass = _AssetClass.AssetClass |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..*] | I_AssetClassText | _Text | $projection.AssetClass = _Text.AssetClass |
| [0..1] | I_Language | _Language | $projection.language = _Language.Language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Asset class by company code | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | AssetClass | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Search.searchable | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_FIXEDASSET_AI | UI_FIXEDASSET_AI | V4 | C1 | NOT_RELEASED |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | AssetClass | AssetClass | ||
| AssetClassName | ||||
| Language | ||||
| CompanyCodeName | _CompanyCode | CompanyCodeName | ||
| _CompanyCode | _CompanyCode | |||
| _AssetClass | _AssetClass | |||
| _Text | _Text | |||
| _Language | _Language |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@EndUserText.label: 'Asset class by company code'
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel: { representativeKey: 'AssetClass',
usageType.serviceQuality: #C,
usageType.sizeCategory: #S,
usageType.dataClass: #CUSTOMIZING }
@Metadata.allowExtensions: true
@ObjectModel.dataCategory:#VALUE_HELP
@Search.searchable: true
define view entity I_AssetClassByCompanyCodeVH
as select from P_TF_AssetClassByCompanyCode( P_SAPClient: $session.client )
association [0..1] to I_AssetClass as _AssetClass on $projection.AssetClass = _AssetClass.AssetClass
association [1..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
association [0..*] to I_AssetClassText as _Text on $projection.AssetClass = _Text.AssetClass
association [0..1] to I_Language as _Language on $projection.language = _Language.Language
{
@ObjectModel.foreignKey.association: '_CompanyCode'
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_CompanyCodeStdVH', element: 'CompanyCode' } } ]
@ObjectModel.text.element: ['CompanyCodeName']
key CompanyCode,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.82
@Search.ranking: #HIGH
key AssetClass,
// FixedAssetGroup, //Not supported with inactive BF
// AssetScreenLayout, //Not supported with inactive BF
// AssetClassDownPaymentIsAllowed, //Not supported with inactive BF
// AssetClassIsBlocked, //Not supported with inactive BF
// InventoryIsCounted, //Not supported with inactive BF
// FixedAssetPropertyType, //Not supported with inactive BF
// PropertyClass, //Not supported with inactive BF
// AreaSizeUnit, //Not supported with inactive BF
@Semantics.text
_AssetClass._Text[1:Language = $session.system_language].AssetClassName,
@ObjectModel.foreignKey.association: '_Language'
@Consumption: {filter.hidden: true, hidden: true}
_AssetClass._Text[1:Language = $session.system_language].Language,
@Semantics.text: true
_CompanyCode.CompanyCodeName,
_CompanyCode,
_AssetClass,
_Text,
_Language
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA