I_InhRepairNote

DDL: I_INHREPAIRNOTE Type: view BASIC

Notes for In-House Service

I_InhRepairNote is a Basic CDS View that provides data about "Notes for In-House Service" in SAP S/4HANA. It reads from 2 data sources (I_InHouseRepair, stxh) and exposes 18 fields with key fields CustMgmtObjectType, InHouseRepair, TextObjectType, Language. It has 5 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_InHouseRepair InHouseRepair inner
stxh stxh from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_BusinessObjType _CustMgmtObjectType $projection.CustMgmtObjectType = _CustMgmtObjectType.BusinessObjectType
[0..1] I_TextObjectType _TextObjectType $projection.TextObjectType = _TextObjectType.TextObjectType and $projection.TextObjectCategory = _TextObjectType.TextObjectCategory
[0..1] I_TextObjectCategory _TextObjectCategory $projection.TextObjectCategory = _TextObjectCategory.TextObjectCategory
[0..1] I_Language _Language $projection.Language = _Language.Language
[0..1] I_InHouseRepair _InHouseRepair $projection.CustMgmtObjectType = _InHouseRepair.CustMgmtObjectType and $projection.InHouseRepair = _InHouseRepair.InHouseRepair

Annotations (11)

NameValueLevelField
EndUserText.label Notes for In-House Service view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IINHREPAIRNOTE view
AbapCatalog.compiler.compareFilter true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY CustMgmtObjectType I_InHouseRepair CustMgmtObjectType Trans. Cat.
KEY InHouseRepair I_InHouseRepair InHouseRepair
KEY TextObjectType stxh tdid Text ID Header
KEY Language stxh tdspras Language
InHouseRepairUUID I_InHouseRepair InHouseRepairUUID Unique Identifier
TextObjectCategory stxh tdobject Text object
CreatedByUser stxh tdfuser Created By
CreationDate stxh tdfdate Date
CreationTime stxh tdftime Time
LastChangedByUser stxh tdluser Changed by
LastChangeDate stxh tdldate Date
LastChangeTime stxh tdltime Time
InhRepairNoteText _InoteTemp text User Group
_CustMgmtObjectType _CustMgmtObjectType
_TextObjectType _TextObjectType
_TextObjectCategory _TextObjectCategory
_Language _Language
_InHouseRepair _InHouseRepair

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 I_InhRepairNote.
-- 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 I_InhRepairNote AS
SELECT
  InHouseRepair.CustMgmtObjectType AS CustMgmtObjectType,
  InHouseRepair.InHouseRepair AS InHouseRepair,
  stxh.tdid AS TextObjectType,
  stxh.tdspras AS Language,
  InHouseRepair.InHouseRepairUUID AS InHouseRepairUUID,
  stxh.tdobject AS TextObjectCategory,
  stxh.tdfuser AS CreatedByUser,
  stxh.tdfdate AS CreationDate,
  stxh.tdftime AS CreationTime,
  stxh.tdluser AS LastChangedByUser,
  stxh.tdldate AS LastChangeDate,
  stxh.tdltime AS LastChangeTime,
  _InoteTemp.text AS InhRepairNoteText
FROM stxh
INNER JOIN I_InHouseRepair AS InHouseRepair ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BusinessObjType AS _CustMgmtObjectType ON CustMgmtObjectType = _CustMgmtObjectType.BusinessObjectType  -- association [0..1]
LEFT OUTER JOIN I_TextObjectType AS _TextObjectType ON TextObjectType = _TextObjectType.TextObjectType AND TextObjectCategory = _TextObjectType.TextObjectCategory  -- association [0..1]
LEFT OUTER JOIN I_TextObjectCategory AS _TextObjectCategory ON TextObjectCategory = _TextObjectCategory.TextObjectCategory  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_InHouseRepair AS _InHouseRepair ON CustMgmtObjectType = _InHouseRepair.CustMgmtObjectType AND InHouseRepair = _InHouseRepair.InHouseRepair  -- association [0..1]
;