I_CompanyCodeAsset
Company Code in Asset Accounting
I_CompanyCodeAsset is a Basic CDS View that provides data about "Company Code in Asset Accounting" in SAP S/4HANA. It reads from 1 data source (P_AssetCompanyCode) and exposes 5 fields with key field CompanyCode. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_AssetCompanyCode | P_AssetCompanyCode | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_ChartOfDepreciation | _ChartOfDepreciation | $projection.ChartOfDepreciation = _ChartOfDepreciation.ChartOfDepreciation |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICOMPCODEASSET | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Company Code in Asset Accounting | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| ChartOfDepreciation | ChartOfDepreciation | |||
| CompanyCodeName | _CompanyCode | CompanyCodeName | ||
| _CompanyCode | _CompanyCode | |||
| _ChartOfDepreciation | _ChartOfDepreciation |
@AbapCatalog: {sqlViewName: 'ICOMPCODEASSET', preserveKey: true}
@EndUserText.label: 'Company Code in Asset Accounting'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel: { usageType.serviceQuality: #A,
usageType.sizeCategory: #S,
usageType.dataClass: #CUSTOMIZING,
modelingPattern: #NONE,
supportedCapabilities: [#VALUE_HELP_PROVIDER]
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
define view I_CompanyCodeAsset
as select from P_AssetCompanyCode
association [1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
association [0..1] to I_ChartOfDepreciation as _ChartOfDepreciation on $projection.ChartOfDepreciation = _ChartOfDepreciation.ChartOfDepreciation
{
@ObjectModel.foreignKey.association: '_CompanyCode'
@Consumption.valueHelpDefinition: [ { entity: { name: 'I_CompanyCodeStdVH', element: 'CompanyCode' } } ]
@ObjectModel.text.element: 'CompanyCodeName'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
key CompanyCode,
@ObjectModel.foreignKey.association: '_ChartOfDepreciation'
@VDM.lifecycle: {status: #DEPRECATED}
ChartOfDepreciation, // !!! Do not use any longer !!! (Only supported in OP when business function FAA_CONFIG_REDESIGN_1 is not active (Like asset master worklist))
@Semantics.text
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
_CompanyCode.CompanyCodeName,
//* Asscociations *//
_CompanyCode,
_ChartOfDepreciation
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"P_ASSETCOMPANYCODE"
],
"ASSOCIATED":
[
"I_CHARTOFDEPRECIATION",
"I_COMPANYCODE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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