I_ASSETCLASSBYCOMPANYCODE
Asset Class related to Company Code
I_ASSETCLASSBYCOMPANYCODE is a CDS View in S/4HANA. Asset Class related to Company Code. It contains 2 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_AssetClassWithAccountAssgmt | view | left_outer | CONSUMPTION | Fixed Asset with Account Assignment |
Fields (2)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | AssetClass | AssetClass | 1 |
| AssetClassName | AssetClassName | 1 |
@AbapCatalog: {sqlViewName: 'ICOMPCODEASSETCL', preserveKey: true}
@EndUserText.label: 'Asset Class related to Company Code'
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #CHECK
@ObjectModel: { representativeKey: 'AssetClass',
usageType.serviceQuality: #C,
usageType.sizeCategory: #S,
usageType.dataClass: #CUSTOMIZING }
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.allowExtensions: true
@Search.searchable: true
define view I_AssetClassByCompanyCode
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' } } ]
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,
_CompanyCode,
_AssetClass,
_Text,
_Language
}