C_RSHTechnicalObject

DDL: C_RSHTECHNICALOBJECT Type: view_entity CONSUMPTION

Technical object details

C_RSHTechnicalObject is a Consumption CDS View that provides data about "Technical object details" in SAP S/4HANA. It reads from 1 data source (P_RSHTechnicalObject) and exposes 18 fields with key fields TechnicalObject, TechObjIsEquipOrFuncnlLoc. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_RSHTechnicalObject P_RSHTechnicalObject from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_LocationAccountAssignment _LocationAccountAssignment _LocationAccountAssignment.MaintObjectLocAcctAssgmtNmbr = $projection.MaintObjectLocAcctAssgmtNmbr
[0..1] I_TechnicalObjectType _TechnicalObjectType _TechnicalObjectType.TechnicalObjectType = $projection.TechnicalObjectType
[0..1] I_TechnicalObjectCategory _TechnicalObjectCategory $projection.TechnicalObjectCategory = _TechnicalObjectCategory.TechnicalObjectCategory and _TechnicalObjectCategory.TechObjIsEquipOrFuncnlLoc = $projection.TechObjIsEquipOrFuncnlLoc
[0..1] I_FunctionalLocationLabel _FunctionalLocationLabel _FunctionalLocationLabel.FunctionalLocation = $projection.TechnicalObject

Annotations (7)

NameValueLevelField
EndUserText.label Technical object details view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY TechnicalObject TechnicalObject Technical Object
KEY TechObjIsEquipOrFuncnlLoc TechObjIsEquipOrFuncnlLoc Tech. Obj. Type
TechnicalObjectCategory TechnicalObjectCategory Tech. Obj. Category
TechnicalObjectCategoryDesc
TechnicalObjectType TechnicalObjectType Text object
TechnicalObjectTypeDesc
MaintObjectInternalID MaintObjectInternalID Object number
TechnicalObjectDescription TechnicalObjectDescription Tech. Obj. Desc
TechnicalObjectHasLongText TechnicalObjectHasLongText
SuperiorTechnicalObject SuperiorTechnicalObject Object ID
SuperiorTechnicalObjectLabel SuperiorTechnicalObjectLabel Technical Object
SuperiorTechnicalObjectName SuperiorTechnicalObjectName
MaintObjectLocAcctAssgmtNmbr MaintObjectLocAcctAssgmtNmbr Loc/AccAssmt
SortField _LocationAccountAssignment MaintObjectFreeDefinedAttrib Sort Field
MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
MaintenancePlannerGroup MaintenancePlannerGroup Planner Group
AuthorizationGroup AuthorizationGroup AuthorizGroup
_LocationAccountAssignment _LocationAccountAssignment

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_RSHTechnicalObject.
-- 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.

CREATE VIEW C_RSHTechnicalObject AS
SELECT
  TechnicalObject,
  TechObjIsEquipOrFuncnlLoc,
  TechnicalObjectCategory,
  _TechnicalObjectCategory._Text[1:Language = $session.system_language].TechnicalObjectCategoryDesc AS TechnicalObjectCategoryDesc,
  TechnicalObjectType,
  _TechnicalObjectType._Text[1:Language = $session.system_language].TechnicalObjectTypeDesc AS TechnicalObjectTypeDesc,
  MaintObjectInternalID,
  TechnicalObjectDescription,
  TechnicalObjectHasLongText,
  SuperiorTechnicalObject,
  SuperiorTechnicalObjectLabel,
  SuperiorTechnicalObjectName,
  MaintObjectLocAcctAssgmtNmbr,
  _LocationAccountAssignment.MaintObjectFreeDefinedAttrib AS SortField,
  MaintenancePlanningPlant,
  MaintenancePlannerGroup,
  AuthorizationGroup
FROM P_RSHTechnicalObject
LEFT OUTER JOIN I_LocationAccountAssignment AS _LocationAccountAssignment ON _LocationAccountAssignment.MaintObjectLocAcctAssgmtNmbr = MaintObjectLocAcctAssgmtNmbr  -- association [0..1]
LEFT OUTER JOIN I_TechnicalObjectType AS _TechnicalObjectType ON _TechnicalObjectType.TechnicalObjectType = TechnicalObjectType  -- association [0..1]
LEFT OUTER JOIN I_TechnicalObjectCategory AS _TechnicalObjectCategory ON TechnicalObjectCategory = _TechnicalObjectCategory.TechnicalObjectCategory AND _TechnicalObjectCategory.TechObjIsEquipOrFuncnlLoc = TechObjIsEquipOrFuncnlLoc  -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocationLabel AS _FunctionalLocationLabel ON _FunctionalLocationLabel.FunctionalLocation = TechnicalObject  -- association [0..1]
;