I_FundsMgmtFunctionalAreaTP

DDL: I_FUNDSMGMTFUNCTIONALAREATP SQL: IFMFUNCAREATP Type: view TRANSACTIONAL

Manage Functional Area

I_FundsMgmtFunctionalAreaTP is a Transactional CDS View that provides data about "Manage Functional Area" in SAP S/4HANA. It reads from 1 data source (I_FundsMgmtFunctionalArea) and exposes 22 fields with key field FunctionalArea. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_FundsMgmtFunctionalArea iFmFunctionalArea from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_FndsMgmtFunctionalArea _Extension $projection.FunctionalArea = _Extension.FunctionalArea

Annotations (23)

NameValueLevelField
AbapCatalog.sqlViewName IFMFUNCAREATP view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Manage Functional Area view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.createEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.representativeKey FunctionalArea view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.writeDraftPersistence FMFUNCAREA_DRAFT view
ObjectModel.entityChangeStateId EXTERNAL_CALCULATION view
ObjectModel.lifecycle.draft.expiryBehavior #RELATIVE_TO_PROCESSING_START view
ObjectModel.lifecycle.draft.expiryInterval P5D view
ObjectModel.sapObjectNodeType.name FunctionalArea view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY FunctionalArea I_FundsMgmtFunctionalArea FunctionalArea
FunctionalAreaForEdit I_FundsMgmtFunctionalArea FunctionalArea
FunctionalAreaAuthznGrp I_FundsMgmtFunctionalArea FunctionalAreaAuthznGrp
ValidityStartDate I_FundsMgmtFunctionalArea ValidityStartDate
ValidityEndDate I_FundsMgmtFunctionalArea ValidityEndDate
ExpirationDate I_FundsMgmtFunctionalArea ExpirationDate
CreatedByUser I_FundsMgmtFunctionalArea CreatedByUser
CreationDate I_FundsMgmtFunctionalArea CreationDate
CreationTime I_FundsMgmtFunctionalArea CreationTime
LastChangedByUser I_FundsMgmtFunctionalArea LastChangedByUser
LastChangeDate I_FundsMgmtFunctionalArea LastChangeDate
LastChangeTime I_FundsMgmtFunctionalArea LastChangeTime
FunctionalAreaSubdivisionID I_FundsMgmtFunctionalArea FunctionalAreaSubdivisionID
FunctionalArea1Subdivision I_FundsMgmtFunctionalArea FunctionalArea1Subdivision
FunctionalArea2Subdivision I_FundsMgmtFunctionalArea FunctionalArea2Subdivision
FunctionalArea3Subdivision I_FundsMgmtFunctionalArea FunctionalArea3Subdivision
FunctionalAreaName
_FunctionalAreaSubdivisionID I_FundsMgmtFunctionalArea _FunctionalAreaSubdivisionID
_FuncArea1Subdivision I_FundsMgmtFunctionalArea _FuncArea1Subdivision
_FuncArea2Subdivision I_FundsMgmtFunctionalArea _FuncArea2Subdivision
_FuncArea3Subdivision I_FundsMgmtFunctionalArea _FuncArea3Subdivision
_FunctionalArea I_FundsMgmtFunctionalArea _FunctionalArea
@AbapCatalog.sqlViewName: 'IFMFUNCAREATP'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Manage Functional Area'

@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@ObjectModel: {
     modelCategory: #BUSINESS_OBJECT,
     createEnabled: true,
     draftEnabled: true,
     representativeKey: 'FunctionalArea',
     semanticKey:  [ 'FunctionalArea' ],
     compositionRoot: true,
     transactionalProcessingEnabled: true,
     updateEnabled: true,
     deleteEnabled: true,
     writeDraftPersistence: 'FMFUNCAREA_DRAFT',
     entityChangeStateId: 'EXTERNAL_CALCULATION',  //'LastChangeDate',

     lifecycle.draft.expiryBehavior: #RELATIVE_TO_PROCESSING_START, 
     lifecycle.draft.expiryInterval: 'P5D',
     sapObjectNodeType.name: 'FunctionalArea',
     usageType: {
        dataClass: #MASTER,
        serviceQuality: #C,
        sizeCategory: #L
     }
}

define view I_FundsMgmtFunctionalAreaTP
       as select from I_FundsMgmtFunctionalArea as iFmFunctionalArea
       
  association [1..1] to E_FndsMgmtFunctionalArea as _Extension  //do not expose this association in the projection list of the view 

       on  $projection.FunctionalArea                       = _Extension.FunctionalArea
              
