R_InhRepairNoteTP

DDL: R_INHREPAIRNOTETP Type: view_entity TRANSACTIONAL

Notes for In-House Repair

R_InhRepairNoteTP is a Transactional CDS View that provides data about "Notes for In-House Repair" in SAP S/4HANA. It reads from 1 data source (P_InhRepairNote) and exposes 14 fields with key fields InHouseRepair, TextObjectType, Language. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_InhRepairNote ihrnote from

Associations (4)

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

Annotations (8)

NameValueLevelField
EndUserText.label Notes for In-House Repair view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY InHouseRepair P_InhRepairNote InHouseRepair Transaction ID
KEY TextObjectType P_InhRepairNote TextObjectType Text ID
KEY Language P_InhRepairNote Language Report Text Language
InHouseRepairUUID P_InhRepairNote InHouseRepairUUID
TextObjectCategory P_InhRepairNote TextObjectCategory Text object
CreatedByUser P_InhRepairNote CreatedByUser User Name
CustMgmtObjectType P_InhRepairNote CustMgmtObjectType
LastChangeDateTime _InHouseRepairTP LastChangeDateTime Timestamp
InhRepairNoteText _InoteTemp text User Group
_TextObjectType _TextObjectType
_TextObjectCategory _TextObjectCategory
_Language _Language
_InHouseRepairTP _InHouseRepairTP
_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 R_InhRepairNoteTP.
-- 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 R_InhRepairNoteTP AS
SELECT
  ihrnote.InHouseRepair AS InHouseRepair,
  ihrnote.TextObjectType AS TextObjectType,
  ihrnote.Language AS Language,
  ihrnote.InHouseRepairUUID AS InHouseRepairUUID,
  ihrnote.TextObjectCategory AS TextObjectCategory,
  ihrnote.CreatedByUser AS CreatedByUser,
  ihrnote.CustMgmtObjectType AS CustMgmtObjectType,
  _InHouseRepairTP.LastChangeDateTime AS LastChangeDateTime,
  _InoteTemp.text AS InhRepairNoteText
FROM P_InhRepairNote AS ihrnote
LEFT OUTER JOIN I_InHouseRepair AS _InHouseRepair ON CustMgmtObjectType = _InHouseRepair.CustMgmtObjectType AND InHouseRepair = _InHouseRepair.InHouseRepair  -- association [1..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]
;