I_ALLOCATIONFIELDDERIVATIONTP

CDS View

Allocation Field Derivation

I_ALLOCATIONFIELDDERIVATIONTP is a CDS View in S/4HANA. Allocation Field Derivation. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_AllocationFieldDerivationTP view from CONSUMPTION Allocation Field Derivation
@AbapCatalog.sqlViewName: 'ALLOCFLDDERIVTP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking:#NOT_REQUIRED

@ClientHandling.algorithm: #SESSION_VARIABLE

@EndUserText.label: 'Allocation Field Derivation'

@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #M

@VDM.viewType: #TRANSACTIONAL

@ObjectModel:
{
  transactionalProcessingEnabled:true,
  writeDraftPersistence: 'ALLOCFLDDERIVTPD',
  semanticKey: ['AllocationType', 'AllocationCycle', 'AllocationCycleStartDate', 'AllocationSetType', 'AllocationFieldName' ],
  createEnabled: true,
  updateEnabled: true,
  deleteEnabled: true
}
define view I_AllocationFieldDerivationTP as 
  select from I_AllocationFieldDerivation
    association [1..1] to I_AllocationCycleTP as _Cycle on  $projection.AllocationType           = _Cycle.AllocationType
                                                        and $projection.AllocationCycle          = _Cycle.AllocationCycle
                                                        and $projection.AllocationCycleStartDate = _Cycle.AllocationCycleStartDate 
{    
    key AllocationType,
    key AllocationCycle,
    key AllocationCycleStartDate,
    key AllocationSetType,
    key AllocationFieldName,
        AllocationFieldIsDerived,
        @UI.hidden: true
        @ObjectModel.readOnly: true
        cast ( '' as scrtext_l ) as AllocationFieldLabel,        
        @ObjectModel.readOnly: true
        cast('' as xfeld) as IsDefaultValue,
        @ObjectModel.association.type:  [ #TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT ]
        _Cycle    
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ALLOCATIONFIELDDERIVATION"
],
"ASSOCIATED":
[
"I_ALLOCATIONCYCLETP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/