C_FxdAstCoCodeTP
Fixed Asset Company Code
C_FxdAstCoCodeTP is a Consumption CDS View that provides data about "Fixed Asset Company Code" in SAP S/4HANA. It reads from 1 data source (R_FxdAstCoCodeTP) and exposes 14 fields with key field CompanyCode. It is exposed through 1 OData service (UI_CMP_RAP_BO). Part of development package FINS_FAA_CFG_CMP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_FxdAstCoCodeTP | R_FxdAstCoCodeTP | projection |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | Fixed Asset Company Code | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.representativeKey | CompanyCode | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_CMP_RAP_BO | UI_CMP_RAP_BO | V4 | C1 | NOT_RELEASED |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| ChartOfAccounts | _CompanyCode | ChartOfAccounts | ||
| Country | _CompanyCode | Country | ||
| FixedAssetCompanyCodeStatus | FixedAssetCompanyCodeStatus | |||
| IsLocked | IsLocked | Company Code Locked | ||
| FixedAssetLowestClosedFY | _LowestClosedFY | FixedAssetLowestClosedFY | Lowest Closed Fiscal Year in CC | |
| FixedAssetHighestOpenFY | _HighestOpenFY | FixedAssetHighestOpenFY | Highest Open Fiscal Year in CC | |
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Code Name | |
| FixedAssetCompanyCodeStatusTxt | _CompanyCodeStatusText | FixedAssetCompanyCodeStatusTxt | Company Code Status Name | |
| ChartOfAccountsName | ||||
| _CompanyCodeStatusText | _CompanyCodeStatusText | |||
| _CompanyCode | _CompanyCode | |||
| _HighestOpenFY | _HighestOpenFY | |||
| _LowestClosedFY | _LowestClosedFY |
@AccessControl.authorizationCheck: #MANDATORY
@Metadata.allowExtensions: true
@EndUserText.label: 'Fixed Asset Company Code'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #S,
dataClass: #MIXED
}
//@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'CompanyCode'
@VDM.viewType: #CONSUMPTION
@VDM.usage.type: [ #TRANSACTIONAL_PROCESSING_SERVICE ]
@Search.searchable: true
@AccessControl.privilegedAssociations: [ '_ChangeDocuments' ]
define root view entity C_FxdAstCoCodeTP
provider contract transactional_query as projection on R_FxdAstCoCodeTP
{
@Consumption.valueHelpDefault.display: true
@Consumption.valueHelpDefinition: [{
entity: {
name: 'I_FxdAstCoCodeVH',
element: 'CompanyCode' }}]
@ObjectModel.text.element: ['CompanyCodeName']
@Search.defaultSearchElement: true
@Search.ranking: #HIGH
@Consumption.filter.defaultValue: '1010'
key CompanyCode,
@ObjectModel.text.element: ['ChartOfAccountsName']
@Search.defaultSearchElement: true
_CompanyCode.ChartOfAccounts as ChartOfAccounts,
@Search.defaultSearchElement: true
_CompanyCode.Country,
@Consumption.valueHelpDefault.display: false
@Consumption.valueHelpDefinition: [{
entity: {
name: 'I_FixedAssetCompanyCodeStatus',
element: 'FixedAssetCompanyCodeStatus' }}]
@ObjectModel.text.element: ['FixedAssetCompanyCodeStatusTxt']
@Search.defaultSearchElement: true
FixedAssetCompanyCodeStatus,
@EndUserText.label: 'Company Code Locked'
@Search.defaultSearchElement: true
IsLocked,
@EndUserText.label: 'Lowest Closed Fiscal Year in CC'
_LowestClosedFY.FixedAssetLowestClosedFY,
@EndUserText.label: 'Highest Open Fiscal Year in CC'
_HighestOpenFY.FixedAssetHighestOpenFY,
@EndUserText.label: 'Company Code Name'
_CompanyCode.CompanyCodeName,
@EndUserText.label: 'Company Code Status Name'
@UI.hidden: true
_CompanyCodeStatusText.FixedAssetCompanyCodeStatusTxt,
_CompanyCode._ChartOfAccountsText[ 1: Language = $session.system_language ].ChartOfAccountsName as ChartOfAccountsName,
// /* Associations */
_LegacyDataTransfer : redirected to composition child C_FxdAstCoCodeLgcyDtaTransfTP,
_Ledger : redirected to composition child C_FxdAstCoCodeLdgrTP,
_CompanyCodeStatusText,
_CompanyCode,
_HighestOpenFY,
_LowestClosedFY,
_ChangeDocuments:redirected to C_ChangeDocument_2
}
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