R_SrvcContrItemUserStatusTP

DDL: R_SRVCCONTRITEMUSERSTATUSTP Type: view_entity TRANSACTIONAL

Service Contract Item User Status - TP

R_SrvcContrItemUserStatusTP is a Transactional CDS View that provides data about "Service Contract Item User Status - TP" in SAP S/4HANA. It reads from 3 data sources (I_ServiceDocumentItem, I_SrvcMgmtObjectStatus, P_StatusObjectWithGUID) and exposes 8 fields with key fields ServiceContract, ServiceContractItem, UserStatus. It has 3 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_ServiceDocumentItem ServiceContractItem inner
I_SrvcMgmtObjectStatus ServiceContractItemStatus from
P_StatusObjectWithGUID StatusObject inner

Associations (3)

CardinalityTargetAliasCondition
[1..1] R_ServiceContractTP _ServiceContractTP $projection.ServiceContract = _ServiceContractTP.ServiceContract
[0..1] I_StatusCode _StatusCode $projection.UserStatus = _StatusCode.StatusCode and $projection.StatusProfile = _StatusCode.StatusProfile
[0..1] I_StatusProfile _StatusProfile $projection.StatusProfile = _StatusProfile.StatusProfile

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Service Contract Item User Status - TP view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ServiceContract I_ServiceDocumentItem ServiceDocument Transaction ID
KEY ServiceContractItem I_ServiceDocumentItem ServiceDocumentItem Service Document
KEY UserStatus I_SrvcMgmtObjectStatus SrvcMgmtObjectStatus Status of Time-Dependent Document Linkage
StatusProfile P_StatusObjectWithGUID StatusProfile Status Profile
_StatusCode _StatusCode
_StatusProfile _StatusProfile
_ServiceContractItemTP _ServiceContractItemTP
_ServiceContractTP _ServiceContractTP

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_SrvcContrItemUserStatusTP.
-- 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 R_SrvcContrItemUserStatusTP AS
SELECT
  ServiceContractItem.ServiceDocument AS ServiceContract,
  ServiceContractItem.ServiceDocumentItem AS ServiceContractItem,
  ServiceContractItemStatus.SrvcMgmtObjectStatus AS UserStatus,
  StatusObject.StatusProfile AS StatusProfile
FROM I_SrvcMgmtObjectStatus AS ServiceContractItemStatus
INNER JOIN P_StatusObjectWithGUID AS StatusObject ON /* join condition not captured in parsed metadata */
INNER JOIN I_ServiceDocumentItem AS ServiceContractItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_ServiceContractTP AS _ServiceContractTP ON ServiceContract = _ServiceContractTP.ServiceContract  -- association [1..1]
LEFT OUTER JOIN I_StatusCode AS _StatusCode ON UserStatus = _StatusCode.StatusCode AND StatusProfile = _StatusCode.StatusProfile  -- association [0..1]
LEFT OUTER JOIN I_StatusProfile AS _StatusProfile ON StatusProfile = _StatusProfile.StatusProfile  -- association [0..1]
;