C_ChmlCmplncReqPrpsAssgmtTP
Requested Purpose of a Chemical Compliance Request
C_ChmlCmplncReqPrpsAssgmtTP is a Consumption CDS View that provides data about "Requested Purpose of a Chemical Compliance Request" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncReqPrpsAssgmtTP) and exposes 8 fields with key field ChmlCmplncPrpsAssgmtUUID. It has 4 associations to related views. Part of development package EHPMA_CNS_CRQ.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlCmplncReqPrpsAssgmtTP | I_ChmlCmplncReqPrpsAssgmtTP | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_ChmlCmplncReqProcMkt | _ChmlCmplncReq | _ChmlCmplncReq.ChmlCmplncRequestUUID = $projection.ChmlCmplncRequestUUID |
| [0..1] | P_ChmlCmplncPrpsMktRqmtCt | _PrpsMktRqmtCt | _PrpsMktRqmtCt.CmplncPrpsUUID = $projection.CmplncPrpsUUID |
| [0..*] | I_CmplncPrpsText | _CmplncPrpsText | _CmplncPrpsText.CmplncPrpsUUID = $projection.CmplncPrpsUUID |
| [1..1] | I_ChmlCmplncReqChgType | _ChangeType | $projection.ChmlCmplncReqChgType = _ChangeType.ChmlCmplncReqChgType |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Requested Purpose of a Chemical Compliance Request | view | |
| AbapCatalog.sqlViewName | CCCREQPRPSASSTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | false | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| Search.searchable | true | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncPrpsAssgmtUUID | ChmlCmplncPrpsAssgmtUUID | ||
| ChmlCmplncRequestUUID | ChmlCmplncRequestUUID | |||
| ChangeTypeChmlCmplncReqChgType | ||||
| ChmlCmplncReqChgTypeName | ||||
| CmplncPrpsUUID | CmplncPrpsUUID | |||
| CmplncPrpsName | ||||
| NmbrOfChmlCmplncMktRqmts | _PrpsMktRqmtCt | NmbrOfChmlCmplncMktRqmts | ||
| _ChmlCmplncReq | _ChmlCmplncReq |
@EndUserText.label: 'Requested Purpose of a Chemical Compliance Request'
@AbapCatalog:
{
sqlViewName: 'CCCREQPRPSASSTP',
compiler.compareFilter: true,
preserveKey : true
}
@AccessControl:
{
authorizationCheck: #CHECK
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@ObjectModel:
{
transactionalProcessingDelegated: true,
createEnabled: true,
updateEnabled: false,
deleteEnabled: 'EXTERNAL_CALCULATION',
semanticKey: [ 'CmplncPrpsUUID' ],
usageType:
{
/*Service Quality - reflects the quality of service with respect to the expected performance of the CDS view:
#A: may be consumed within business logic for high volume transactions or background processing
#B: may be consumed within business logic for transactions or background processing
*/
dataClass: #MIXED,
sizeCategory: #M,
serviceQuality: #C
}
}
@UI.presentationVariant : {
sortOrder: [{by: 'ChmlCmplncReqChgType', direction : #DESC}, {by: 'CmplncPrpsName', direction: #ASC }],
groupBy : ['ChmlCmplncReqChgType']
}
--Search
@Search.searchable : true
define view C_ChmlCmplncReqPrpsAssgmtTP
as select from I_ChmlCmplncReqPrpsAssgmtTP
association [1..1] to C_ChmlCmplncReqProcMkt as _ChmlCmplncReq on _ChmlCmplncReq.ChmlCmplncRequestUUID = $projection.ChmlCmplncRequestUUID
association [0..1] to P_ChmlCmplncPrpsMktRqmtCt as _PrpsMktRqmtCt on _PrpsMktRqmtCt.CmplncPrpsUUID = $projection.CmplncPrpsUUID
association [0..*] to I_CmplncPrpsText as _CmplncPrpsText on _CmplncPrpsText.CmplncPrpsUUID = $projection.CmplncPrpsUUID
association [1..1] to I_ChmlCmplncReqChgType as _ChangeType on $projection.ChmlCmplncReqChgType = _ChangeType.ChmlCmplncReqChgType
{
@UI.hidden: true
@ObjectModel.readOnly: true
key ChmlCmplncPrpsAssgmtUUID,
@UI.hidden: true
ChmlCmplncRequestUUID,
-- Change Type
@UI: {
lineItem:
{
position: 5,
importance: #MEDIUM
},
textArrangement: #TEXT_ONLY
}
@ObjectModel:
{
readOnly: true,
text.element: [ 'ChmlCmplncReqChgTypeName' ]
}
ChmlCmplncReqChgType,
@UI.hidden: true
@ObjectModel.readOnly: true
_ChangeType._Text[1: Language = $session.system_language ].ChmlCmplncReqChgTypeName,
@UI.hidden: true
CmplncPrpsUUID,
@UI:
{
lineItem:
{
position: 10,
importance: #HIGH
}
}
@ObjectModel.readOnly: true
@Semantics.text: true
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8 }
_CmplncPrpsText[ 1:Language = $session.system_language ].CmplncPrpsName as CmplncPrpsName,
@UI:
{
lineItem:
{
position: 20,
importance: #HIGH
}
}
@ObjectModel.readOnly: true
_PrpsMktRqmtCt.NmbrOfChmlCmplncMktRqmts,
/* Associations */
@ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
_ChmlCmplncReq
}
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