R_SrvcQtanUserStatusTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocument | ServiceQuotation | inner |
| I_SrvcMgmtObjectStatus | ServiceQuotationStatus | from |
| P_StatusObjectWithGUID | StatusObject | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceQuotation | I_ServiceDocument | ServiceDocument | |
| KEY | UserStatus | I_SrvcMgmtObjectStatus | SrvcMgmtObjectStatus | |
| StatusProfile | P_StatusObjectWithGUID | StatusProfile | ||
| _StatusCode | _StatusCode | |||
| _StatusProfile | _StatusProfile | |||
| _ServiceQuotationTP | _ServiceQuotationTP |
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM: {
viewType: #TRANSACTIONAL,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata:
{
ignorePropagatedAnnotations: true
}
@EndUserText.label: 'Service Quotation User Status - TP'
@ObjectModel: {
semanticKey: ['ServiceQuotation'],
usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #TRANSACTIONAL}
}
define view entity R_SrvcQtanUserStatusTP
as select from I_SrvcMgmtObjectStatus as ServiceQuotationStatus
inner join P_StatusObjectWithGUID as StatusObject on ServiceQuotationStatus.SrvcMgmtObjectUUID = StatusObject.StatusObjectUUID
inner join I_ServiceDocument as ServiceQuotation on ServiceQuotationStatus.SrvcMgmtObjectUUID = ServiceQuotation.ServiceDocumentUUID
and ServiceQuotation.ServiceObjectType = 'BUS2000116'
and ServiceQuotation.ServiceDocumentIsQuotation is not initial
and ServiceQuotation.ServiceDocumentTemplateType is initial
and ServiceQuotation.SrvcDocIsMaintServiceOrder is initial
and ServiceQuotationStatus.SrvcMgmtObjectStatus like 'E%'
and ServiceQuotationStatus.SrvcMgmtObjectStatusIsInactive = ' '
association to parent R_ServiceQuotationTP as _ServiceQuotationTP on $projection.ServiceQuotation = _ServiceQuotationTP.ServiceQuotation
association [0..1] to I_StatusCode as _StatusCode on $projection.UserStatus = _StatusCode.StatusCode
and $projection.StatusProfile = _StatusCode.StatusProfile
association [0..1] to I_StatusProfile as _StatusProfile on $projection.StatusProfile = _StatusProfile.StatusProfile
{
key ServiceQuotation.ServiceDocument as ServiceQuotation,
key ServiceQuotationStatus.SrvcMgmtObjectStatus as UserStatus,
StatusObject.StatusProfile,
/* Associations */
_StatusCode,
_StatusProfile,
_ServiceQuotationTP
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENT",
"I_SRVCMGMTOBJECTSTATUS",
"P_STATUSOBJECTWITHGUID"
],
"ASSOCIATED":
[
"I_STATUSCODE",
"I_STATUSPROFILE",
"R_SERVICEQUOTATIONTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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