I_InhRepairTransactionRelation
Relationship between Srvc Transactions
I_InhRepairTransactionRelation (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Sales
I_InhRepairTransactionRelation is a Composite CDS View that provides data about "Relationship between Srvc Transactions" in SAP S/4HANA. It reads from 1 data source (I_CustMgmtTransactionRelation) and exposes 13 fields with key field CustMgmtTransacRelationUUID. It has 5 associations to related views. Part of development package CRMS4_REPAIR_BO.
SAP Help Documentation
| Category | Service Operations and Processes |
|---|
This CDS view is designed to establish and analyze the relationships between various service transactions, including predecessor and successor service transactions, in-house repair items, customer returns, and outbound deliveries. It provides a comprehensive view of how different service-related transactions are interconnected within a business process. This CDS view provides the data to answer the following business questions: What are the predecessor and successor service transactions for a given service transaction? How are in-house repair items related to specific service transactions? What customer returns are associated with particular service transactions? How do outbound deliveries relate to successor service transactions? What is the overall relationship type between different customer management transactions?
Prerequisites
Authorizations Users who want to use this CDS view need to access it via another CDS view (privileged mode).
Structure
Important Fields Important fields in this view include the following: Field Name Description CUSTMGMTPRDCSSRTRANSACOBJTYPE Object type CUSTMGMTTRANSACRELATIONUUID GUID link CUSTMGMTSUCCSSRTRANSACTIONKEY Key CUSTMGMTSUCCSSRTRANSACOBJTYPE Object type CUSTMGMTTRANSACRELATIONTYPE Rel. type CUSTMGMTPRDCSSRTRANSACTIONKEY Key CUSTMGMTPRDCSSRTRANSACTIONUUID Object GUID CUSTMGMTSUCCSSRTRANSACTIONUUID Object GUID
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Sales |
| Application Component | CRM-S4-IHR-2CL |
| Capabilities | Data Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Not Released |
| Package | Sales for SAP S/4HANA Cloud Public Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustMgmtTransactionRelation | I_CustMgmtTransactionRelation | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ServiceDocument | _PredecessorServiceTransaction | $projection.CustMgmtPrdcssrTransactionUUID = _PredecessorServiceTransaction.ServiceDocumentUUID and $projection.CustMgmtPrdcssrTransacObjType = _PredecessorServiceTransaction.ServiceObjectType |
| [0..1] | I_ServiceDocument | _SuccessorServiceTransaction | $projection.CustMgmtSuccssrTransactionUUID = _SuccessorServiceTransaction.ServiceDocumentUUID and $projection.CustMgmtSuccssrTransacObjType = _SuccessorServiceTransaction.ServiceObjectType |
| [0..1] | I_InHouseRepairItem | _InHouseRepairItem | $projection.CustMgmtPrdcssrTransactionUUID = _InHouseRepairItem.InHouseRepairItemUUID and $projection.CustMgmtPrdcssrTransacObjType = _InHouseRepairItem.InhRepairItemObjectType and $projection.CustMgmtPrdcssrTransacObjType = 'BUS2000257' |
| [0..1] | I_CustomerReturnEnhanced | _PredecessorCustomerReturn | $projection.CustMgmtPrdcssrTransactionKey = _PredecessorCustomerReturn.CustomerReturn |
| [0..1] | I_OutboundDelivery | _OutboundDelivery | $projection.CustMgmtSuccssrTransactionKey = _OutboundDelivery.OutboundDelivery |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Relationship between Srvc Transactions | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustMgmtTransacRelationUUID | CustMgmtTransacRelationUUID | Object Relationship Service : GUID binary link | |
| CustMgmtPrdcssrTransactionUUID | CustMgmtPrdcssrTransactionUUID | GUID of a CRM Order Object | ||
| CustMgmtPrdcssrTransacObjType | CustMgmtPrdcssrTransacObjType | Object Type | ||
| CustMgmtSuccssrTransactionUUID | CustMgmtSuccssrTransactionUUID | GUID of a CRM Order Object | ||
| CustMgmtSuccssrTransactionKey | CustMgmtSuccssrTransactionKey | Object key | ||
| CustMgmtSuccssrTransacObjType | CustMgmtSuccssrTransacObjType | Object Type | ||
| CustMgmtTransacRelationType | CustMgmtTransacRelationType | Relationship type | ||
| CustMgmtPrdcssrTransactionKey | CustMgmtPrdcssrTransactionKey | Object key | ||
| _PredecessorServiceTransaction | _PredecessorServiceTransaction | |||
| _SuccessorServiceTransaction | _SuccessorServiceTransaction | |||
| _InHouseRepairItem | _InHouseRepairItem | |||
| _PredecessorCustomerReturn | _PredecessorCustomerReturn | |||
| _OutboundDelivery | _OutboundDelivery |
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_InhRepairTransactionRelation.
-- 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_InhRepairTransactionRelation AS
SELECT
CustMgmtTransacRelationUUID,
CustMgmtPrdcssrTransactionUUID,
CustMgmtPrdcssrTransacObjType,
CustMgmtSuccssrTransactionUUID,
CustMgmtSuccssrTransactionKey,
CustMgmtSuccssrTransacObjType,
CustMgmtTransacRelationType,
CustMgmtPrdcssrTransactionKey
FROM I_CustMgmtTransactionRelation
LEFT OUTER JOIN I_ServiceDocument AS _PredecessorServiceTransaction ON CustMgmtPrdcssrTransactionUUID = _PredecessorServiceTransaction.ServiceDocumentUUID AND CustMgmtPrdcssrTransacObjType = _PredecessorServiceTransaction.ServiceObjectType -- association [0..1]
LEFT OUTER JOIN I_ServiceDocument AS _SuccessorServiceTransaction ON CustMgmtSuccssrTransactionUUID = _SuccessorServiceTransaction.ServiceDocumentUUID AND CustMgmtSuccssrTransacObjType = _SuccessorServiceTransaction.ServiceObjectType -- association [0..1]
LEFT OUTER JOIN I_InHouseRepairItem AS _InHouseRepairItem ON CustMgmtPrdcssrTransactionUUID = _InHouseRepairItem.InHouseRepairItemUUID AND CustMgmtPrdcssrTransacObjType = _InHouseRepairItem.InhRepairItemObjectType AND CustMgmtPrdcssrTransacObjType = 'BUS2000257' -- association [0..1]
LEFT OUTER JOIN I_CustomerReturnEnhanced AS _PredecessorCustomerReturn ON CustMgmtPrdcssrTransactionKey = _PredecessorCustomerReturn.CustomerReturn -- association [0..1]
LEFT OUTER JOIN I_OutboundDelivery AS _OutboundDelivery ON CustMgmtSuccssrTransactionKey = _OutboundDelivery.OutboundDelivery -- association [0..1]
;
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