I_InhRepairStatusText

DDL: I_INHREPAIRSTATUSTEXT Type: view COMPOSITE

In-House Service Status - Text

I_InhRepairStatusText is a Composite CDS View that provides data about "In-House Service Status - Text" in SAP S/4HANA. It reads from 2 data sources (I_InhRepairUserStatusText, I_SrvcLifeCycleSystemStatusT) and exposes 9 fields with key fields InhRepairStatus, Language, InhRepairStatus, Language. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_InhRepairUserStatusText I_InhRepairUserStatusText from
I_SrvcLifeCycleSystemStatusT I_SrvcLifeCycleSystemStatusT union

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_InhRepairStatus _InhRepairStatus $projection.InhRepairStatus = _InhRepairStatus.InhRepairStatus

Annotations (14)

NameValueLevelField
EndUserText.label In-House Service Status - Text view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.dataCategory #TEXT 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 IIHRSTATUSTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY InhRepairStatus
KEY Language Language Report Text Language
InhRepairStatusName
_InhRepairStatus _InhRepairStatus
KEY InhRepairStatus
KEY Language Language Report Text Language
InhRepairStatusName
_InhRepairStatus _InhRepairStatus
_Language _Language

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_InhRepairStatusText.
-- 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_InhRepairStatusText AS
SELECT
  cast(InhRepairUserStatus as crms4_repa_status_lbl preserving type ) AS InhRepairStatus,
  Language,
  cast(InhRepairUserStatusName as crms4_repa_status_desc_lbl ) AS InhRepairStatusName
FROM I_InhRepairUserStatusText
LEFT OUTER JOIN I_InhRepairStatus AS _InhRepairStatus ON InhRepairStatus = _InhRepairStatus.InhRepairStatus  -- association [0..1]
-- UNION with additional select branch(es): I_SrvcLifeCycleSystemStatusT
;