I_SERVICEDOCUMENTREFOBJECT
Reference Object of Service Transaction
I_SERVICEDOCUMENTREFOBJECT is a CDS View in S/4HANA. Reference Object of Service Transaction. It contains 7 fields. 34 CDS views read from this table.
CDS Views using this table (34)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_BuSoQtanSrvcContrItmRefObj | view | from | COMPOSITE | Item Object List |
| A_BusSolnOrderItemObjectList | view | from | CONSUMPTION | Service Contract Item Object List |
| A_BusSolnOrdItmReferenceObject | view | from | COMPOSITE | Service Order Item Reference Object |
| A_BusSolnQtanSrvcItmRefObj | view | from | COMPOSITE | Item Reference Object |
| A_ServiceConfItmRefObject | view | from | COMPOSITE | Reference Obj. of Srvc Confirmation Item |
| A_ServiceConfRefObject | view | from | COMPOSITE | Reference Objects of Srvc Confirmation |
| A_ServiceContrItemObjectList | view | from | CONSUMPTION | Item Object List |
| A_ServiceOrderItemRefObject | view | from | COMPOSITE | Reference Objects of Service Order Item |
| A_ServiceOrderRefObject | view | from | COMPOSITE | Reference Objects of Service Order |
| A_ServiceOrderTmplItemRefObj | view | from | COMPOSITE | Item Reference Object |
| A_ServiceOrderTmplRefObject | view | from | COMPOSITE | Reference Object |
| A_ServiceQtanItemRefObject | view | from | COMPOSITE | Reference Object of Srvc Quotation Item |
| A_ServiceQtanRefObject | view | from | COMPOSITE | Reference Object of Service Quotation |
| A_ServiceRequestRefObject | view | from | COMPOSITE | Reference Object of Service Request |
| A_SrvcConfItemSerialNumber | view | from | COMPOSITE | Serial Number in Service Confirmation Item |
| A_SrvcOrdItmProdRefObject | view | from | COMPOSITE | Product reference object of a service order item |
| A_SrvcOrdProdRefObject | view | from | COMPOSITE | Product reference object of a service order |
| C_ServiceDocumentItemRefObject | view | from | CONSUMPTION | Reference Objects Details |
| C_SrvcConfItemSerialNumber | view_entity | from | CONSUMPTION | Serial Number for Confirmation Item |
| C_SrvcContrItmObjPgObjList | view | from | CONSUMPTION | Service Contract Item Object List |
| I_SubscrpnContrItmRefObj | view_entity | from | COMPOSITE | Reference Object of Contract Item |
| P_ServiceDocumentRefObject | view | from | CONSUMPTION | |
| R_BusSolnOrdItmRefObjectTP | view_entity | from | TRANSACTIONAL | Business Solution Order Item Reference Object - TP |
| R_SrvcConfItemRefObjectTP | view_entity | from | TRANSACTIONAL | Service Confirmation Itm Ref Object - TP |
| R_SrvcConfItemSerialNumberTP | view_entity | from | TRANSACTIONAL | Confirmation Item Serial Number |
| R_SrvcConfRefObjectTP | view_entity | from | TRANSACTIONAL | Service Confirmation Ref Object - TP |
| R_SrvcContrItemRefObjectTP | view_entity | from | TRANSACTIONAL | Service Contract Item Ref Object - TP |
| R_SrvcContrTmplItmRefObjectTP | view_entity | from | TRANSACTIONAL | Ref Object of SrvcContr Tmpl Item - TP |
| R_SrvcOrdItemReferenceObjectTP | view_entity | from | TRANSACTIONAL | Service Order Item Reference Object - TP |
| R_SrvcOrdReferenceObjectTP | view_entity | from | TRANSACTIONAL | Service Order Reference Object - TP |
| R_SrvcOrdTmplItmRefObjectTP | view_entity | from | TRANSACTIONAL | Service Order Temp Item Ref Object - TP |
| R_SrvcOrdTmplRefObjectTP | view_entity | from | TRANSACTIONAL | Service Order Template Ref Object - TP |
| R_SrvcQtanItemRefObjectTP | view_entity | from | TRANSACTIONAL | Service Quotation Item Reference Object - TP |
| R_SrvcQtanReferenceObjectTP | view_entity | from | TRANSACTIONAL | Service Quotation Reference Object - TP |
Fields (7)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | ServiceDocument | ServiceQuotation | 2 |
| KEY | ServiceDocumentItem | ServiceQuotationItem | 1 |
| KEY | ServiceRefObjectSequenceNumber | ServiceRefObjectSequenceNumber | 2 |
| Equipment | ServiceReferenceEquipment | 2 | |
| ProductID | ServiceReferenceProduct | 2 | |
| SerialNumber | SerialNumber | 2 | |
| SrvcRefObjIsMainObject | SrvcRefObjIsMainObject | 2 |
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Reference Object of 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: 'crms4d_refobj', role: #MAIN,
viewElement: ['ServiceObjectType', 'ServiceDocument', 'ServiceDocumentItem', 'ServiceRefObjectSequenceNumber'],
tableElement: ['objtype_h', 'object_id', 'number_int', 'counter']
}
]
}
}
}
@AccessControl: {
authorizationCheck: #PRIVILEGED_ONLY,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@AbapCatalog: {
sqlViewName: 'ISERVDOCREFOBJ',
compiler.compareFilter: true,
preserveKey: true
}
@ObjectModel: {
// representativeKey: 'ServiceDocumentItem',
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
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
define view I_ServiceDocumentRefObject
as select from crms4d_refobj
association [0..1] to I_Equipment as _Equipment on $projection.Equipment = _Equipment.Equipment
association [0..1] to I_Product as _Product on $projection.ProductID = _Product.Product
association [0..1] to I_FunctionalLocation as _FunctionalLocation on $projection.FunctionalLocation = _FunctionalLocation.FunctionalLocation
association [1] to I_SrvcReferenceObjectType as _SrvcReferenceObjectType on $projection.ServiceReferenceObjectType = _SrvcReferenceObjectType.ServiceReferenceObjectType
{
key objtype_h as ServiceObjectType,
key object_id as ServiceDocument,
key number_int as ServiceDocumentItem,
key counter as ServiceRefObjectSequenceNumber,
@ObjectModel.foreignKey.association: '_SrvcReferenceObjectType'
type_object as ServiceReferenceObjectType,
guid_object as ServiceReferenceObjectUUID,
@ObjectModel.foreignKey.association: '_Product'
product_id as ProductID,
main_object as SrvcRefObjIsMainObject,
product_guid as ProductUUID,
serial_number as SerialNumber,
@ObjectModel.foreignKey.association: '_Equipment'
equipment_id as Equipment,
@ObjectModel.foreignKey.association: '_FunctionalLocation'
functional_location_id as FunctionalLocation,
ref_product_id as ReferenceProduct,
_SrvcReferenceObjectType,
_Equipment,
_Product,
_FunctionalLocation
}