C_WrkPmtTechnicalObjectVH

DDL: C_WRKPMTTECHNICALOBJECTVH SQL: CWRKPMTTECHOBJVH Type: view CONSUMPTION

Work Permit Technical Object

C_WrkPmtTechnicalObjectVH is a Consumption CDS View that provides data about "Work Permit Technical Object" in SAP S/4HANA. It reads from 1 data source (I_TechnicalObject) and exposes 30 fields with key fields TechObjIsEquipOrFuncnlLoc, TechnicalObject. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_TechnicalObject _TechnicalObject from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_TechObjIsEquipOrFuncnlLoc _TechObjIsEquipOrFuncnlLoc _TechObjIsEquipOrFuncnlLoc.TechObjIsEquipOrFuncnlLoc = $projection.TechObjIsEquipOrFuncnlLoc

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CWRKPMTTECHOBJVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.representativeKey TechnicalObject view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.dataCategory #VALUE_HELP view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
EndUserText.label Work Permit Technical Object view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY TechObjIsEquipOrFuncnlLoc I_TechnicalObject TechObjIsEquipOrFuncnlLoc Tech. Obj. Type
KEY TechnicalObject I_TechnicalObject TechnicalObject Technical Object
FunctionalLocationLabelName
TechObjIsEquipOrFuncnlLocDesc
TechnicalObjectDescription Technical Object Description
WorkCenter
WorkCenterText
MainWorkCenterInternalID I_TechnicalObject WorkCenterInternalID Work Center
MainWorkCenterPlant
Equipment I_TechnicalObject Equipment Equipment check
FunctionalLocation Object ID
AssetRoom
AssetLocation
LocationName
MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
MaintenancePlannerGroup MaintenancePlannerGroup Planner Group
MaintenancePlannerGroupName
PlantSection
PlantName
TechObjStatusIsInactive TechObjStatusIsInactive
CostCenter _LocationAccountAssignment CostCenter Cost Center
ControllingArea _LocationAccountAssignment ControllingArea Controlling Area
ControllingAreaName
MaintenancePlant _LocationAccountAssignment MaintenancePlant Plant
MaintenancePlantName
AuthorizationGroup AuthorizationGroup AuthorizGroup
MaintObjectLocAcctAssgmtNmbr I_TechnicalObject MaintObjectLocAcctAssgmtNmbr Loc/AccAssmt
_TechObjIsEquipOrFuncnlLoc _TechObjIsEquipOrFuncnlLoc
_LocationAccountAssignment _LocationAccountAssignment
MaintObjectInternalID I_TechnicalObject MaintObjectInternalID Object number

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_WrkPmtTechnicalObjectVH.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CWRKPMTTECHOBJVH

CREATE VIEW C_WrkPmtTechnicalObjectVH AS
SELECT
  _TechnicalObject.TechObjIsEquipOrFuncnlLoc AS TechObjIsEquipOrFuncnlLoc,
  _TechnicalObject.TechnicalObject AS TechnicalObject,
  _TechnicalObject._FunctionalLocationLabel._FuncLocationLabelSearch.FunctionalLocationLabelName AS FunctionalLocationLabelName,
  _TechObjIsEquipOrFuncnlLoc._Text[1:Language=$session.system_language].TechObjIsEquipOrFuncnlLocDesc AS TechObjIsEquipOrFuncnlLocDesc,
  _TechnicalObject._TechnicalObjectText[1:Language=$session.system_language].TechnicalObjectDescription AS TechnicalObjectDescription,
  _TechnicalObject._WorkCenter.WorkCenter AS WorkCenter,
  _WorkCenter._Text[ 1: Language = $session.system_language ].WorkCenterText AS WorkCenterText,
  _TechnicalObject.WorkCenterInternalID AS MainWorkCenterInternalID,
  _TechnicalObject._LocationAccountAssignment._WorkCenter.Plant AS MainWorkCenterPlant,
  _TechnicalObject.Equipment AS Equipment,
  cast ( FunctionalLocation as eams_ui_oid_name preserving type ) AS FunctionalLocation,
  _TechnicalObject._LocationAccountAssignment.AssetRoom AS AssetRoom,
  _TechnicalObject._LocationAccountAssignment.AssetLocation AS AssetLocation,
  _TechnicalObject._LocationAccountAssignment._Location.LocationName AS LocationName,
  MaintenancePlanningPlant,
  MaintenancePlannerGroup,
  _TechnicalObject._MaintenancePlannerGroup.MaintenancePlannerGroupName AS MaintenancePlannerGroupName,
  _TechnicalObject._LocationAccountAssignment.PlantSection AS PlantSection,
  _TechnicalObject._LocationAccountAssignment._PlantSection._Plant.PlantName AS PlantName,
  TechObjStatusIsInactive,
  _LocationAccountAssignment.CostCenter AS CostCenter,
  _LocationAccountAssignment.ControllingArea AS ControllingArea,
  _LocationAccountAssignment._ControllingArea.ControllingAreaName AS ControllingAreaName,
  _LocationAccountAssignment.MaintenancePlant AS MaintenancePlant,
  _LocationAccountAssignment._MaintenancePlant.PlantName AS MaintenancePlantName,
  AuthorizationGroup,
  _TechnicalObject.MaintObjectLocAcctAssgmtNmbr AS MaintObjectLocAcctAssgmtNmbr,
  _TechnicalObject.MaintObjectInternalID AS MaintObjectInternalID
FROM I_TechnicalObject AS _TechnicalObject
LEFT OUTER JOIN I_TechObjIsEquipOrFuncnlLoc AS _TechObjIsEquipOrFuncnlLoc ON _TechObjIsEquipOrFuncnlLoc.TechObjIsEquipOrFuncnlLoc = TechObjIsEquipOrFuncnlLoc  -- association [0..1]
;