I_SERVICEDOCUMENTSUCCESSOR

CDS View

Follow-Up Service Transaction

I_SERVICEDOCUMENTSUCCESSOR is a CDS View in S/4HANA. Follow-Up Service Transaction. It contains 6 fields. 27 CDS views read from this table.

CDS Views using this table (27)

ViewTypeJoinVDMDescription
A_BusSolnOrderFUPSalesOrder view from COMPOSITE Follow-up Sales Orders
A_BusSolnOrdFUPServiceContract view from COMPOSITE Follow-up Service Contracts
A_BusSolnOrdFUPServiceOrder view from COMPOSITE Follow-up Service Orders
A_BusSolnQtanFUPSalesOrder view from COMPOSITE Follow-up Sales Order
A_BusSolnQtanFUPSrvcContr view from COMPOSITE Follow-up Service Contract
A_BusSolnQtanFUPSrvcOrder view from COMPOSITE Follow-up Service Order
A_BusSolnQtanFUPSubscrpnContr view from COMPOSITE Follow-up Subscription Contract
A_SbscrContrFUPSubscrpnOrd view_entity from COMPOSITE Subscription Contract Follow-Up Subscription Order
C_BusSolnOrdDelivDteSitn1 view inner CONSUMPTION Trigger CDS view deliv date change
C_BusSolnOrdDelivDteSitn2 view inner CONSUMPTION Trigger CDS for Del. related items
I_BusSolnOrdFUPEntProject view from COMPOSITE Follow up Enterprise Project
I_SrvcDocDocumentFlow view_entity inner COMPOSITE Trans Hist of Preced and Follow-Up Trans
I_SrvcOrdRefFSMServiceCall view_entity union COMPOSITE Retrieves the FSM Service Call ID for Service Order
I_SubscrpnOrdFUPSalesOrder view_entity from COMPOSITE Follow Up Sales Order
I_SubscrpnOrdFUPSubscrpnContr view_entity from COMPOSITE Follow Up Subscription Contract
P_BusSolnOrdSlsOrdFlwLvl1 view inner CONSUMPTION Solution Order Sales Order Flow Level 1
P_FollowUpServiceOrder view_entity from CONSUMPTION Follow-up Service Orders for Service Transaction
P_FollowUpServiceQuotation view_entity from CONSUMPTION Follow-up Service Quotations for Service Transaction
P_ServiceOrderBpfPrdcssr view_entity inner COMPOSITE Process Flow for Predecessor Service Transactions
P_ServiceOrderConfirmation view_entity from COMPOSITE Service Order Confirmation API
P_ServiceOrderIssueKey view inner COMPOSITE Keys for service order items with issues including catagory
P_ServiceRequestOrder view from COMPOSITE Service Request Order API
P_SRvcOrdAggrgdActuals view from CONSUMPTION Aggregated Actuals For Service Order
P_SrvcQtanHavingSglFUPSrvcOrd view_entity from COMPOSITE IHR Items Assigned to 1 Service Order
R_SrvcConfItmFUPTimeSheetTP view_entity inner TRANSACTIONAL Item Follow-Up Time Sheet - TP
R_SrvcContrItmFUPBillgDocTP view_entity inner TRANSACTIONAL Item Follow-Up Billing Document - TP
R_SrvcContrItmFUPSrvcOrdTP view_entity inner TRANSACTIONAL Item Follow-Up Service Order - TP

Fields (6)

KeyField CDS FieldsUsed in Views
KEY ServiceDocumentRelationUUID ServiceDocumentRelationUUID 1
KEY ServiceDocumentUUID ServiceQuotationUUID 1
ServiceDocSuccessor CustMgmtPrdcssrTransactionKey 1
ServiceDocSuccessorBusObjType PrdcssrSuccssrDocObjectType,ServiceDocSuccessorBusObjType 1
ServiceDocumentSuccessorUUID SrvcMgmtObjectUUID 1
ServiceObjectType ServiceDocPrdcssrBusObjType 1
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Follow-Up 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: 'ISERVDOCSUCC',
  compiler.compareFilter: true,
  preserveKey: true
}

@ObjectModel: {
//   representativeKey: 'ServiceDocumentRelationUUID',

   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #XL
   },
   supportedCapabilities: [#CDS_MODELING_DATA_SOURCE, #SQL_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #EXTRACTION_DATA_SOURCE]
}
//@Metadata.allowExtensions:true

@Metadata.ignorePropagatedAnnotations: true

//! Business Object SONT for the Service Document Successor

@ObjectModel.sapObjectNodeType.name: 'ServiceDocumentSuccessor'
/*
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_ServiceDocumentSuccessor" as well.
*/
define view I_ServiceDocumentSuccessor
  as select from crmd_brelvonae

  association [1] to I_ServiceDocumentEnhcd as _ServiceDoc on  $projection.ServiceDocumentSuccessorUUID  = _ServiceDoc.ServiceDocumentUUID
                                                           and $projection.ServiceDocSuccessorBusObjType = _ServiceDoc.ServiceObjectType

{

  key relationid    as ServiceDocumentRelationUUID,
  key posno         as ServiceDocRltnSequenceNumber,
      breltyp       as ServiceDocumentRelationType,

      /* CRMT_BRELVONAE */
      objguid_a_sel as ServiceDocumentUUID,
      objtype_a_sel as ServiceObjectType,

      vona_kind     as ServiceDocumentRelationKind,

      objguid_b_sel as ServiceDocumentSuccessorUUID,
      objkey_b_sel  as ServiceDocSuccessor,
      objtype_b_sel as ServiceDocSuccessorBusObjType,

      //Associations

      _ServiceDoc

}