P_FunctionalLocationSearch

DDL: P_FUNCTIONALLOCATIONSEARCH SQL: PFLOCSEARCH Type: view BASIC

P_FunctionalLocationSearch is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_FunctionalLocation) and exposes 57 fields with key field FunctionalLocation. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_FunctionalLocation I_FunctionalLocation from

Parameters (2)

NameTypeDefault
P_Language abap.lang
P_KeyDate sydate

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_TextObjectPlainLongText _LongText $projection.FunctionalLocation = _LongText.TextObjectKey and _LongText.TextObjectCategory = 'IFLOT' and _LongText.TextObjectType = 'LTXT'
[0..*] I_ClfnObjectCharcValForKeyDate _CharValueAssignment $projection.FunctionalLocation = _CharValueAssignment.ClfnObjectID and _CharValueAssignment.ClfnObjectTable = 'IFLOT'
[0..*] I_ClfnObjectClassForKeyDate _ClassAssignment $projection.FunctionalLocation = _ClassAssignment.ClfnObjectID and _ClassAssignment.ClfnObjectTable = 'IFLOT'

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PFLOCSEARCH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view
ObjectModel.representativeKey FunctionalLocation view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (57)

KeyFieldSource TableSource FieldDescription
KEY FunctionalLocation FunctionalLocation
FuncLocationStructure FuncLocationStructure
FunctionalLocationCategory FunctionalLocationCategory
WorkCenterInternalID WorkCenterInternalID
WorkCenterTypeCode WorkCenterTypeCode
TechnicalObjectType TechnicalObjectType
MaintObjectLocAcctAssgmtNmbr MaintObjectLocAcctAssgmtNmbr
ConstructionMaterial ConstructionMaterial
CreatedByUser CreatedByUser
CreationDate CreationDate
LastChangedByUser LastChangedByUser
LastChangeDate LastChangeDate
AssetManufacturerName AssetManufacturerName
ManufacturerPartTypeName ManufacturerPartTypeName
MaintenancePlannerGroup MaintenancePlannerGroup
MaintenancePlanningPlant MaintenancePlanningPlant
CatalogProfile CatalogProfile
AuthorizationGroup AuthorizationGroup
SuperiorFunctionalLocation SuperiorFunctionalLocation
ManufacturerCountry ManufacturerCountry
ConstructionYear ConstructionYear
ConstructionMonth ConstructionMonth
AcquisitionValue AcquisitionValue
Currency Currency
AcquisitionDate AcquisitionDate
MaintObjectInternalID MaintObjectInternalID
ManufacturerPartNmbr ManufacturerPartNmbr
ManufacturerSerialNumber ManufacturerSerialNumber
InventoryNumber InventoryNumber
GrossWeight GrossWeight
GrossWeightUnit GrossWeightUnit
SizeOrDimensionText SizeOrDimensionText
OperationStartDate OperationStartDate
LastChangeDateTime LastChangeDateTime
_LastChangedByUser _LastChangedByUser
_CreatedByUser _CreatedByUser
_FunctionalLocationText _FunctionalLocationText
_FunctionalLocationCategory _FunctionalLocationCategory
_SupFunctionalLocationText _SupFunctionalLocationText
_WorkCenterType _WorkCenterType
_WorkCenter _WorkCenter
_TechnicalObjectType _TechnicalObjectType
_LocationAccountAssignment _LocationAccountAssignment
_MaintenancePlanningPlant _MaintenancePlanningPlant
_MaintenancePlannerGroup _MaintenancePlannerGroup
_ManufacturerCountry _ManufacturerCountry
_Currency _Currency
_FunctionalLocationCodeCatalog _FunctionalLocationCodeCatalog
_FuncLocationStructure _FuncLocationStructure
_FunctionalLocationLabel _FunctionalLocationLabel
_ConstructionMaterial _ConstructionMaterial
_GrossWeightUnit _GrossWeightUnit
_LinearAssetManagementData _LinearAssetManagementData
_Status _Status
_LongText _LongText
_ClassAssignment _ClassAssignment
_CharValueAssignment _CharValueAssignment
//Functional Location Anchor View for CDS Search Model