{
      @ObjectModel.readOnly: true
  key iFmFunctionalArea.FunctionalArea,
      @ObjectModel.enabled:   'EXTERNAL_CALCULATION'
      @ObjectModel.readOnly:  'EXTERNAL_CALCULATION'
      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
      iFmFunctionalArea.FunctionalArea as FunctionalAreaForEdit,
      @ObjectModel.enabled:   'EXTERNAL_CALCULATION'
      @ObjectModel.readOnly:  'EXTERNAL_CALCULATION'
      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
      iFmFunctionalArea.FunctionalAreaAuthznGrp,
      @ObjectModel.enabled:   'EXTERNAL_CALCULATION'
      @ObjectModel.readOnly:  'EXTERNAL_CALCULATION'
      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
      iFmFunctionalArea.ValidityStartDate,
      @ObjectModel.enabled:   'EXTERNAL_CALCULATION'
      @ObjectModel.readOnly:  'EXTERNAL_CALCULATION'
      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
      iFmFunctionalArea.ValidityEndDate,
      @ObjectModel.enabled:   'EXTERNAL_CALCULATION'
      @ObjectModel.readOnly:  'EXTERNAL_CALCULATION'
      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
      iFmFunctionalArea.ExpirationDate,
      @ObjectModel.readOnly: true
      iFmFunctionalArea.CreatedByUser,
      @Semantics.businessDate.createdAt: true
      @ObjectModel.readOnly: true
      iFmFunctionalArea.CreationDate,
      @Semantics.businessDate.createdAt: true
      @ObjectModel.readOnly: true
      iFmFunctionalArea.CreationTime,    
      
      @ObjectModel.readOnly: true
      cast(dats_tims_to_tstmp(iFmFunctionalArea.CreationDate, iFmFunctionalArea.CreationTime, 
      abap_system_timezone($session.client, 'NULL'), $session.client, 'NULL') as fmmd_creation_timestamp preserving type ) as CreationDateTime,
            
      @ObjectModel.readOnly: true
      iFmFunctionalArea.LastChangedByUser,
      @Semantics.businessDate.lastChangedAt: true
      @ObjectModel.readOnly: true
      iFmFunctionalArea.LastChangeDate,
      @Semantics.businessDate.lastChangedAt: true
      @ObjectModel.readOnly: true
      iFmFunctionalArea.LastChangeTime,
           
      @ObjectModel.readOnly: true
      cast(dats_tims_to_tstmp(iFmFunctionalArea.LastChangeDate, iFmFunctionalArea.LastChangeTime, 
      abap_system_timezone($session.client, 'NULL'), $session.client, 'NULL') as fmmd_change_timestamp preserving type ) as LastChangeDateTime,

      // Subdivision fields

      @ObjectModel.enabled:   'EXTERNAL_CALCULATION'
      @ObjectModel.readOnly:  'EXTERNAL_CALCULATION'
      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
      iFmFunctionalArea.FunctionalAreaSubdivisionID,      
      @ObjectModel.enabled:   'EXTERNAL_CALCULATION'
      @ObjectModel.readOnly:  'EXTERNAL_CALCULATION'
      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
      iFmFunctionalArea.FunctionalArea1Subdivision,      
      @ObjectModel.enabled:   'EXTERNAL_CALCULATION'
      @ObjectModel.readOnly:  'EXTERNAL_CALCULATION'
      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
      iFmFunctionalArea.FunctionalArea2Subdivision,      
      @ObjectModel.enabled:   'EXTERNAL_CALCULATION'
      @ObjectModel.readOnly:  'EXTERNAL_CALCULATION'
      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
      iFmFunctionalArea.FunctionalArea3Subdivision,      

      //Text

      @ObjectModel.enabled:   'EXTERNAL_CALCULATION'
      @ObjectModel.readOnly:  'EXTERNAL_CALCULATION'
      @ObjectModel.mandatory: 'EXTERNAL_CALCULATION'
      iFmFunctionalArea._Text[1:Language=$session.system_language].FunctionalAreaName as FunctionalAreaName,

      //This associations

      iFmFunctionalArea._FunctionalAreaSubdivisionID,
      iFmFunctionalArea._FuncArea1Subdivision,
      iFmFunctionalArea._FuncArea2Subdivision,
      iFmFunctionalArea._FuncArea3Subdivision,
      iFmFunctionalArea._FunctionalArea
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_FUNCTIONALAREATEXT",
"I_FUNDSMGMTFUNCTIONALAREA"
],
"ASSOCIATED":
[
"E_FNDSMGMTFUNCTIONALAREA",
"I_FUNCAREA1SUBDIVISION",
"I_FUNCAREA2SUBDIVISION",
"I_FUNCAREA3SUBDIVISION",
"I_FUNCAREASUBDIVISIONBASIC",
"I_FUNCTIONALAREA"
],
"BASE":
[
"I_FUNDSMGMTFUNCTIONALAREA"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/