I_FixedAssetWorklist

DDL: I_FIXEDASSETWORKLIST Type: view COMPOSITE

Interface View for Fixed Asset Worklist

I_FixedAssetWorklist is a Composite CDS View (Dimension) that provides data about "Interface View for Fixed Asset Worklist" in SAP S/4HANA. It reads from 2 data sources (I_FixedAsset, I_FixedAssetAssgmt) and exposes 116 fields with key fields MasterFixedAsset, FixedAsset, CompanyCode, ValidityEndDate. It has 4 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_FixedAsset an from
I_FixedAssetAssgmt az inner

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_FixedAssetFinDataCmpltns _FixedAssetFinDataCmpltns an.FixedAssetFinDataCmpltns = _FixedAssetFinDataCmpltns.FixedAssetFinDataCmpltns
[0..1] I_FixedAssetStatus _FixedAssetStatus $projection.Status = _FixedAssetStatus.Status
[0..1] I_TaxJurisCalcProcedure _TaxJurisdictionCalcProcedure $projection.taxcalculationprocedure = _TaxJurisdictionCalcProcedure.TaxJurisdictionCalcProcedure
[0..1] I_TaxJurisdiction _TaxJurisdiction $projection.TaxJurisdiction = _TaxJurisdiction.TaxJurisdiction and $projection.taxcalculationprocedure = _TaxJurisdiction.TaxJurisdictionCalcProcedure

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IFASSETLIST view
AbapCatalog.preserveKey true view
Analytics.dataCategory #DIMENSION view
EndUserText.label Interface View for Fixed Asset Worklist view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey FixedAsset view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view

Fields (116)