@AbapCatalog.sqlViewName: 'PFLOCSEARCH'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.privilegedAssociations: ['_LongText']
@VDM.private: true
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'FunctionalLocation'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory : #L
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_FunctionalLocationSearch
  with parameters
    @Consumption.hidden: true
    @Environment.systemField: #SYSTEM_LANGUAGE
    P_Language : abap.lang,
    @Consumption.hidden: true
    @Environment.systemField: #SYSTEM_DATE
    P_KeyDate : sydate
  as select from I_FunctionalLocation
  association [0..*] to I_TextObjectPlainLongText   as _LongText            on  $projection.FunctionalLocation = _LongText.TextObjectKey
                                                                            and _LongText.TextObjectCategory   = 'IFLOT'
                                                                            and _LongText.TextObjectType       = 'LTXT'

  association [0..*] to I_ClfnObjectCharcValForKeyDate as _CharValueAssignment on  $projection.FunctionalLocation    = _CharValueAssignment.ClfnObjectID
                                                                            and _CharValueAssignment.ClfnObjectTable = 'IFLOT'

  association [0..*] to I_ClfnObjectClassForKeyDate as _ClassAssignment     on  $projection.FunctionalLocation   = _ClassAssignment.ClfnObjectID
                                                                            and _ClassAssignment.ClfnObjectTable = 'IFLOT'

{

  key FunctionalLocation,
      FuncLocationStructure,
      FunctionalLocationCategory,
      WorkCenterInternalID,
      WorkCenterTypeCode,
      TechnicalObjectType,
      MaintObjectLocAcctAssgmtNmbr,
      ConstructionMaterial,
      CreatedByUser,
      CreationDate,
      LastChangedByUser,
      LastChangeDate,
      AssetManufacturerName,
      ManufacturerPartTypeName,
      MaintenancePlannerGroup,
      MaintenancePlanningPlant,
      CatalogProfile,
      AuthorizationGroup,
      SuperiorFunctionalLocation,
      ManufacturerCountry,
      ConstructionYear,
      ConstructionMonth,
      AcquisitionValue,
      Currency,
      AcquisitionDate,
      MaintObjectInternalID,
      ManufacturerPartNmbr,
      ManufacturerSerialNumber,
      InventoryNumber,
      GrossWeight,
      GrossWeightUnit,
      SizeOrDimensionText,
      OperationStartDate,
      LastChangeDateTime,
      // Propagate association

      _LastChangedByUser,
      _CreatedByUser,
      _FunctionalLocationText,
      _FunctionalLocationCategory,
      _SupFunctionalLocationText,
      _WorkCenterType,
      _WorkCenter,
      _TechnicalObjectType,
      _LocationAccountAssignment,
      _MaintenancePlanningPlant,
      _MaintenancePlannerGroup,
      _ManufacturerCountry,
      _Currency,
      _FunctionalLocationCodeCatalog,
      _FuncLocationStructure,
      _FunctionalLocationLabel,
      _ConstructionMaterial,
      _GrossWeightUnit,
      _LinearAssetManagementData,
      _Status,
      _LongText,
      _ClassAssignment,
      _CharValueAssignment


}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_FUNCTIONALLOCATION"
],
"ASSOCIATED":
[
"I_CLFNOBJECTCHARCVALFORKEYDATE",
"I_CLFNOBJECTCLASSFORKEYDATE",
"I_COUNTRY",
"I_CURRENCY",
"I_FUNCLOCATIONSTRUCTURE",
"I_FUNCTIONALLOCATIONCATEGORY",
"I_FUNCTIONALLOCATIONLABEL",
"I_FUNCTIONALLOCATIONTEXT",
"I_LINEARASSETMANAGEMENTDATA",
"I_LOCATIONACCOUNTASSIGNMENT",
"I_MAINTENANCEPLANNERGROUP",
"I_MAINTENANCEPLANPLANT",
"I_MATERIAL",
"I_STATUSOBJECTSTATUS",
"I_TECHNICALOBJECTTYPE",
"I_TECHNICALREPORT",
"I_TEXTOBJECTPLAINLONGTEXT",
"I_UNITOFMEASURE",
"I_USER",
"I_WORKCENTER",
"I_WORKCENTERTYPE"
],
"BASE":
[
"I_FUNCTIONALLOCATION"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/