I_ServiceDocumentItemPrdcssr_3

DDL: I_SERVICEDOCUMENTITEMPRDCSSR_3 Type: view BASIC

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

CategoryService Operations and Processes
Data CategoryFact
Purpose
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.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentCRM-S4-REP-RFW
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction
PackageSales 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

Data Sources (1)

SourceAliasJoin Type
crmd_brelvonai crmd_brelvonai from

Associations (1)

CardinalityTargetAliasCondition
[1] I_ServiceDocumentItemEnhcd _ServiceDocItm $projection.ServiceDocumentItemPredecessor = _ServiceDocItm.ServiceDocumentItemCharUUID

Annotations (15)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;