R_SrvcDocItemDocumentFlow
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)
| Source | Alias | Join Type |
|---|---|---|
| I_SrvcDocItmDocumentFlow | I_SrvcDocItmDocumentFlow | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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