I_InhRepairItemStatusText

DDL: I_INHREPAIRITEMSTATUSTEXT Type: view COMPOSITE

Status of In-House Service Object - Text

I_InhRepairItemStatusText is a Composite CDS View that provides data about "Status of In-House Service Object - Text" in SAP S/4HANA. It reads from 5 data sources (I_ServiceDocItemCategory, I_ServiceDocItemCategory, I_SrvcLifeCycleSystemStatusT, I_CustMgmtLfcycUsrStsMapping, I_CustMgmtLifecycleUserStsText) and exposes 13 fields with key fields Language, InhRepairItemStatus, InhRepairItemCategory, InhRepairItemStatus, InhRepairItemCategory. It has 3 associations to related views.

Data Sources (5)

SourceAliasJoin Type
I_ServiceDocItemCategory I_ServiceDocItemCategory inner
I_ServiceDocItemCategory ic inner
I_SrvcLifeCycleSystemStatusT sysstattext union_all
I_CustMgmtLfcycUsrStsMapping usrstatmapping inner
I_CustMgmtLifecycleUserStsText usrstattext from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_InhRepairItemStatus _InhRepairItemStatus $projection.InhRepairItemStatus = _InhRepairItemStatus.InhRepairItemStatus and $projection.InhRepairItemCategory = _InhRepairItemStatus.InhRepairItemCategory
[0..1] I_Language _Language $projection.Language = _Language.Language
[0..1] I_ServiceDocItemCategory _InhRepairItemCategory $projection.InhRepairItemCategory = _InhRepairItemCategory.ServiceDocItemCategory

Annotations (13)

NameValueLevelField
EndUserText.label Status of In-House Service Object - 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 InhRepairItemStatus view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IIHRITEMSTATUST view
AbapCatalog.compiler.compareFilter true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY Language I_CustMgmtLifecycleUserStsText Language Report Text Language
KEY InhRepairItemStatus
KEY InhRepairItemCategory I_ServiceDocItemCategory ServiceDocItemCategory Item Category
InhRepairItemStatusName
_InhRepairItemStatus _InhRepairItemStatus
_Language _Language
Language Report Text Language
KEY InhRepairItemStatus
KEY InhRepairItemCategory I_ServiceDocItemCategory ServiceDocItemCategory Item Category
InhRepairItemStatusName
_InhRepairItemStatus _InhRepairItemStatus
_Language _Language
_InhRepairItemCategory _InhRepairItemCategory

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_InhRepairItemStatusText.
-- 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_InhRepairItemStatusText AS
SELECT
  usrstattext.Language AS Language,
  cast(usrstattext.CustMgmtLifecycleUserStatus as crms4_repa_item_status_lbl preserving type) AS InhRepairItemStatus,
  I_ServiceDocItemCategory.ServiceDocItemCategory AS InhRepairItemCategory,
  cast(usrstattext.CustMgmtLifecycleUserStsName as crms4_repa_item_status_dsc_lbl ) AS InhRepairItemStatusName
FROM I_CustMgmtLifecycleUserStsText AS usrstattext
INNER JOIN I_CustMgmtLfcycUsrStsMapping AS usrstatmapping ON /* join condition not captured in parsed metadata */
INNER JOIN I_ServiceDocItemCategory ON /* join condition not captured in parsed metadata */
INNER JOIN I_ServiceDocItemCategory AS ic ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_InhRepairItemStatus AS _InhRepairItemStatus ON InhRepairItemStatus = _InhRepairItemStatus.InhRepairItemStatus AND InhRepairItemCategory = _InhRepairItemStatus.InhRepairItemCategory  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocItemCategory AS _InhRepairItemCategory ON InhRepairItemCategory = _InhRepairItemCategory.ServiceDocItemCategory  -- association [0..1]
-- UNION ALL with additional select branch(es): I_SrvcLifeCycleSystemStatusT
;