R_InhRepairItemNoteTP
Notes for In-House Repair Item
R_InhRepairItemNoteTP is a Transactional CDS View that provides data about "Notes for In-House Repair Item" in SAP S/4HANA. It reads from 1 data source (P_InhRepairItemNote) and exposes 25 fields with key fields InHouseRepair, InHouseRepairItem, TextObjectType, Language. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_InhRepairItemNote | ihritemnote | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InHouseRepairTP | _InHouseRepairTP | $projection.InHouseRepair = _InHouseRepairTP.InHouseRepair |
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Notes for In-House Repair Item | 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 (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InHouseRepair | P_InhRepairItemNote | InHouseRepair | Transaction ID |
| KEY | InHouseRepairItem | P_InhRepairItemNote | InHouseRepairItem | Service Document |
| KEY | TextObjectType | P_InhRepairItemNote | TextObjectType | Text ID |
| KEY | Language | P_InhRepairItemNote | Language | Report Text Language |
| InHouseRepairItemUUID | P_InhRepairItemNote | InHouseRepairItemUUID | ||
| TextObjectCategory | P_InhRepairItemNote | TextObjectCategory | Text object | |
| CreatedByUser | P_InhRepairItemNote | CreatedByUser | User Name | |
| InhRepairNoteText | _InoteTemp | text | User Group | |
| LastChangeDateTime | _InHouseRepairItemTP | LastChangeDateTime | Timestamp | |
| CustMgmtObjectType | P_InhRepairItemNote | CustMgmtObjectType | ||
| 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 | |||
| _InHouseRepairItemTP | _InHouseRepairItemTP | |||
| _InHouseRepair | _InHouseRepair | |||
| _InHouseRepairTP | _InHouseRepairTP |
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_InhRepairItemNoteTP.
-- 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_InhRepairItemNoteTP AS
SELECT
ihritemnote.InHouseRepair AS InHouseRepair,
ihritemnote.InHouseRepairItem AS InHouseRepairItem,
ihritemnote.TextObjectType AS TextObjectType,
ihritemnote.Language AS Language,
ihritemnote.InHouseRepairItemUUID AS InHouseRepairItemUUID,
ihritemnote.TextObjectCategory AS TextObjectCategory,
ihritemnote.CreatedByUser AS CreatedByUser,
_InoteTemp.text AS InhRepairNoteText,
_InHouseRepairItemTP.LastChangeDateTime AS LastChangeDateTime,
ihritemnote.CustMgmtObjectType AS CustMgmtObjectType,
_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 P_InhRepairItemNote AS ihritemnote
LEFT OUTER JOIN I_InHouseRepairTP AS _InHouseRepairTP ON InHouseRepair = _InHouseRepairTP.InHouseRepair -- association [1..1]
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]
;
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