I_FUNCTIONALLOCATION

CDS View

Functional Location

I_FUNCTIONALLOCATION is a CDS View in S/4HANA. Functional Location. It contains 39 fields. 30 CDS views read from this table.

CDS Views using this table (30)

ViewTypeJoinVDMDescription
C_FuncLocationPartnerDEX view_entity inner CONSUMPTION Functional Location Partner
C_FunctionalLocation view from CONSUMPTION Functional Location
C_FunctionalLocationDEX view_entity from CONSUMPTION Functional Location Data
C_MaintAstFuncnlLocObjectPage view_entity from CONSUMPTION Tech Obj Hierarchy Func Loc details
C_RSHMaintAssetBoardParAsset view union_all CONSUMPTION View to return Parent Assets
C_TechnicalObjectForEditVH view union_all CONSUMPTION Technical Object Value Help For Edit
I_FlocConstMaterialBom view_entity from BASIC BoM of Functional Location Const. Type
I_FlocConstTypeBoM view_entity from BASIC Construction Material BOM - FLOC
I_FuncnlLocationHierarchyNode view_entity from BASIC Functional Location Hiearchy Interface
I_FuncnlLocStrucList view_entity from COMPOSITE Functional Location Structure List
I_FunctionalLocationData view from COMPOSITE Functional Location Data
I_Functionallocationhierarchy view from BASIC Hierarchy Information between FLOCs
I_FunctionalLocationLabel view from COMPOSITE Functional Location Label
I_FunctionalLocationLongText view_entity from COMPOSITE Long Text for Functional Location
I_FunctionalLocationStdVH view_entity from COMPOSITE Functional Location
I_FunctionalLocationStdVH_2 view_entity from COMPOSITE Functional Location
P_EquiFuncnlLocUnionBreakdown view_entity union_all COMPOSITE Equipment Functional Location Union Breakdown
P_EquipmentFuncnlLocUnion view union_all COMPOSITE Equipment Functional Location Union
P_EquiTimeSegFuncLocationUnion view union_all COMPOSITE Union view of Equipment Time segment and Functional location
P_FunctionalLocationSearch view_entity from BASIC Functional Location Anchor View for CDS Search Model
P_FunctionalLocationStatus view_entity from COMPOSITE Functional Location Status
P_PmBillOfMaterialUnion view inner COMPOSITE Plant Maintenance Bill of Material Union
P_RSHMaintAssetBoard view left_outer CONSUMPTION Maintenance Asset Board
P_RSHMaintAssetBoard view inner CONSUMPTION Maintenance Asset Board
P_RSHMaintAssetBoard view union_all CONSUMPTION Maintenance Asset Board
P_WrntyClaimFunctionalLocation view_entity from COMPOSITE Warranty Claim Functional Location
R_FuncnlLocWrntyAssgmtTP view_entity from TRANSACTIONAL Functional Location Warranty
R_FunctionalLocationLongTextTP view_entity from TRANSACTIONAL Functional Location – Text
R_FunctionalLocationPartnerTP view_entity from TRANSACTIONAL Functional Location Partner
R_FunctionalLocationTP view_entity from TRANSACTIONAL Functional Location

Fields (39)

KeyField CDS FieldsUsed in Views
KEY FunctionalLocation FunctionalLocation,HierarchyNode 12
KEY MaintenancePlanningPlant MaintenancePlanningPlant,Plant 9
AcquisitionDate AcquisitionDate 4
AcquisitionValue AcquisitionValue 3
AssetManufacturerName AssetManufacturerName 4
AuthorizationGroup AuthorizationGroup 7
CatalogProfile CatalogProfile 4
ConstructionMaterial ConstructionMaterial 7
ConstructionMonth ConstructionMonth 4
ConstructionYear ConstructionYear 4
CreatedByUser CreatedByUser 4
CreationDate CreationDate 6
Currency Currency 4
EquipmentInstallationIsAllowed EquipmentInstallationIsAllowed 1
FuncLocationStructure FuncLocationStructure 1
FuncnlLocPosInSuperiorTechObj FuncnlLocPosInSuperiorTechObj 2
FunctionalLocationCategory FunctionalLocationCategory 1
FunctionalLocationEndOfUseDate FunctionalLocationEndOfUseDate 3
FunctionalLocationOID FunctionalLocationOID 1
GrossWeight GrossWeight 3
GrossWeightUnit GrossWeightUnit 4
InventoryNumber InventoryNumber 4
LastChangeDate LastChangeDate 5
LastChangeDateTime LastChangeDateTime 3
LastChangedByUser LastChangedByUser 4
MaintenancePlannerGroup MaintenancePlannerGroup 7
MaintObjectInternalID MaintAssetBoardParentRowObjID,MaintObjectInternalID 6
MaintObjectLocAcctAssgmtNmbr MaintObjectLocAcctAssgmtNmbr 7
ManufacturerCountry ManufacturerCountry 4
ManufacturerPartNmbr ManufacturerPartNmbr 4
ManufacturerPartTypeName ManufacturerPartTypeName 4
ManufacturerSerialNumber ManufacturerSerialNumber 4
OnePieceOfEquipmentIsAllowed OnePieceOfEquipmentIsAllowed 1
OperationStartDate OperationStartDate 5
SizeOrDimensionText SizeOrDimensionText 3
SuperiorFunctionalLocation SuperiorFunctionalLocation 3
TechnicalObjectType TechnicalObjectType 5
WorkCenterInternalID MainWorkCenterInternalID,WorkCenterInternalID 6
WorkCenterTypeCode WorkCenterTypeCode 3
@EndUserText.label: 'Functional Location'
@Analytics: { dataCategory: #DIMENSION }
@VDM.viewType: #BASIC
@AbapCatalog: { sqlViewName: 'IFUNCTLLOCATION', compiler.compareFilter, preserveKey }
@AccessControl.authorizationCheck:#CHECK
@ObjectModel.representativeKey: 'FunctionalLocation'
@ObjectModel.semanticKey:  [ 'FunctionalLocation' ]
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@AccessControl.privilegedAssociations:['_CreatedByUser','_LastChangedByUser','_LocationAccountAssignment', '_Status']
@Metadata: { ignorePropagatedAnnotations, allowExtensions }
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #ANALYTICAL_DIMENSION]

define view I_FunctionalLocation
  as select from iflot
  association [0..1] to I_FunctionalLocationCategory as _FunctionalLocationCategory    on  _FunctionalLocationCategory.FunctionalLocationCategory = $projection.FunctionalLocationCategory
  association [0..1] to I_TechnicalObjectType        as _TechnicalObjectType           on  _TechnicalObjectType.TechnicalObjectType = $projection.TechnicalObjectType
  association [0..1] to I_WorkCenterType             as _WorkCenterType                on  $projection.WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode
  association [0..1] to I_WorkCenter                 as _WorkCenter                    on  _WorkCenter.WorkCenterInternalID = $projection.WorkCenterInternalID
                                                                                       and _WorkCenter.WorkCenterTypeCode   = $projection.WorkCenterTypeCode
  association [0..1] to I_LocationAccountAssignment  as _LocationAccountAssignment     on  _LocationAccountAssignment.MaintObjectLocAcctAssgmtNmbr = $projection.MaintObjectLocAcctAssgmtNmbr
  association [0..*] to I_FunctionalLocationText     as _FunctionalLocationText        on  _FunctionalLocationText.FunctionalLocation = $projection.FunctionalLocation
  association [0..1] to I_FunctionalLocation         as _SuperiorFunctionalLocation    on  _SuperiorFunctionalLocation.FunctionalLocation = $projection.SuperiorFunctionalLocation
  association [0..*] to I_FunctionalLocationText     as _SupFunctionalLocationText     on  _SupFunctionalLocationText.FunctionalLocation = $projection.SuperiorFunctionalLocation
  association [0..1] to I_User                       as _CreatedByUser                 on  _CreatedByUser.UserID = $projection.CreatedByUser
  association [0..1] to I_User                       as _LastChangedByUser             on  _LastChangedByUser.UserID = $projection.LastChangedByUser
  association [0..1] to I_MaintenancePlanPlant       as _MaintenancePlanningPlant      on  _MaintenancePlanningPlant.MaintenancePlanningPlant = $projection.MaintenancePlanningPlant
  association [0..1] to I_MaintenancePlannerGroup    as _MaintenancePlannerGroup       on  $projection.MaintenancePlannerGroup  = _MaintenancePlannerGroup.MaintenancePlannerGroup
                                                                                       and $projection.MaintenancePlanningPlant = _MaintenancePlannerGroup.MaintenancePlanningPlant
  association [0..1] to I_Country                    as _ManufacturerCountry           on  $projection.ManufacturerCountry = _ManufacturerCountry.Country
  association [0..1] to I_Currency                   as _Currency                      on  $projection.Currency = _Currency.Currency
  association [0..1] to I_TechnicalReport            as _FunctionalLocationCodeCatalog on  $projection.CatalogProfile = _FunctionalLocationCodeCatalog.CatalogProfile

  association [0..1] to I_FuncLocationStructure      as _FuncLocationStructure         on  $projection.FuncLocationStructure = _FuncLocationStructure.FuncLocationStructure

  association [0..1] to I_FunctionalLocationLabel    as _FunctionalLocationLabel       on  _FunctionalLocationLabel.FunctionalLocation = $projection.FunctionalLocation
  association [0..1] to I_Material                   as _ConstructionMaterial          on  $projection.ConstructionMaterial = _ConstructionMaterial.Material

  association [0..1] to I_UnitOfMeasure              as _GrossWeightUnit               on  $projection.GrossWeightUnit = _GrossWeightUnit.UnitOfMeasure
  association [0..1] to I_LinearAssetManagementData  as _LinearAssetManagementData     on  $projection.FunctionalLocation                  = _LinearAssetManagementData.LinearDataObjectKey
                                                                                       and _LinearAssetManagementData.LinearDataObjectType = 'IF'
  association [0..*] to I_StatusObjectStatus         as _Status                        on  $projection.MaintObjectInternalID = _Status.StatusObject
  association [0..*] to I_PlantMaintenancePartner    as _PlantMaintenancePartner       on  $projection.MaintObjectInternalID = _PlantMaintenancePartner.MaintObjectInternalID

  -- Extension, do not expose as association:
  association [0..1] to E_FunctionalLocation         as _FunctionalLocationExtension   on  _FunctionalLocationExtension.FunctionalLocation = $projection.FunctionalLocation

{
      @ObjectModel.text.association: '_FunctionalLocationText'
  key iflot.tplnr                 as FunctionalLocation,
      iflot.functionallocationoid as FunctionalLocationOID,
      @ObjectModel.foreignKey.association: '_FuncLocationStructure'
      iflot.tplkz                 as FuncLocationStructure,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_FuncnlLocCatStdVH',
                     element: 'FunctionalLocationCategory' }
        }]
      @ObjectModel.foreignKey.association: '_FunctionalLocationCategory'
      iflot.fltyp                 as FunctionalLocationCategory,
      @ObjectModel.foreignKey.association: '_WorkCenter'
      iflot.lgwid                 as WorkCenterInternalID,
      @ObjectModel.foreignKey.association: '_WorkCenterType'
      iflot.pm_objty              as WorkCenterTypeCode,

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_TechnicalObjectTypeStdVH',
                     element: 'TechnicalObjectType' }
        }]
      @ObjectModel.foreignKey.association: '_TechnicalObjectType'
      iflot.eqart                 as TechnicalObjectType,
      @ObjectModel.foreignKey.association: '_LocationAccountAssignment'
      iflot.iloan                 as MaintObjectLocAcctAssgmtNmbr,
      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_MaterialStdVH',
                     element: 'Material' }
        }]
      @ObjectModel.foreignKey.association: '_ConstructionMaterial'
      iflot.submt                 as ConstructionMaterial,

      // Admin data

      @Semantics.user.createdBy: true
      iflot.ernam                 as CreatedByUser,
      @Semantics.systemDate.createdAt : true
      iflot.erdat                 as CreationDate,
      @Semantics.user.lastChangedBy: true
      iflot.aenam                 as LastChangedByUser,
      @Semantics.systemDate.lastChangedAt: true
      iflot.aedat                 as LastChangeDate,

      iflot.herst                 as AssetManufacturerName,
      iflot.typbz                 as ManufacturerPartTypeName,

      @Consumption.valueHelpDefinition: [
        { entity:  { name:    'I_MaintPlnrGrpStdVH',
                     element: 'MaintenancePlannerGroup' },
          additionalBinding: [{ localElement: 'MaintenancePlanningPlant',
                                element: 'MaintenancePlanningPlant' }]
        }]
      @ObjectModel.foreignKey.association: '_MaintenancePlannerGroup'
      iflot.ingrp                 as MaintenancePlannerGroup,
      @ObjectModel.foreignKey.association: '_MaintenancePlanningPlant'
      iflot.iwerk                 as MaintenancePlanningPlant,
      @ObjectModel.foreignKey.association: '_FunctionalLocationCodeCatalog'
      iflot.rbnr                  as CatalogProfile,
      iflot.begru                 as AuthorizationGroup,
      @ObjectModel.text.association: '_SupFunctionalLocationText'
      iflot.tplma                 as SuperiorFunctionalLocation,

      @ObjectModel.foreignKey.association: '_ManufacturerCountry'
      iflot.herld                 as ManufacturerCountry,
      iflot.baujj                 as ConstructionYear,
      iflot.baumm                 as ConstructionMonth,
      @Semantics.amount.currencyCode: 'Currency'
      iflot.answt                 as AcquisitionValue,
      @Semantics.currencyCode: true
      iflot.waers                 as Currency,
      iflot.ansdt                 as AcquisitionDate,
      iflot.objnr                 as MaintObjectInternalID,
      iflot.posnr                 as FuncnlLocPosInSuperiorTechObj,
      iflot.mapar                 as ManufacturerPartNmbr,
      iflot.serge                 as ManufacturerSerialNumber,
      iflot.invnr                 as InventoryNumber,

      @Semantics.quantity.unitOfMeasure: 'GrossWeightUnit'
      iflot.brgew                 as GrossWeight,

      @ObjectModel.foreignKey.association: '_GrossWeightUnit'
      @Semantics.unitOfMeasure: true
      iflot.gewei                 as GrossWeightUnit,
      iflot.groes                 as SizeOrDimensionText,

      iflot.datab                 as OperationStartDate,

      @Semantics.systemDateTime.lastChangedAt: true
      iflot.changeddatetime       as LastChangeDateTime,

      iflot.iequi                 as EquipmentInstallationIsAllowed,

      iflot.einzl                 as OnePieceOfEquipmentIsAllowed,
      iflot.endofuse              as FunctionalLocationEndOfUseDate,


      // Propagate association

      _LastChangedByUser,
      _CreatedByUser,
      _FunctionalLocationText,
      _FunctionalLocationCategory,
      _SuperiorFunctionalLocation,
      _SupFunctionalLocationText,
      _WorkCenterType,
      _WorkCenter,
      _TechnicalObjectType,
      _LocationAccountAssignment,
      _MaintenancePlanningPlant,
      _MaintenancePlannerGroup,
      _ManufacturerCountry,
      _Currency,
      _FunctionalLocationCodeCatalog,
      _FuncLocationStructure,
      _FunctionalLocationLabel,
      _ConstructionMaterial,
      _GrossWeightUnit,
      _LinearAssetManagementData,
      _Status,
      _PlantMaintenancePartner
}