P_CustMgmtActivityText
P_CustMgmtActivityText is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CustMgmtActivityEnhcd) and exposes 4 fields. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustMgmtActivityEnhcd | I_CustMgmtActivityEnhcd | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_TextObjectPlainLongText | _Text | _Text.TextObjectKey <= $projection.TextObjectKeyTimeStamp and _Text.TextObjectKey >= I_CustMgmtActivityEnhcd.TextObjectKey and _Text.TextObjectCategory = 'CRM_ORDERH' and ( _Text.TextObjectType = 'A002' or _Text.TextObjectType = 'A003' or _Text.TextObjectType = 'A004' or _Text.TextObjectType = 'A005' or _Text.TextObjectType = 'A006' or _Text.TextObjectType = 'A001' ) and _Text.Language = $session.system_language |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AbapCatalog.sqlViewName | PCUSTMGMTACTTEXT | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CustMgmtActivity | CustMgmtActivity | |||
| TextObjectKey | TextObjectKey | |||
| TextObjectKeyTimeStamp | ||||
| _Text | _Text |
@ClientHandling.type: #CLIENT_DEPENDENT
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.private: true
@AbapCatalog.sqlViewName: 'PCUSTMGMTACTTEXT'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.privilegedAssociations: ['_Text']
define view P_CustMgmtActivityText
as select from I_CustMgmtActivityEnhcd
association [0..*] to I_TextObjectPlainLongText as _Text on _Text.TextObjectKey <= $projection.TextObjectKeyTimeStamp
and _Text.TextObjectKey >= I_CustMgmtActivityEnhcd.TextObjectKey
and _Text.TextObjectCategory = 'CRM_ORDERH'
and ( _Text.TextObjectType = 'A002' or _Text.TextObjectType = 'A003' or
_Text.TextObjectType = 'A004' or _Text.TextObjectType = 'A005' or
_Text.TextObjectType = 'A006' or _Text.TextObjectType = 'A001' )
and _Text.Language = $session.system_language
{
CustMgmtActivity,
TextObjectKey,
concat(TextObjectKey,' ZZZZZZZZZZZZZZZZZ') as TextObjectKeyTimeStamp,
_Text
}
/* define view P_CustMgmtActivityText
as select from I_CustMgmtActivityEnhcd
association [0..*] to P_CustMgmtTextUUID as _CustMgmtText on I_CustMgmtActivityEnhcd.CustMgmtActivityUUID = _CustMgmtText.TextObjectKeyUUID
and(
_CustMgmtText.TextObjectType = 'A002'
or _CustMgmtText.TextObjectType = 'A003'
or _CustMgmtText.TextObjectType = 'A004'
or _CustMgmtText.TextObjectType = 'A005'
)
{
key CustMgmtActivity,
CustMgmtActivityUUID,
_CustMgmtText.TextObjectKey,
_CustMgmtText.TextObjectType
}
*/
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CUSTMGMTACTIVITYENHCD"
],
"ASSOCIATED":
[
"I_TEXTOBJECTPLAINLONGTEXT"
],
"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