R_SrvcConfUserStatusTP

DDL: R_SRVCCONFUSERSTATUSTP Type: view_entity TRANSACTIONAL Package: CRMS4_SERVICE_CONFIRMATION_RAP

Service Confirmation User Status - TP

R_SrvcConfUserStatusTP is a Transactional CDS View that provides data about "Service Confirmation User Status - TP" in SAP S/4HANA. It reads from 3 data sources (I_ServiceDocument, I_SrvcMgmtObjectStatus, P_StatusObjectWithGUID) and exposes 6 fields with key fields ServiceConfirmation, UserStatus. It has 2 associations to related views. Part of development package CRMS4_SERVICE_CONFIRMATION_RAP.

Data Sources (3)

SourceAliasJoin Type
I_ServiceDocument ServiceConfirmation inner
I_SrvcMgmtObjectStatus ServiceConfirmationStatus from
P_StatusObjectWithGUID StatusObject inner

Associations (2)

CardinalityTargetAliasCondition
[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 Confirmation User Status - TP view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ServiceConfirmation I_ServiceDocument ServiceDocument Transaction ID
KEY UserStatus I_SrvcMgmtObjectStatus SrvcMgmtObjectStatus Status of Time-Dependent Document Linkage
StatusProfile P_StatusObjectWithGUID StatusProfile Status Profile
_StatusCode _StatusCode
_StatusProfile _StatusProfile
_ServiceConfirmationTP _ServiceConfirmationTP

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_SrvcConfUserStatusTP.
-- 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_SrvcConfUserStatusTP AS
SELECT
  ServiceConfirmation.ServiceDocument AS ServiceConfirmation,
  ServiceConfirmationStatus.SrvcMgmtObjectStatus AS UserStatus,
  StatusObject.StatusProfile AS StatusProfile
FROM I_SrvcMgmtObjectStatus AS ServiceConfirmationStatus
INNER JOIN P_StatusObjectWithGUID AS StatusObject ON /* join condition not captured in parsed metadata */
INNER JOIN I_ServiceDocument AS ServiceConfirmation ON /* join condition not captured in parsed metadata */
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]
;