I_InhRepairUserStatus

DDL: I_INHREPAIRUSERSTATUS Type: view BASIC Package: CRMS4_REPAIR_BO

User Status of In-House Repair

I_InhRepairUserStatus is a Basic CDS View (Dimension) that provides data about "User Status of In-House Repair" in SAP S/4HANA. It reads from 2 data sources (I_CustMgmtLfcycUsrStsMapping, I_ServiceDocumentType) and exposes 4 fields with key fields InhRepairUserStatus, InhRepairType. It has 2 associations to related views. Part of development package CRMS4_REPAIR_BO.

Data Sources (2)

SourceAliasJoin Type
I_CustMgmtLfcycUsrStsMapping I_CustMgmtLfcycUsrStsMapping from
I_ServiceDocumentType srvcdoctype inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ServiceDocumentType _InhRepairType $projection.InhRepairType = _InhRepairType.ServiceDocumentType
[0..*] I_InhRepairUserStatusText _InhRepairUserStatusText $projection.InhRepairType = _InhRepairUserStatusText.InhRepairType and $projection.InhRepairUserStatus = _InhRepairUserStatusText.InhRepairUserStatus

Annotations (16)

NameValueLevelField
EndUserText.label User Status of In-House Repair view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey InhRepairUserStatus view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IIHRUSRSTATUS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #SWITCHED_OFF view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY InhRepairUserStatus
KEY InhRepairType I_ServiceDocumentType ServiceDocumentType Transaction Type
_InhRepairType _InhRepairType
_InhRepairUserStatusText _InhRepairUserStatusText

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_InhRepairUserStatus.
-- 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_InhRepairUserStatus AS
SELECT
  cast(I_CustMgmtLfcycUsrStsMapping.CustMgmtLifecycleUserStatus as crms4_repa_header_status_lbl preserving type) AS InhRepairUserStatus,
  srvcdoctype.ServiceDocumentType AS InhRepairType
FROM I_CustMgmtLfcycUsrStsMapping
INNER JOIN I_ServiceDocumentType AS srvcdoctype ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ServiceDocumentType AS _InhRepairType ON InhRepairType = _InhRepairType.ServiceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_InhRepairUserStatusText AS _InhRepairUserStatusText ON InhRepairType = _InhRepairUserStatusText.InhRepairType AND InhRepairUserStatus = _InhRepairUserStatusText.InhRepairUserStatus  -- association [0..*]
;