R_SrvcQtanItemUserStatusTP
Service Quotation Item User Status - TP
R_SrvcQtanItemUserStatusTP is a Transactional CDS View that provides data about "Service Quotation 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 ServiceQuotation, ServiceQuotationItem, UserStatus. It has 3 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentItem | ServiceQuotationItem | inner |
| I_SrvcMgmtObjectStatus | ServiceQuotationItemStatus | from |
| P_StatusObjectWithGUID | StatusObject | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_ServiceQuotationTP | _ServiceQuotationTP | $projection.ServiceQuotation = _ServiceQuotationTP.ServiceQuotation |
| [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 Item User Status - TP | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceQuotation | I_ServiceDocumentItem | ServiceDocument | |
| KEY | ServiceQuotationItem | I_ServiceDocumentItem | ServiceDocumentItem | |
| KEY | UserStatus | I_SrvcMgmtObjectStatus | SrvcMgmtObjectStatus | |
| StatusProfile | P_StatusObjectWithGUID | StatusProfile | ||
| _StatusCode | _StatusCode | |||
| _StatusProfile | _StatusProfile | |||
| _ServiceQuotationItemTP | _ServiceQuotationItemTP | |||
| _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 Item User Status - TP'
@ObjectModel: {
usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #TRANSACTIONAL}
}
define view entity R_SrvcQtanItemUserStatusTP
as select from I_SrvcMgmtObjectStatus as ServiceQuotationItemStatus
inner join P_StatusObjectWithGUID as StatusObject on ServiceQuotationItemStatus.SrvcMgmtObjectUUID = StatusObject.StatusObjectUUID
inner join I_ServiceDocumentItem as ServiceQuotationItem on ServiceQuotationItemStatus.SrvcMgmtObjectUUID = ServiceQuotationItem.ServiceDocumentItemUUID
and ServiceQuotationItem.ServiceObjectType = 'BUS2000116'
and ServiceQuotationItem.ServiceDocumentItemIsQuotation is not initial
and ServiceQuotationItemStatus.SrvcMgmtObjectStatus like 'E%'
and ServiceQuotationItemStatus.SrvcMgmtObjectStatusIsInactive = ' '
association to parent R_ServiceQuotationItemTP as _ServiceQuotationItemTP on $projection.ServiceQuotation = _ServiceQuotationItemTP.ServiceQuotation
and $projection.ServiceQuotationItem = _ServiceQuotationItemTP.ServiceQuotationItem
association [1..1] to 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 ServiceQuotationItem.ServiceDocument as ServiceQuotation,
key ServiceQuotationItem.ServiceDocumentItem as ServiceQuotationItem,
@ObjectModel.foreignKey.association: '_StatusCode'
key ServiceQuotationItemStatus.SrvcMgmtObjectStatus as UserStatus,
@ObjectModel.foreignKey.association: '_StatusProfile'
StatusObject.StatusProfile as StatusProfile,
/* Associations */
_StatusCode,
_StatusProfile,
_ServiceQuotationItemTP,
_ServiceQuotationTP
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENTITEM",
"I_SRVCMGMTOBJECTSTATUS",
"P_STATUSOBJECTWITHGUID"
],
"ASSOCIATED":
[
"I_STATUSCODE",
"I_STATUSPROFILE",
"R_SERVICEQUOTATIONITEMTP",
"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