I_InhRepairTransactionRelation
Relationship between Service Transactions
I_InhRepairTransactionRelation is a Composite CDS View that provides data about "Relationship between Service 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.
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 (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Relationship between Service 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 | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IIHRTRANSACRLTN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustMgmtTransacRelationUUID | CustMgmtTransacRelationUUID | ||
| CustMgmtPrdcssrTransactionUUID | CustMgmtPrdcssrTransactionUUID | |||
| CustMgmtPrdcssrTransacObjType | CustMgmtPrdcssrTransacObjType | |||
| CustMgmtSuccssrTransactionUUID | CustMgmtSuccssrTransactionUUID | |||
| CustMgmtSuccssrTransactionKey | CustMgmtSuccssrTransactionKey | |||
| CustMgmtSuccssrTransacObjType | CustMgmtSuccssrTransacObjType | |||
| CustMgmtTransacRelationType | CustMgmtTransacRelationType | |||
| CustMgmtPrdcssrTransactionKey | CustMgmtPrdcssrTransactionKey | |||
| _PredecessorServiceTransaction | _PredecessorServiceTransaction | |||
| _SuccessorServiceTransaction | _SuccessorServiceTransaction | |||
| _InHouseRepairItem | _InHouseRepairItem | |||
| _PredecessorCustomerReturn | _PredecessorCustomerReturn | |||
| _OutboundDelivery | _OutboundDelivery |
@EndUserText.label: 'Relationship between Service Transactions'
@VDM: {
viewType: #COMPOSITE,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl: {
authorizationCheck: #PRIVILEGED_ONLY
}
@ObjectModel: {
usageType: {serviceQuality: #B, sizeCategory: #XL, dataClass: #TRANSACTIONAL}
}
@Metadata: {
ignorePropagatedAnnotations: true
}
@ClientHandling: {
algorithm: #SESSION_VARIABLE
}
@AbapCatalog: {
sqlViewName: 'IIHRTRANSACRLTN',
compiler.compareFilter: true,
preserveKey: true
}
define view I_InhRepairTransactionRelation
as select from I_CustMgmtTransactionRelation
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] }*/
association [0..1] to I_ServiceDocument as _PredecessorServiceTransaction on $projection.CustMgmtPrdcssrTransactionUUID = _PredecessorServiceTransaction.ServiceDocumentUUID
and $projection.CustMgmtPrdcssrTransacObjType = _PredecessorServiceTransaction.ServiceObjectType
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] }*/
association [0..1] to I_ServiceDocument as _SuccessorServiceTransaction on $projection.CustMgmtSuccssrTransactionUUID = _SuccessorServiceTransaction.ServiceDocumentUUID
and $projection.CustMgmtSuccssrTransacObjType = _SuccessorServiceTransaction.ServiceObjectType
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] }*/
association [0..1] to I_InHouseRepairItem as _InHouseRepairItem on $projection.CustMgmtPrdcssrTransactionUUID = _InHouseRepairItem.InHouseRepairItemUUID
and $projection.CustMgmtPrdcssrTransacObjType = _InHouseRepairItem.InhRepairItemObjectType
and $projection.CustMgmtPrdcssrTransacObjType = 'BUS2000257'
association [0..1] to I_CustomerReturnEnhanced as _PredecessorCustomerReturn on $projection.CustMgmtPrdcssrTransactionKey = _PredecessorCustomerReturn.CustomerReturn
association [0..1] to I_OutboundDelivery as _OutboundDelivery on $projection.CustMgmtSuccssrTransactionKey = _OutboundDelivery.OutboundDelivery
{
key CustMgmtTransacRelationUUID,
CustMgmtPrdcssrTransactionUUID,
CustMgmtPrdcssrTransacObjType,
CustMgmtSuccssrTransactionUUID,
CustMgmtSuccssrTransactionKey,
CustMgmtSuccssrTransacObjType,
CustMgmtTransacRelationType,
//Return Order Changes
CustMgmtPrdcssrTransactionKey,
// Associations
_PredecessorServiceTransaction,
_SuccessorServiceTransaction,
_InHouseRepairItem,
_PredecessorCustomerReturn,
_OutboundDelivery
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CUSTMGMTTRANSACTIONRELATION"
],
"ASSOCIATED":
[
"I_CUSTOMERRETURNENHANCED",
"I_INHOUSEREPAIRITEM",
"I_OUTBOUNDDELIVERY",
"I_SERVICEDOCUMENT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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