I_InhRepairItemNote

DDL: I_INHREPAIRITEMNOTE Type: view_entity BASIC Package: CRMS4_REPAIR_BO

Notes for In-House Repair Item

I_InhRepairItemNote is a Basic CDS View that provides data about "Notes for In-House Repair Item" in SAP S/4HANA. It reads from 2 data sources (I_InHouseRepairItem, stxh) and exposes 19 fields with key fields CustMgmtObjectType, InHouseRepair, InHouseRepairItem, TextObjectType, Language. It has 5 associations to related views. Part of development package CRMS4_REPAIR_BO.

Data Sources (2)

SourceAliasJoin Type
I_InHouseRepairItem InHouseRepairItem inner
stxh stxh from

Associations (5)

CardinalityTargetAliasCondition
[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_InHouseRepairItem _InHouseRepairItem $projection.CustMgmtObjectType = _InHouseRepairItem.CustMgmtObjectType and $projection.InHouseRepair = _InHouseRepairItem.InHouseRepair and $projection.InHouseRepairItem = _InHouseRepairItem.InHouseRepairItem
[0..1] I_InHouseRepair _InHouseRepair $projection.CustMgmtObjectType = _InHouseRepair.CustMgmtObjectType and $projection.InHouseRepair = _InHouseRepair.InHouseRepair

Annotations (8)

NameValueLevelField
EndUserText.label Notes for In-House Repair Item 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

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY CustMgmtObjectType I_InHouseRepairItem CustMgmtObjectType Trans. Cat.
KEY InHouseRepair I_InHouseRepairItem InHouseRepair
KEY InHouseRepairItem I_InHouseRepairItem InHouseRepairItem
KEY TextObjectType stxh tdid Text ID Header
KEY Language stxh tdspras Language
InHouseRepairItemUUID I_InHouseRepairItem InHouseRepairItemUUID Push ItemGU
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
_TextObjectType _TextObjectType
_TextObjectCategory _TextObjectCategory
_Language _Language
_InHouseRepairItem _InHouseRepairItem
_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_InhRepairItemNote.
-- 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_InhRepairItemNote AS
SELECT
  InHouseRepairItem.CustMgmtObjectType AS CustMgmtObjectType,
  InHouseRepairItem.InHouseRepair AS InHouseRepair,
  InHouseRepairItem.InHouseRepairItem AS InHouseRepairItem,
  stxh.tdid AS TextObjectType,
  stxh.tdspras AS Language,
  InHouseRepairItem.InHouseRepairItemUUID AS InHouseRepairItemUUID,
  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_InHouseRepairItem AS InHouseRepairItem ON /* join condition not captured in parsed metadata */
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_InHouseRepairItem AS _InHouseRepairItem ON CustMgmtObjectType = _InHouseRepairItem.CustMgmtObjectType AND InHouseRepair = _InHouseRepairItem.InHouseRepair AND InHouseRepairItem = _InHouseRepairItem.InHouseRepairItem  -- association [0..1]
LEFT OUTER JOIN I_InHouseRepair AS _InHouseRepair ON CustMgmtObjectType = _InHouseRepair.CustMgmtObjectType AND InHouseRepair = _InHouseRepair.InHouseRepair  -- association [0..1]
;