@AbapCatalog.sqlViewName: 'PALLOCINFO'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking:#NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #M
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view P_AllocationInformation
as select from I_AllocationInformation
{
//key DatabaseTable,
key AllocationType,
//key AllocationType,
key AllocationPostingType,
key AllocationActualPlanVariant,
key AllocationFieldName,
AllocationFieldType,
SuperiorToField1,
SuperiorToField2,
AllocationCycleFieldActive,
SenderTracingFieldActive,
SenderFieldActive,
ReceiverFieldActive,
ReceiverTracingFieldActive,
AllocationCycleFieldGroup,
SenderTracingFieldGroup,
SenderFieldGroup,
ReceiverFieldGroup,
ReceiverTracingFieldGroup,
AllocationCycleSingleField,
SenderTracingSingleField,
SenderSingleField,
ReceiverSingleField,
ReceiverTracingSingleField,
AllocationCycleFieldInterval,
SenderTracingFieldInterval,
SenderFieldInterval,
ReceiverFieldInterval,
ReceiverTracingFieldInterval,
cast(
case AllocationFieldDisplayPosition
when '00' then '99'
else AllocationFieldDisplayPosition
end as anzpos ) as AllocationFieldDisplayPosition,
@ObjectModel: {
readOnly: true,
virtualElement,
virtualElementCalculatedBy: 'ABAP:CL_FCO_ALLOC_INFO_CDS_EXIT'
}
cast( '' as scrtext_l ) as AllocationFieldLabel,
@ObjectModel: {
readOnly: true,
virtualElement,
virtualElementCalculatedBy: 'ABAP:CL_FCO_ALLOC_INFO_CDS_EXIT'
}
cast( '' as ddleng ) as AllocationFieldLength,
@ObjectModel: {
readOnly: true,
virtualElement,
virtualElementCalculatedBy: 'ABAP:CL_FCO_ALLOC_INFO_CDS_EXIT'
}
cast( '' as /iwbep/sbod_edm_core_type ) as AllocationFieldPropertyType,
@ObjectModel: {
readOnly: true,
virtualElement,
virtualElementCalculatedBy: 'ABAP:CL_FCO_ALLOC_INFO_CDS_EXIT'
}
cast( '' as boolean ) as AllocationFieldIsUppercase,
@ObjectModel: {
readOnly: true,
virtualElement,
virtualElementCalculatedBy: 'ABAP:CL_FCO_ALLOC_INFO_CDS_EXIT'
}
cast( 0 as int4 ) as AllocationFieldDecimalPlaces,
@ObjectModel: {
readOnly: true,
virtualElement,
virtualElementCalculatedBy: 'ABAP:CL_FCO_ALLOC_INFO_CDS_EXIT'
}
cast( 0 as int4 ) as AllocationFieldPrecision,
@ObjectModel: {
readOnly: true,
virtualElement,
virtualElementCalculatedBy: 'ABAP:CL_FCO_ALLOC_INFO_CDS_EXIT'
}
cast( 0 as int4 ) as AllocationFieldScale,
AllocationSearchHelpEntityName,
AllocationSearchHelpOutput,
GroupValueHelpEntityName,
GroupValueHelpOutput,
GroupValueHelpOutputText
// @ObjectModel: {
// readOnly: true,
// virtualElement
// // virtualElementCalculatedBy: 'ABAP:CL_FCO_ALLOC_INFO_CDS_EXIT'
// }
// cast('' as fco_alloc_shlp_entity_name) as AllocationSearchHelpEntityName
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ALLOCATIONINFORMATION"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/