I_InhRepairNote
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)
| Source | Alias | Join Type |
|---|---|---|
| I_InHouseRepair | InHouseRepair | inner |
| stxh | stxh | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA