R_SrvcDocItemDocumentFlow

DDL: R_SRVCDOCITEMDOCUMENTFLOW SQL: RSRVCDOCFLWITM Type: view COMPOSITE

Transaction flow for Srvc Transac Itm

R_SrvcDocItemDocumentFlow is a Composite CDS View that provides data about "Transaction flow for Srvc Transac Itm" in SAP S/4HANA. It reads from 1 data source (I_SrvcDocItmDocumentFlow) and exposes 13 fields with key fields ServiceDocument, ServiceDocumentItem, CustMgmtPrdcssrTransactionKey. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SrvcDocItmDocumentFlow I_SrvcDocItmDocumentFlow from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_SrvcDocDocumentFlow _SrvcDocDocumentFlow $projection.ServiceDocumentItmRelationUUID = _SrvcDocDocumentFlow.ServiceDocumentRelationUUID and $projection.ServiceDocument != _SrvcDocDocumentFlow.CustMgmtPrdcssrTransactionKey
[1..1] I_ServiceDocumentItemEnhcd _ServiceDocumentItemEnhcd $projection.ServiceDocumentItemSuccessor = _ServiceDocumentItemEnhcd.ServiceDocumentItemCharUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName RSRVCDOCFLWITM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Transaction flow for Srvc Transac Itm view
ObjectModel.representativeKey ServiceDocumentItem view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocument ServiceDocument Transaction ID
KEY ServiceDocumentItem ServiceDocumentItem Service Document
KEY CustMgmtPrdcssrTransactionKey _SrvcDocDocumentFlow CustMgmtPrdcssrTransactionKey
ServiceDocumentItmRelationUUID ServiceDocumentItmRelationUUID
ServiceDocumentIsQuotation _SrvcDocDocumentFlow ServiceDocumentIsQuotation
ServiceObjectType ServiceObjectType Object Type
ServiceDocumentItemSuccessor ServiceDocumentItemSuccessor
ReltdSrvcDocItemIsPredecessor I_SrvcDocItmDocumentFlow ReltdSrvcDocItemIsPredecessor
PrdcssrSuccssrDocObjectType _SrvcDocDocumentFlow PrdcssrSuccssrDocObjectType
ServiceDocumentItemIsQuotation _ServiceDocumentItemEnhcd ServiceDocumentItemIsQuotation
ServiceDocumentTemplateType _ServiceDocumentItemEnhcd ServiceDocumentTemplateType
_SrvcDocDocumentFlow _SrvcDocDocumentFlow
_ServiceDocumentItemEnhcd _ServiceDocumentItemEnhcd

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 R_SrvcDocItemDocumentFlow.
-- 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.
-- SQL view name: RSRVCDOCFLWITM

CREATE VIEW R_SrvcDocItemDocumentFlow AS
SELECT
  ServiceDocument,
  ServiceDocumentItem,
  _SrvcDocDocumentFlow.CustMgmtPrdcssrTransactionKey AS CustMgmtPrdcssrTransactionKey,
  ServiceDocumentItmRelationUUID,
  _SrvcDocDocumentFlow.ServiceDocumentIsQuotation AS ServiceDocumentIsQuotation,
  ServiceObjectType,
  ServiceDocumentItemSuccessor,
  I_SrvcDocItmDocumentFlow.ReltdSrvcDocItemIsPredecessor AS ReltdSrvcDocItemIsPredecessor,
  _SrvcDocDocumentFlow.PrdcssrSuccssrDocObjectType AS PrdcssrSuccssrDocObjectType,
  _ServiceDocumentItemEnhcd.ServiceDocumentItemIsQuotation AS ServiceDocumentItemIsQuotation,
  _ServiceDocumentItemEnhcd.ServiceDocumentTemplateType AS ServiceDocumentTemplateType
FROM I_SrvcDocItmDocumentFlow
LEFT OUTER JOIN R_SrvcDocDocumentFlow AS _SrvcDocDocumentFlow ON ServiceDocumentItmRelationUUID = _SrvcDocDocumentFlow.ServiceDocumentRelationUUID AND ServiceDocument != _SrvcDocDocumentFlow.CustMgmtPrdcssrTransactionKey  -- association [1..1]
LEFT OUTER JOIN I_ServiceDocumentItemEnhcd AS _ServiceDocumentItemEnhcd ON ServiceDocumentItemSuccessor = _ServiceDocumentItemEnhcd.ServiceDocumentItemCharUUID  -- association [1..1]
;