R_SrvcQtanUserStatusTP

DDL: R_SRVCQTANUSERSTATUSTP Type: view_entity TRANSACTIONAL

Service Quotation User Status - TP

R_SrvcQtanUserStatusTP is a Transactional CDS View that provides data about "Service Quotation 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 ServiceQuotation, UserStatus. It has 2 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_ServiceDocument ServiceQuotation inner
I_SrvcMgmtObjectStatus ServiceQuotationStatus 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 Quotation 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 ServiceQuotation 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
_ServiceQuotationTP _ServiceQuotationTP

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