KeyFieldSource TableSource FieldDescription
KEY MasterFixedAsset I_FixedAsset MasterFixedAsset
KEY FixedAsset I_FixedAsset FixedAsset
KEY CompanyCode I_FixedAsset CompanyCode
KEY ValidityEndDate I_FixedAssetAssgmt ValidityEndDate
LastChangeDate LastChangeDate
ControllingArea I_FixedAssetAssgmt ControllingArea
FixedAssetExternalID I_FixedAsset FixedAssetExternalID
FixedAssetDescription FixedAssetDescription
FixedAssetFinDataCmpltns I_FixedAsset FixedAssetFinDataCmpltns
InventoryNote InventoryNote
InvestmentReason InvestmentReason
AccountIsMarkedForDeletion AccountIsMarkedForDeletion
AccountIsBlockedForPosting I_FixedAsset AccountIsBlockedForPosting
AcquisitionValueDate AcquisitionValueDate
OriginalFixedAssetValueDate OriginalFixedAssetValueDate
InvestmentProjectWBSElement InvestmentProjectWBSElement
OriginalAcquisitionFiscalYear OriginalAcquisitionFiscalYear
AssetUnderConstIsInvmtMsr AssetUnderConstIsInvmtMsr
LastRetirementValueDate LastRetirementValueDate
LastChangedByUser LastChangedByUser
OriginalMasterFixedAsset OriginalMasterFixedAsset
OriginalFixedAsset OriginalFixedAsset
AssetCapitalizationDate AssetCapitalizationDate
AssetClass I_FixedAsset AssetClass
FixedAssetGroup FixedAssetGroup
FixedAssetOrderDate FixedAssetOrderDate
AssetDeactivationDate AssetDeactivationDate
InvestmentOrder InvestmentOrder
NoticeOfAssessmentTaxID NoticeOfAssessmentTaxID
LastAssessmentNoticeDate LastAssessmentNoticeDate
FixedAssetPropertyType FixedAssetPropertyType
CreationDate I_FixedAsset CreationDate
CreatedByUser I_FixedAsset CreatedByUser
AreaSizeUnit AreaSizeUnit
Group5AssetEvaluationKey Group5AssetEvaluationKey
PlannedRetirementDate PlannedRetirementDate
ManualDepreciationReason ManualDepreciationReason
AssetManufacturerName AssetManufacturerName
InventoryIsCounted InventoryIsCounted
Inventory Inventory
LastInventoryDate LastInventoryDate
AssetAccountDetermination AssetAccountDetermination
AssetCountryOfOrigin AssetCountryOfOrigin
LastReorganizationDate LastReorganizationDate
LegacyDataTransferDate LegacyDataTransferDate
AssetSupplierName I_FixedAsset AssetSupplierName
Supplier I_FixedAsset Supplier
BaseUnit BaseUnit
Quantity Quantity
Group1AssetEvaluationKey Group1AssetEvaluationKey
Group2AssetEvaluationKey Group2AssetEvaluationKey
Group3AssetEvaluationKey Group3AssetEvaluationKey
Group4AssetEvaluationKey Group4AssetEvaluationKey
AssetSerialNumber AssetSerialNumber
AssetTypeName AssetTypeName
EnvrnmtlInvestmentReason EnvrnmtlInvestmentReason
PartnerCompany PartnerCompany
IsGroupAsset IsGroupAsset
IsLineItemSettled IsLineItemSettled
FirstAcquisitionFiscalYear FirstAcquisitionFiscalYear
FirstAcquisitionFiscalPeriod FirstAcquisitionFiscalPeriod
GrantID I_FixedAssetAssgmt GrantID
Room I_FixedAssetAssgmt Room
BudgetPeriod I_FixedAssetAssgmt BudgetPeriod
ValidityStartDate I_FixedAssetAssgmt ValidityStartDate
InternalOrder I_FixedAssetAssgmt InternalOrder
FundsCenter I_FixedAssetAssgmt FundsCenter
FunctionalArea I_FixedAssetAssgmt FunctionalArea
Fund I_FixedAssetAssgmt Fund
BusinessArea I_FixedAssetAssgmt BusinessArea
MaintenanceOrder I_FixedAssetAssgmt MaintenanceOrder
RealEstateObject I_FixedAssetAssgmt REInternalFinNumber
WBSElementInternalID I_FixedAssetAssgmt WBSElementInternalID_2
VehicleLicensePlateNumber I_FixedAssetAssgmt VehicleLicensePlateNumber
CostCenter I_FixedAssetAssgmt CostCenter
ResponsibleCostCenter I_FixedAssetAssgmt ResponsibleCostCenter
CostCtrActivityType I_FixedAssetAssgmt CostCtrActivityType
PersonnelNumber I_FixedAssetAssgmt PersonnelNumber
ProfitCenter I_FixedAssetAssgmt ProfitCenter
Segment I_FixedAssetAssgmt Segment
AssetLocation I_FixedAssetAssgmt AssetLocation
FunctionalLocation I_FixedAssetAssgmt FunctionalLocation
TaxJurisdiction I_FixedAssetAssgmt TaxJurisdiction
TaxCalculationProcedure
Plant I_FixedAssetAssgmt Plant
IsShutDown I_FixedAssetAssgmt IsShutDown
ShiftOperationFactor I_FixedAssetAssgmt ShiftOperationFactor
_CompanyCode I_FixedAsset _CompanyCode
_ControllingArea _ControllingArea
_MasterFixedAsset I_FixedAsset _MasterFixedAsset
_AssetClass I_FixedAsset _AssetClass
_FunctionalLocation _FunctionalLocation
_CostCenter _CostCenter
_ProfitCenter _ProfitCenter
_AssetAccountDetermination _AssetAccountDetermination
_TaxJurisdiction _TaxJurisdiction
_TaxJurisdictionCalcProcedure _TaxJurisdictionCalcProcedure
_Plant _Plant
_BusinessArea _BusinessArea
_InternalOrder _InternalOrder
_MaintenanceOrder _MaintenanceOrder
_Segment _Segment
_FunctionalArea _FunctionalArea
_FixedAssetPropertyType _FixedAssetPropertyType
_ManualDepreciationReason _ManualDepreciationReason
_Group1AssetEvaluationKey _Group1AssetEvaluationKey
_Group2AssetEvaluationKey _Group2AssetEvaluationKey
_Group3AssetEvaluationKey _Group3AssetEvaluationKey
_Group4AssetEvaluationKey _Group4AssetEvaluationKey
_Group5AssetEvaluationKey _Group5AssetEvaluationKey
_InvestmentReason _InvestmentReason
_EnvrnmtlInvestmentReason _EnvrnmtlInvestmentReason
_FixedAssetFinDataCmpltns _FixedAssetFinDataCmpltns
_FixedAssetStatus _FixedAssetStatus
_Supplier _Supplier
_AssetLocation _AssetLocation
@AbapCatalog: {sqlViewName: 'IFASSETLIST', preserveKey: true}
@Analytics: { dataCategory: #DIMENSION }
@EndUserText.label: 'Interface View for Fixed Asset Worklist'
@VDM.viewType: #COMPOSITE     //needs to be a BASIC view though it´s a COMPOSITE. Reason: Extension Include I_FixedAssetWorklist...

@AccessControl.authorizationCheck: #CHECK
@ObjectModel: { representativeKey: 'FixedAsset',
                usageType.serviceQuality: #C,
                usageType.sizeCategory: #XXL,
                usageType.dataClass: #MIXED }
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata: {ignorePropagatedAnnotations: true, allowExtensions: true}

define view I_FixedAssetWorklist

  as select from I_FixedAsset       as an
    inner join   I_FixedAssetAssgmt as az on  an.CompanyCode      = az.CompanyCode
                                          and an.MasterFixedAsset = az.MasterFixedAsset
                                          and an.FixedAsset       = az.FixedAsset
  //left outer join I_Supplier         as supplier on an.Supplier = supplier.Supplier



  // Association for additional descriptions of ID Elements

  association [0..1] to I_FixedAssetFinDataCmpltns as _FixedAssetFinDataCmpltns     on  an.FixedAssetFinDataCmpltns = _FixedAssetFinDataCmpltns.FixedAssetFinDataCmpltns
  association [0..1] to I_FixedAssetStatus         as _FixedAssetStatus             on  $projection.Status = _FixedAssetStatus.Status
  association [0..1] to I_TaxJurisCalcProcedure    as _TaxJurisdictionCalcProcedure on  $projection.taxcalculationprocedure = _TaxJurisdictionCalcProcedure.TaxJurisdictionCalcProcedure
  association [0..1] to I_TaxJurisdiction          as _TaxJurisdiction              on  $projection.TaxJurisdiction         = _TaxJurisdiction.TaxJurisdiction
                                                                                    and $projection.taxcalculationprocedure = _TaxJurisdiction.TaxJurisdictionCalcProcedure
{

      @ObjectModel.foreignKey.association: '_MasterFixedAsset'
  key an.MasterFixedAsset,
  key an.FixedAsset,
      @ObjectModel.foreignKey.association: '_CompanyCode'
  key an.CompanyCode,
      @Semantics.businessDate.to: true
  key az.ValidityEndDate,

      @Semantics.businessDate.at: true
      LastChangeDate,
      case when AssetCapitalizationDate <> '00000000' and AssetDeactivationDate = '00000000'
           then cast('1' as domvalue_l)
           else cast('0' as domvalue_l)
           end                  as IsCapitalized, // technical field for counting capitalizied assets

      @ObjectModel.foreignKey.association: '_FixedAssetStatus'
      case when AssetDeactivationDate <> '00000000' then cast('3' as domvalue_l) //3-Retired

           when AssetCapitalizationDate <> '00000000' and FixedAssetFinDataCmpltns = '0' then cast('2' as domvalue_l)  //2-Capitalized

           when AssetCapitalizationDate = '00000000' and FixedAssetFinDataCmpltns = '0' then cast('0' as domvalue_l) //0-In Process

           when AssetCapitalizationDate <> '00000000' and FixedAssetFinDataCmpltns <> '0' then cast('4' as domvalue_l) //4-Incomplete Capitalized

           when AssetCapitalizationDate = '00000000' and FixedAssetFinDataCmpltns <> '0' then cast('1' as domvalue_l) //1-Incomplete In Process

           else cast('1' as domvalue_l) //1-Incomplete In Process

        end                     as Status,
      @ObjectModel.foreignKey.association: '_ControllingArea'
      az.ControllingArea,
      an.FixedAssetExternalID,
      FixedAssetDescription,
      @ObjectModel.foreignKey.association: '_FixedAssetFinDataCmpltns'
      an.FixedAssetFinDataCmpltns,
      InventoryNote,
      @ObjectModel.foreignKey.association: '_InvestmentReason'
      InvestmentReason,
      AccountIsMarkedForDeletion,
      an.AccountIsBlockedForPosting,
      AcquisitionValueDate,
      OriginalFixedAssetValueDate,
      InvestmentProjectWBSElement,
      OriginalAcquisitionFiscalYear,
      AssetUnderConstIsInvmtMsr,
      LastRetirementValueDate,
      LastChangedByUser,
      OriginalMasterFixedAsset,
      OriginalFixedAsset,
      AssetCapitalizationDate,
      @ObjectModel.foreignKey.association: '_AssetClass'
      an.AssetClass,
      FixedAssetGroup,
      FixedAssetOrderDate,
      AssetDeactivationDate,
      InvestmentOrder,
      NoticeOfAssessmentTaxID,
      LastAssessmentNoticeDate,
      @ObjectModel.foreignKey.association: '_FixedAssetPropertyType'
      FixedAssetPropertyType,
      @Semantics.businessDate.at: true
      an.CreationDate,
      an.CreatedByUser,
      AreaSizeUnit,
      @ObjectModel.foreignKey.association: '_Group5AssetEvaluationKey'
      Group5AssetEvaluationKey,
      PlannedRetirementDate,
      @ObjectModel.foreignKey.association: '_ManualDepreciationReason'
      ManualDepreciationReason,
      AssetManufacturerName,
      InventoryIsCounted,
      Inventory,
      LastInventoryDate,
      @ObjectModel.foreignKey.association: '_AssetAccountDetermination'
      AssetAccountDetermination,
      AssetCountryOfOrigin,
      LastReorganizationDate,
      LegacyDataTransferDate,
      //      case an.Supplier

      //        when ''

      //          then an.AssetSupplierName

      //        else supplier.SupplierName

      //      end                                          as  AssetSupplierName,

      an.AssetSupplierName      as AssetSupplierName,
      an.Supplier,
      BaseUnit,
      @Semantics.quantity.unitOfMeasure: 'BaseUnit'
      Quantity,
      @ObjectModel.foreignKey.association: '_Group1AssetEvaluationKey'
      Group1AssetEvaluationKey,
      @ObjectModel.foreignKey.association: '_Group2AssetEvaluationKey'
      Group2AssetEvaluationKey,
      @ObjectModel.foreignKey.association: '_Group3AssetEvaluationKey'
      Group3AssetEvaluationKey,
      @ObjectModel.foreignKey.association: '_Group4AssetEvaluationKey'
      Group4AssetEvaluationKey,
      AssetSerialNumber,
      AssetTypeName,
      @ObjectModel.foreignKey.association: '_EnvrnmtlInvestmentReason'
      EnvrnmtlInvestmentReason,
      PartnerCompany,
      IsGroupAsset,
      IsLineItemSettled,
      FirstAcquisitionFiscalYear,
      FirstAcquisitionFiscalPeriod,

      az.GrantID,
      az.Room,
      az.BudgetPeriod,
      @Semantics.businessDate.from: true
      az.ValidityStartDate,
      @ObjectModel.foreignKey.association: '_InternalOrder'
      az.InternalOrder,
      az.FundsCenter,
      @ObjectModel.foreignKey.association: '_FunctionalArea'
      az.FunctionalArea,
      az.Fund,
      @ObjectModel.foreignKey.association: '_BusinessArea'
      az.BusinessArea,
      @ObjectModel.foreignKey.association: '_MaintenanceOrder'
      az.MaintenanceOrder,
      az.REInternalFinNumber    as RealEstateObject,
      az.WBSElementInternalID_2 as WBSElementInternalID,
      az.VehicleLicensePlateNumber,
      @ObjectModel.foreignKey.association: '_CostCenter'
      az.CostCenter,
      az.ResponsibleCostCenter,
      az.CostCtrActivityType,
      az.PersonnelNumber,
      @ObjectModel.foreignKey.association: '_ProfitCenter'
      az.ProfitCenter,
      @ObjectModel.foreignKey.association: '_Segment'
      az.Segment,
      az.AssetLocation,
      @ObjectModel.foreignKey.association: '_FunctionalLocation'
      az.FunctionalLocation,
      @ObjectModel.foreignKey.association: '_TaxJurisdiction'
      az.TaxJurisdiction,
      @ObjectModel.foreignKey.association: '_TaxJurisdictionCalcProcedure'
      an._CompanyCode._Country.TaxCalculationProcedure,
      @ObjectModel.foreignKey.association: '_Plant'
      az.Plant,
      az.IsShutDown,
      az.ShiftOperationFactor,

      an._CompanyCode,
      _ControllingArea,
      an._MasterFixedAsset,
      an._AssetClass,


      //Associations

      _FunctionalLocation,
      _CostCenter,
      _ProfitCenter,
      _AssetAccountDetermination,
      _TaxJurisdiction,
      _TaxJurisdictionCalcProcedure,
      _Plant,
      _BusinessArea,
      _InternalOrder,
      _MaintenanceOrder,
      _Segment,
      _FunctionalArea,
      _FixedAssetPropertyType,
      _ManualDepreciationReason,
      _Group1AssetEvaluationKey,
      _Group2AssetEvaluationKey,
      _Group3AssetEvaluationKey,
      _Group4AssetEvaluationKey,
      _Group5AssetEvaluationKey,
      _InvestmentReason,
      _EnvrnmtlInvestmentReason,
      _FixedAssetFinDataCmpltns,
      _FixedAssetStatus,
      _Supplier,
      _AssetLocation



}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"I_COUNTRY",
"I_FIXEDASSET",
"I_FIXEDASSETASSGMT"
],
"ASSOCIATED":
[
"I_ASSETACCTDETERMINATION",
"I_ASSETCLASS",
"I_BUSINESSAREA",
"I_COMPANYCODE",
"I_CONTROLLINGAREA",
"I_COSTCENTER",
"I_ENVRNMTLINVESTMENTREASON",
"I_FIXEDASSETFINDATACMPLTNS",
"I_FIXEDASSETPROPERTYTYPE",
"I_FIXEDASSETSTATUS",
"I_FUNCTIONALAREA",
"I_FUNCTIONALLOCATION",
"I_GROUP1ASSETEVALUATIONKEY",
"I_GROUP2ASSETEVALUATIONKEY",
"I_GROUP3ASSETEVALUATIONKEY",
"I_GROUP4ASSETEVALUATIONKEY",
"I_GROUP5ASSETEVALUATIONKEY",
"I_INTERNALORDER",
"I_INVESTMENTREASON",
"I_LOCATION",
"I_MAINTENANCEORDER",
"I_MANUALDEPRECIATIONREASON",
"I_MASTERFIXEDASSET",
"I_PLANT",
"I_PROFITCENTER",
"I_SEGMENT",
"I_SUPPLIER",
"I_TAXJURISCALCPROCEDURE",
"I_TAXJURISDICTION"
],
"BASE":
[
"I_FIXEDASSET",
"I_FIXEDASSETASSGMT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/