@Metadata.allowExtensions: false
@VDM: {
viewType: #CONSUMPTION,
usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]
}
@ObjectModel.usageType: {
dataClass: #MASTER,
serviceQuality: #C,
sizeCategory: #M
}
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label : 'Consolidation Unit'
@Metadata.ignorePropagatedAnnotations: true
define root view entity C_CnsldtnUnitTP
provider contract transactional_query
as projection on R_CnsldtnUnitTP as _CnsldtnUnit
{
@Consumption.valueHelpDefinition: [{
entity :{
name:'C_CnsldtnUnitValueHelp_3',
element:'ConsolidationUnit'}
}]
@ObjectModel.text.element: [ 'ConsolidationUnitText' ]
key _CnsldtnUnit.ConsolidationUnit,
@Consumption.valueHelpDefinition: [{
entity :{
name:'I_CountryVH',
element:'Country'}
}]
@EndUserText: {
label: 'Country/Region',
quickInfo: 'Country/Region'
}
@ObjectModel.text.element: [ 'CountryName' ]
@UI.textArrangement: #TEXT_LAST
_CnsldtnUnit.Country,
_CnsldtnUnit.ConsolidationUnitLink,
_CnsldtnUnit.ConsolidationUnitLinkLabel,
@EndUserText: {
label: 'Company',
quickInfo: 'Company'
}
@ObjectModel.text.element: [ 'CompanyName' ]
@UI.textArrangement: #TEXT_LAST
_CnsldtnUnit._Company.Company, //STS - TODO: remove field
@EndUserText: {
label: 'Company Description',
quickInfo: 'Company Description'
}
@Semantics.text:true
_CnsldtnUnit._Company.CompanyName, //STS - TODO: remove field
@UI.hidden: true
_CnsldtnUnit.ETag,
@EndUserText: {
label: 'Country/Region Description',
quickInfo: 'Country/Region Description'
}
@Semantics.text:true
_CnsldtnUnit._Country._Text.CountryName : localized,
@Semantics.text:true
_CnsldtnUnit._Text.ConsolidationUnitText : localized,
// composition definition
_Text as _Text : redirected to composition child C_CnsldtnUnitTextTP,
_CnsldtnUnitByTime as _CnsldtnUnitByTime : redirected to composition child C_CnsldtnUnitByTimeTP,
_CnsldtnUnitByTimeVersion as _CnsldtnUnitByTimeVersion : redirected to composition child C_CnsldtnUnitByTimeVersionTP
}
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"I_COUNTRY",
"I_COUNTRYTEXT",
"I_GLOBALCOMPANY",
"R_CNSLDTNUNITTEXTTP",
"R_CNSLDTNUNITTP"
],
"ASSOCIATED":
[
"C_CNSLDTNUNITBYTIMETP",
"C_CNSLDTNUNITBYTIMEVERSIONTP",
"C_CNSLDTNUNITTEXTTP"
],
"BASE":
[
"R_CNSLDTNUNITTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
C_CnsldtnUnitTP view_entity