I_InhRepairNote

DDL: I_INHREPAIRNOTE Type: view BASIC

Notes for In-House Repair

I_InhRepairNote is a Basic CDS View that provides data about "Notes for In-House Repair" 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 (12)

NameValueLevelField
EndUserText.label Notes for In-House Repair view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK 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
AbapCatalog.preserveKey true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY CustMgmtObjectType I_InHouseRepair CustMgmtObjectType Trans. Cat.
KEY InHouseRepair I_InHouseRepair InHouseRepair
KEY TextObjectType tdid Text ID Header
KEY Language tdspras Language
InHouseRepairUUID I_InHouseRepair InHouseRepairUUID Unique Identifier
TextObjectCategory tdobject Text object
CreatedByUser tdfuser Created By
CreationDate tdfdate Date
CreationTime tdftime Time
LastChangedByUser tdluser Changed by
LastChangeDate tdldate Date
LastChangeTime 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,
  tdid AS TextObjectType,
  tdspras AS Language,
  InHouseRepair.InHouseRepairUUID AS InHouseRepairUUID,
  tdobject AS TextObjectCategory,
  tdfuser AS CreatedByUser,
  tdfdate AS CreationDate,
  tdftime AS CreationTime,
  tdluser AS LastChangedByUser,
  tdldate AS LastChangeDate,
  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]
;