I_CmplRqRsltGHSLblPrvtnStmntTP
Prevention Statement - TP
I_CmplRqRsltGHSLblPrvtnStmntTP is a Transactional CDS View that provides data about "Prevention Statement - TP" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltGHSLblPrvtnStmnt) and exposes 9 fields with key field GHSLblPreventionAssgmtUUID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CmplRqRsltGHSLblPrvtnStmnt | I_CmplRqRsltGHSLblPrvtnStmnt | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CmplRqRsltGHSLblAssmtTP | _CmplRqRsltGHSLblAssmt | $projection.CmplRqRsltUUID = _CmplRqRsltGHSLblAssmt.CmplRqRsltUUID |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Prevention Statement - TP | view | |
| AbapCatalog.sqlViewName | IGHSLBLPRVTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.writeDraftPersistence | EHSDSW_GHS_L_PRV | view | |
| ObjectModel.writeActivePersistence | EHSDSV_GHS_L_PRV | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GHSLblPreventionAssgmtUUID | GHSLblPreventionAssgmtUUID | ||
| CmplRqRsltUUID | CmplRqRsltUUID | |||
| PCPrptySequence | PCPrptySequence | |||
| GHSLblPreventionUUID | GHSLblPreventionUUID | |||
| CreatedByUser | CreatedByUser | |||
| LastChangedByUser | LastChangedByUser | |||
| _CmplRqRsltGHSLblAssmt | _CmplRqRsltGHSLblAssmt | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser |
@EndUserText.label: 'Prevention Statement - TP'
@AbapCatalog:
{
sqlViewName: 'IGHSLBLPRVTP',
compiler.compareFilter: true
}
@AccessControl:
{
authorizationCheck: #MANDATORY,
privilegedAssociations: [ '_CreatedByUser', '_LastChangedByUser' ]
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM:
{
viewType: #TRANSACTIONAL,
lifecycle.contract.type:#SAP_INTERNAL_API
}
@ObjectModel:
{
--Transactional Annotations for the generated BO
modelCategory: #BUSINESS_OBJECT,
transactionalProcessingEnabled: true,
createEnabled: true,
updateEnabled: true,
deleteEnabled: true,
writeDraftPersistence: 'EHSDSW_GHS_L_PRV',
writeActivePersistence: 'EHSDSV_GHS_L_PRV',
semanticKey: [ 'GHSLblPreventionAssgmtUUID' ],
usageType:
{
dataClass: #TRANSACTIONAL,
sizeCategory: #XL,
serviceQuality: #C
}
}
define view I_CmplRqRsltGHSLblPrvtnStmntTP
as select from I_CmplRqRsltGHSLblPrvtnStmnt
--Link to root
association [1..1] to I_CmplRqRsltGHSLblAssmtTP as _CmplRqRsltGHSLblAssmt on $projection.CmplRqRsltUUID = _CmplRqRsltGHSLblAssmt.CmplRqRsltUUID
{
@ObjectModel.mandatory: true
key GHSLblPreventionAssgmtUUID,
@ObjectModel.mandatory: true
CmplRqRsltUUID,
@ObjectModel.mandatory: true
PCPrptySequence,
@ObjectModel.mandatory: true
GHSLblPreventionUUID,
--Create at date/time and by user
@ObjectModel.readOnly: true
CreationDateTime,
@ObjectModel.readOnly: true
CreatedByUser,
--Update at date/time and by user
@ObjectModel.readOnly: true
LastChangeDateTime,
@ObjectModel.readOnly: true
LastChangedByUser,
/* Associations */
@ObjectModel.association.type: [ #TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT ]
_CmplRqRsltGHSLblAssmt,
_CreatedByUser,
_LastChangedByUser
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CMPLRQRSLTGHSLBLPRVTNSTMNT"
],
"ASSOCIATED":
[
"I_CMPLRQRSLTGHSLBLASSMTTP",
"I_USER"
],
"BASE":
[
"I_CMPLRQRSLTGHSLBLPRVTNSTMNT"
],
"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