I_InhRepairUserStatus
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CustMgmtLfcycUsrStsMapping | I_CustMgmtLfcycUsrStsMapping | from |
| I_ServiceDocumentType | srvcdoctype | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ServiceDocumentType | _InhRepairType | $projection.InhRepairType = _InhRepairType.ServiceDocumentType |
| [0..*] | I_InhRepairUserStatusText | _InhRepairUserStatusText | $projection.InhRepairType = _InhRepairUserStatusText.InhRepairType and $projection.InhRepairUserStatus = _InhRepairUserStatusText.InhRepairUserStatus |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
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