I_ServiceDocumentItemPrdcssr_3
Preceding Transaction of Srvc Trans Item
I_ServiceDocumentItemPrdcssr_3 (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
ServiceDocumentItemPredecessor · Sales
I_ServiceDocumentItemPrdcssr_3 is a Basic CDS View (Fact) that provides data about "Preceding Transaction of Srvc Trans Item" in SAP S/4HANA. It reads from 1 data source (crmd_brelvonai) and exposes 10 fields with key fields ServiceDocumentItmRelationUUID, ServiceDocItmRltnSqncNumber. It has 1 association to related views.
SAP Help Documentation
| Category | Service Operations and Processes |
|---|---|
| Data Category | Fact |
This CDS view is app independent, and is available for all external consumers who want to extract the data of preceding transactions at item level to SAP Business Warehouse (SAP BW) or other external systems. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: Authorization Object Description CRM_SEO Authorization Object CRM Order – Business Object Service Order CRM_CON_SE Authorization Object CRM Order – Bus.Ob.Service Confirmation CRM_CO_SE Authorization Object CRM Order – Bus. Ob. Service Contract CRM_INCDNT Authorization Object CRM Order: Incident Management CRMS4_SOLO Authorization Object for Solution Order
Structure
Important Fields Important fields in this view include the following: Field Name Description ServiceDocItmRltnSqncNumber Item number in a service transaction ServiceDocumentItemPredecessor ID of an item in a preceding service transaction ServiceDocumentItemObjectType Object type of an item in a service transaction ServiceDocItmPrdcssrBusObjType Object type of an item in a preceding service transaction ServiceDocumentItmRelationKind Type of relation between the preceding and the current transaction item
Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sales |
| Application Component | CRM-S4-REP-RFW |
| Capabilities | Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction |
| Package | Sales for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view is app independent, and is available for all external consumers who want to extract the data of preceding transactions at item level to SAP Business Warehouse (SAP BW) or other external systems.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| crmd_brelvonai | crmd_brelvonai | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_ServiceDocumentItemEnhcd | _ServiceDocItm | $projection.ServiceDocumentItemPredecessor = _ServiceDocItm.ServiceDocumentItemCharUUID |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Preceding Transaction of Srvc Trans Item | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.dataExtraction.enabled | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ISRVCITMPRD3 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.sapObjectNodeType.name | ServiceDocumentItemPredecessor | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceDocumentItmRelationUUID | relationid | Object Relationship Service : GUID binary link | |
| KEY | ServiceDocItmRltnSqncNumber | posno | Sequential Number of Segment in IDoc Type | |
| ServiceDocumentItemPredecessor | objkey_a | Identification of a Reference Object for Items | ||
| ServiceDocumentItemCharUUID | 32 Character CRM Object GUID | |||
| ServiceDocumentItmRelationType | breltyp | Relationship type | ||
| ServiceDocItmPrdcssrBusObjType | objtype_a | Object Type | ||
| ServiceDocumentItmRelationKind | vona_kind | Type of binary relationship types VONA | ||
| ServiceDocumentItemObjectType | objtype_b | Object Type | ||
| SrvcDocItmDocFlwCrtnDateTime | CRM document flow date time | |||
| _ServiceDocItm | _ServiceDocItm |
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_ServiceDocumentItemPrdcssr_3.
-- 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_ServiceDocumentItemPrdcssr_3 AS
SELECT
relationid AS ServiceDocumentItmRelationUUID,
posno AS ServiceDocItmRltnSqncNumber,
objkey_a AS ServiceDocumentItemPredecessor,
cast(objkey_b as crms4_object_charguid32 preserving type ) AS ServiceDocumentItemCharUUID,
breltyp AS ServiceDocumentItmRelationType,
objtype_a AS ServiceDocItmPrdcssrBusObjType,
vona_kind AS ServiceDocumentItmRelationKind,
objtype_b AS ServiceDocumentItemObjectType,
cast (date as crmt_doc_flow_datetime preserving type) AS SrvcDocItmDocFlwCrtnDateTime
FROM crmd_brelvonai
LEFT OUTER JOIN I_ServiceDocumentItemEnhcd AS _ServiceDocItm ON ServiceDocumentItemPredecessor = _ServiceDocItm.ServiceDocumentItemCharUUID -- association [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