I_InhRepairItemNote

DDL: I_INHREPAIRITEMNOTE Type: view BASIC

Notes for In-House Service Object

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

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 (11)

NameValueLevelField
EndUserText.label Notes for In-House Service Object 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 IINHREPAITEMNOTE view
AbapCatalog.compiler.compareFilter true view

Fields (28)

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
RespEmployeeBusinessPartnerId _InHouseRepair ResponsibleEmployee Employee Resp.
SalesOrganization _InHouseRepair SalesOrganization Sales Organization
DistributionChannel _InHouseRepair DistributionChannel RefDistCh-Cust/Mat.
Division _InHouseRepair Division Internal Division ID
SalesOffice _InHouseRepair SalesOffice Sales Office
SalesGroup _InHouseRepair SalesGroup Sales Group
SalesOrganizationOrgUnitID _InHouseRepair SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID _InHouseRepair SalesOfficeOrgUnitID
SalesGroupOrgUnitID _InHouseRepair SalesGroupOrgUnitID
_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,
  _InHouseRepair.ResponsibleEmployee AS RespEmployeeBusinessPartnerId,
  _InHouseRepair.SalesOrganization AS SalesOrganization,
  _InHouseRepair.DistributionChannel AS DistributionChannel,
  _InHouseRepair.Division AS Division,
  _InHouseRepair.SalesOffice AS SalesOffice,
  _InHouseRepair.SalesGroup AS SalesGroup,
  _InHouseRepair.SalesOrganizationOrgUnitID AS SalesOrganizationOrgUnitID,
  _InHouseRepair.SalesOfficeOrgUnitID AS SalesOfficeOrgUnitID,
  _InHouseRepair.SalesGroupOrgUnitID AS SalesGroupOrgUnitID
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]
;