I_InhRepairStatus
In-House Service Status
I_InhRepairStatus is a Composite CDS View (Dimension) that provides data about "In-House Service Status" in SAP S/4HANA. It reads from 2 data sources (I_InhRepairUserStatus, I_SrvcLifeCycleSystemStatus) and exposes 3 fields with key fields InhRepairStatus, InhRepairStatus. It has 1 association to related views.
SAP Help Documentation
| Category | Service Operations and Processes |
|---|---|
| Data Category | Dimension |
| Status | Status |
Purpose
This CDS view is designed to provide a comprehensive overview of the status of in-house repairs, specifically focusing on repair lifecycle statuses. It consolidates data from user-defined and system-defined repair statuses, excluding any statuses marked as Released . This CDS view provides the data to answer the following business questions: What are the current statuses of in-house repairs? How can we track and manage the lifecycle statuses of in-house repairs? Are there any in-house repairs that are not yet released, and what are their statuses? How can we access descriptive text information related to each in-house repair status?
Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.
Structure
Important Fields Important fields in this view include the following: Field Name Description INHREPAIRSTATUS Status
This CDS view is designed to provide a comprehensive overview of the status of in-house repairs, specifically focusing on repair lifecycle statuses. It consolidates data from user-defined and system-defined repair statuses, excluding any statuses marked as Released . This CDS view provides the data to answer the following business questions: What are the current statuses of in-house repairs? How can we track and manage the lifecycle statuses of in-house repairs? Are there any in-house repairs that are not yet released, and what are their statuses? How can we access descriptive text information related to each in-house repair status?
Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.
Structure
Important Fields Important fields in this view include the following: Field Name Description INHREPAIRSTATUS Status
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_InhRepairUserStatus | I_InhRepairUserStatus | from |
| I_SrvcLifeCycleSystemStatus | I_SrvcLifeCycleSystemStatus | union |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_InhRepairStatusText | _InhRepairStatusText | $projection.InhRepairStatus = _InhRepairStatusText.InhRepairStatus |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | In-House Service Status | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | InhRepairStatus | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IIHRSTATUS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InhRepairStatus | |||
| KEY | InhRepairStatus | |||
| _InhRepairStatusText | _InhRepairStatusText |
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_InhRepairStatus.
-- 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_InhRepairStatus AS
SELECT
cast(InhRepairUserStatus as crms4_repa_status_lbl preserving type ) AS InhRepairStatus
FROM I_InhRepairUserStatus
LEFT OUTER JOIN I_InhRepairStatusText AS _InhRepairStatusText ON InhRepairStatus = _InhRepairStatusText.InhRepairStatus -- association [0..*]
-- UNION with additional select branch(es): I_SrvcLifeCycleSystemStatus
;
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