I_GlobAssetAssignment

DDL: I_GLOBASSETASSIGNMENT SQL: IGFASSETASSGMT Type: view BASIC

Country/Region Specific Fixed Asset Assignment

I_GlobAssetAssignment is a Basic CDS View that provides data about "Country/Region Specific Fixed Asset Assignment" in SAP S/4HANA. It reads from 1 data source (P_GlobAssetAssignment) and exposes 51 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, ValidityEndDate. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_GlobAssetAssignment P_GlobAssetAssignment from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_FixedAsset _FixedAsset $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[0..1] I_Country _Country $projection.Country = _Country.Country
[0..1] I_MasterFixedAsset _MasterFixedAsset $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IGFASSETASSGMT view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Country/Region Specific Fixed Asset Assignment view
VDM.viewType #BASIC 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 (51)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode
KEY MasterFixedAsset MasterFixedAsset
KEY FixedAsset FixedAsset
KEY ValidityEndDate ValidityEndDate
ValidityStartDate ValidityStartDate
RU_AssetShutdownReason RU_AssetShutdownReason
RU_AssetShutdownDocument RU_AssetShutdownDocument
RU_AssetIsPledged RU_AssetIsPledged
RU_AssetPledgeAmountInLocCrcy RU_AssetPledgeAmountInLocCrcy
RU_AssetPledgee RU_AssetPledgee
RU_AssetPledgeDocumentNumber RU_AssetPledgeDocumentNumber
RU_AssetInventoryCardNumber RU_AssetInventoryCardNumber
RU_AssetOKOF RU_AssetOKOF
RU_AssetDepreciationGroup RU_AssetDepreciationGroup
RU_AssetTaxOfficeCode RU_AssetTaxOfficeCode
RU_AssetSZPKIsApplied RU_AssetSZPKIsApplied
RU_AssetPropertyType RU_AssetPropertyType
RU_PropertyTaxOKTMO RU_PropertyTaxOKTMO
RU_PropertyTaxSpecialCategory RU_PropertyTaxSpecialCategory
RU_PropertyTaxRateReduction RU_PropertyTaxRateReduction
RU_PropertyTaxAmtReduction RU_PropertyTaxAmtReduction
RU_PropertyTaxExemption RU_PropertyTaxExemption
RU_PropertyTaxObjectNumber RU_PropertyTaxObjectNumber
RU_PropertyTaxObjectNumberType RU_PropertyTaxObjectNumberType
RU_PrptyCadastrAmtInLoclCrcy RU_PrptyCadastrAmtInLoclCrcy
RU_AssetCommonPropertyShare RU_AssetCommonPropertyShare
RU_RoomFloorAreaInSquareMeter RU_RoomFloorAreaInSquareMeter
RU_RoomBuildFloorAreaInSqMtr RU_RoomBuildFloorAreaInSqMtr
RU_AssetIsRealEstate RU_AssetIsRealEstate
RU_TransportTaxPowerUnit RU_TransportTaxPowerUnit
RU_TranspTaxBaseQtyInBaseUnit RU_TranspTaxBaseQtyInBaseUnit
RU_TransportTaxExemption RU_TransportTaxExemption
RU_TransportTaxReduction RU_TransportTaxReduction
RU_VehicleStolenDate RU_VehicleStolenDate
RU_VehicleReturnDate RU_VehicleReturnDate
RU_VehicleRegistrationDate RU_VehicleRegistrationDate
RU_VehicleCancellationDate RU_VehicleCancellationDate
RU_TransportTaxOKTMO RU_TransportTaxOKTMO
RU_VehicleLicensePlateNumber RU_VehicleLicensePlateNumber
RU_TranspTxAmtReduction RU_TranspTxAmtReduction
RU_VehTranspTxPriceCategory RU_VehTranspTxPriceCategory
RU_VehicleIsRegisteredInPlaton RU_VehicleIsRegisteredInPlaton
RU_TransptCommonOwnershipShare RU_TransptCommonOwnershipShare
CN_CADEFixedAssetUsage CN_CADEFixedAssetUsage
Currency Currency
Country Country
_FixedAsset _FixedAsset
_CompanyCode _CompanyCode
_Country _Country
_MasterFixedAsset _MasterFixedAsset
_Currency _Currency
@AbapCatalog.sqlViewName: 'IGFASSETASSGMT'
//@Analytics: { dataCategory: #DIMENSION, dataExtraction.enabled: true }

@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Country/Region Specific Fixed Asset Assignment'
@VDM.viewType: #BASIC
@ObjectModel: { representativeKey: 'FixedAsset',
                usageType.serviceQuality: #C,
                usageType.sizeCategory: #XXL,
                usageType.dataClass: #MIXED }
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata: {ignorePropagatedAnnotations: true, allowExtensions: true}

define view I_GlobAssetAssignment
  as select from P_GlobAssetAssignment
  //Association with Asset Master Reference

  association [1..1] to I_FixedAsset       as _FixedAsset       on  $projection.CompanyCode      = _FixedAsset.CompanyCode
                                                                and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset
                                                                and $projection.FixedAsset       = _FixedAsset.FixedAsset

  association [0..1] to I_CompanyCode      as _CompanyCode      on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [0..1] to I_Currency         as _Currency         on  $projection.Currency = _Currency.Currency
  association [0..1] to I_Country          as _Country          on  $projection.Country = _Country.Country
  association [0..1] to I_MasterFixedAsset as _MasterFixedAsset on  $projection.CompanyCode      = _MasterFixedAsset.CompanyCode
                                                                and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
{
      //Key Fields

      @ObjectModel.foreignKey.association: '_CompanyCode'
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_CompanyCodeStdVH', element: 'CompanyCode' } } ]
  key CompanyCode,
      @ObjectModel.foreignKey.association: '_MasterFixedAsset'
      @Consumption.valueHelpDefinition: [ { entity: { name: 'I_MasterFixedAssetStdVH', element: 'MasterFixedAsset' },
                                            additionalBinding:  [ { localElement: 'CompanyCode', element:'CompanyCode' } ]
                                        } ]
  key MasterFixedAsset,
  key FixedAsset,
      @Semantics.businessDate.to: true
  key ValidityEndDate,
      //Relevant Fields

      @Semantics.businessDate.from: true
      ValidityStartDate,

      //RU General Data

      RU_AssetShutdownReason,
      RU_AssetShutdownDocument,
      RU_AssetIsPledged,
      @Semantics.amount.currencyCode: 'Currency'
      @DefaultAggregation:#NONE
      RU_AssetPledgeAmountInLocCrcy,
      RU_AssetPledgee,
      RU_AssetPledgeDocumentNumber,
      RU_AssetInventoryCardNumber,
      RU_AssetOKOF,
      RU_AssetDepreciationGroup,
      RU_AssetTaxOfficeCode,
      RU_AssetSZPKIsApplied,

      //RU Property Tax

      RU_AssetPropertyType,
      RU_PropertyTaxOKTMO,
      RU_PropertyTaxSpecialCategory,
      RU_PropertyTaxRateReduction,
      RU_PropertyTaxAmtReduction,
      RU_PropertyTaxExemption,
      RU_PropertyTaxObjectNumber,
      RU_PropertyTaxObjectNumberType,

      @Semantics.amount.currencyCode: 'Currency'
      @DefaultAggregation:#NONE
      RU_PrptyCadastrAmtInLoclCrcy,
      RU_AssetCommonPropertyShare,
      RU_RoomFloorAreaInSquareMeter,
      RU_RoomBuildFloorAreaInSqMtr,
      RU_AssetIsRealEstate,

      //RU Transport Tax

      RU_TransportTaxPowerUnit,
      @Semantics.quantity.unitOfMeasure: 'RU_TransportTaxPowerUnit'
      @DefaultAggregation:#NONE
      RU_TranspTaxBaseQtyInBaseUnit,
      RU_TransportTaxExemption,
      RU_TransportTaxReduction,
      RU_VehicleStolenDate,
      RU_VehicleReturnDate,
      RU_VehicleRegistrationDate,
      RU_VehicleCancellationDate,
      RU_TransportTaxOKTMO,
      RU_VehicleLicensePlateNumber,
      RU_TranspTxAmtReduction,
      RU_VehTranspTxPriceCategory,
      RU_VehicleIsRegisteredInPlaton,
      RU_TransptCommonOwnershipShare,

      // CN CADE

      CN_CADEFixedAssetUsage,

      @Semantics.currencyCode: true
      @ObjectModel.foreignKey.association: '_Currency'
      Currency,

      @ObjectModel.foreignKey.association: '_Country'
      Country,

      // Define association to parent

      @ObjectModel.association.type: [ #TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT ]
      _FixedAsset,
      _CompanyCode,
      _Country,
      _MasterFixedAsset,
      _Currency
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_GLOBASSETASSIGNMENT"
],
"ASSOCIATED":
[
"I_COMPANYCODE",
"I_COUNTRY",
"I_CURRENCY",
"I_FIXEDASSET",
"I_MASTERFIXEDASSET"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/