I_InhRepairItmCustRetRelation

DDL: I_INHREPAIRITMCUSTRETRELATION Type: view COMPOSITE

Relshp btwn Srvc Transac and Rtrns Ordr

I_InhRepairItmCustRetRelation is a Composite CDS View that provides data about "Relshp btwn Srvc Transac and Rtrns Ordr" in SAP S/4HANA. It reads from 3 data sources (I_CustomerReturnItemEnhanced, I_CustMgmtTransactionRelation, I_SrvcDocItemRelation) and exposes 8 fields with key fields ServiceDocumentItmRelationUUID, ServiceDocItmRltnSqncNumber.

Data Sources (3)

SourceAliasJoin Type
I_CustomerReturnItemEnhanced CustomerReturn inner
I_CustMgmtTransactionRelation HeaderRel inner
I_SrvcDocItemRelation ItemRelation from

Annotations (12)

NameValueLevelField
EndUserText.label Relshp btwn Srvc Transac and Rtrns Ordr view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName IIHRTRANSITMRLTN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocumentItmRelationUUID I_SrvcDocItemRelation ServiceDocumentItmRelationUUID GUID link
KEY ServiceDocItmRltnSqncNumber I_SrvcDocItemRelation ServiceDocItmRltnSqncNumber Sequential no.
ServiceDocumentItemPredecessor I_SrvcDocItemRelation ServiceDocumentItemPredecessor Object ID
ServiceDocItmPrdcssrBusObjType I_SrvcDocItemRelation ServiceDocItmPrdcssrBusObjType Object Type
ServiceDocumentItemSuccessor I_SrvcDocItemRelation ServiceDocumentItemSuccessor Object ID
ServiceDocItmSuccssrBusObjType I_SrvcDocItemRelation ServiceDocItmSuccssrBusObjType Object Type
ServiceDocumentItmRelationType I_SrvcDocItemRelation ServiceDocumentItmRelationType Rel. Type
CustRetMatlAuthzn I_CustomerReturnItemEnhanced CustRetMatlAuthzn

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_InhRepairItmCustRetRelation.
-- 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_InhRepairItmCustRetRelation AS
SELECT
  ItemRelation.ServiceDocumentItmRelationUUID AS ServiceDocumentItmRelationUUID,
  ItemRelation.ServiceDocItmRltnSqncNumber AS ServiceDocItmRltnSqncNumber,
  ItemRelation.ServiceDocumentItemPredecessor AS ServiceDocumentItemPredecessor,
  ItemRelation.ServiceDocItmPrdcssrBusObjType AS ServiceDocItmPrdcssrBusObjType,
  ItemRelation.ServiceDocumentItemSuccessor AS ServiceDocumentItemSuccessor,
  ItemRelation.ServiceDocItmSuccssrBusObjType AS ServiceDocItmSuccssrBusObjType,
  ItemRelation.ServiceDocumentItmRelationType AS ServiceDocumentItmRelationType,
  CustomerReturn.CustRetMatlAuthzn AS CustRetMatlAuthzn
FROM I_SrvcDocItemRelation AS ItemRelation
INNER JOIN I_CustMgmtTransactionRelation AS HeaderRel ON /* join condition not captured in parsed metadata */
INNER JOIN I_CustomerReturnItemEnhanced AS CustomerReturn ON /* join condition not captured in parsed metadata */
;