I_SERVICEDOCUMENTPREDECESSOR
Preceding Service Transaction
I_SERVICEDOCUMENTPREDECESSOR is a CDS View in S/4HANA. Preceding Service Transaction. It contains 7 fields. 12 CDS views read from this table.
CDS Views using this table (12)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_SbscrContrPrdcssrBusSolnQtn | view_entity | from | COMPOSITE | Subscription Contract Predecessor Solution Quotation |
| A_SbscrContrPrdcssrSubscrpnOrd | view_entity | from | COMPOSITE | Subscription Contract Predecessor Subscription Order |
| I_ChgOrdPrdcssrBusSolnQtan | view_entity | from | COMPOSITE | Predecessor Quotation |
| I_ChgOrdPrdcssrSubscrpnContr | view_entity | from | COMPOSITE | Predecessor Contract |
| I_SrvcDocDocumentFlow | view | inner | COMPOSITE | Trans Hist of Preced and Follow-Up Trans |
| I_SrvcOrdRefFSMServiceCall | view | from | COMPOSITE | Retrieves the FSM Service Call ID for Service Order |
| I_SubscrpnContrPrdcssr | view_entity | from | COMPOSITE | Subscription Contract Predecessor |
| P_ServiceOrderBpfSuccssr | view_entity | inner | COMPOSITE | BPF for Succssr Service Transactions |
| P_SrvcDocHavingSglPrdcssrQtan | view_entity | from | COMPOSITE | |
| P_SrvcOrdRefServiceContract | view | from | COMPOSITE | |
| P_SrvcPrdcssrSrvcContr | view | from | COMPOSITE | |
| P_SrvcPrdcssrSrvcContrCnt | view | from | COMPOSITE |
Fields (7)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | ServiceDocumentRelationUUID | ServiceDocumentRelationUUID | 1 |
| KEY | ServiceDocumentUUID | ServiceDocumentUUID | 1 |
| CustMgmtPrdcssrTransactionKey | CustMgmtPrdcssrTransactionKey | 1 | |
| ServiceDocPrdcssrBusObjType | PrdcssrSuccssrDocObjectType,PrecedingDocumentCategory,ServiceDocPrdcssrBusObjType | 2 | |
| ServiceDocumentPredecessorUUID | SrvcMgmtObjectUUID | 1 | |
| ServiceDocumentRelationType | ServiceDocumentRelationType | 1 | |
| ServiceObjectType | ServiceDocSuccessorBusObjType | 1 |
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Preceding Service Transaction'
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@Analytics: {
dataCategory: #FACT,
dataExtraction: {
enabled: true,
delta.changeDataCapture: {
mapping:[
{
// filter: [{operator: #EQ, tableElement: 'objtype_a', value: 'BUS2000%'}],
table: 'crmd_brelvonae', role: #MAIN,
viewElement: ['ServiceDocumentRelationUUID', 'ServiceDocRltnSequenceNumber'],
tableElement: ['relationid', 'posno']
}
]
}
}
}
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@AbapCatalog: {
sqlViewName: 'ISERVDOCPRE',
compiler.compareFilter: true,
preserveKey: true
}
@ObjectModel: {
// representativeKey: 'ServiceDocumentRelationUUID',
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #XL
},
supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #EXTRACTION_DATA_SOURCE]
}
//@Analytics.dataCategory: #DIMENSION
//@Metadata.allowExtensions:true
@Metadata.ignorePropagatedAnnotations: true
/*
If there is any new Business object addition in service document view (e.g. BUS200016 )
then the same business object has to be added in DCL "I_ServiceDocumentPredecessor" as well.
*/
define view I_ServiceDocumentPredecessor
as select from crmd_brelvonae
association [1] to I_ServiceDocumentEnhcd as _ServiceDoc on $projection.ServiceDocumentPredecessorUUID = _ServiceDoc.ServiceDocumentUUID
and $projection.ServiceDocPrdcssrBusObjType = _ServiceDoc.ServiceObjectType
{
key relationid as ServiceDocumentRelationUUID,
key posno as ServiceDocRltnSequenceNumber,
breltyp as ServiceDocumentRelationType,
/* CRMT_BRELVONAE */
vona_kind as ServiceDocumentRelationKind,
objguid_a_sel as ServiceDocumentPredecessorUUID,
objtype_a_sel as ServiceDocPrdcssrBusObjType,
objkey_a_sel as CustMgmtPrdcssrTransactionKey,
objguid_b_sel as ServiceDocumentUUID,
objtype_b_sel as ServiceObjectType,
//Associations
_ServiceDoc
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CRMD_BRELVONAE"
],
"ASSOCIATED":
[
"I_SERVICEDOCUMENTENHCD"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/