I_InhRepairStatus

DDL: I_INHREPAIRSTATUS Type: view COMPOSITE

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

CategoryService Operations and Processes
Data CategoryDimension
StatusStatus
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

View on SAP Help Portal →

Data Sources (2)

SourceAliasJoin Type
I_InhRepairUserStatus I_InhRepairUserStatus from
I_SrvcLifeCycleSystemStatus I_SrvcLifeCycleSystemStatus union

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_InhRepairStatusText _InhRepairStatusText $projection.InhRepairStatus = _InhRepairStatusText.InhRepairStatus

Annotations (15)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;