//@AbapCatalog.sqlViewName : 'ADIRPROD'
//@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label : 'Product Object Links'
@VDM.viewType: #COMPOSITE
//@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@Metadata.ignorePropagatedAnnotations:true
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
/*
@ObjectModel.createEnabled:true
@ObjectModel.updateEnabled:true
@ObjectModel.deleteEnabled:true
@ObjectModel.writeActiveImplementedBy : 'ABAP:CL_PLM_RAP_PROVIDER_DMS'
@ObjectModel.transactionalProcessingDelegated: true
*/
//@AbapCatalog.preserveKey: true
define view entity A_DocInfoRecdObjLinkProduct
as select from I_DocInfoRecdObjLinkProdTP as ObjLink
association to parent A_DocumentInfoRecord as _DocInfoRecord on $projection.DocumentInfoRecordDocType = _DocInfoRecord.DocumentInfoRecordDocType
and $projection.DocumentInfoRecordDocNumber = _DocInfoRecord.DocumentInfoRecordDocNumber
and $projection.DocumentInfoRecordDocPart = _DocInfoRecord.DocumentInfoRecordDocPart
and $projection.DocumentInfoRecordDocVersion = _DocInfoRecord.DocumentInfoRecordDocVersion
{
/* Document Info Record key Details */
@ObjectModel.sapObjectNodeTypeReference : 'DocumentInfoRecordDocType'
key DocumentInfoRecordDocType ,//as DocumentInfoRecordDocType,
key DocumentInfoRecordDocNumber ,//as DocumentInfoRecordDocNumber,
key DocumentInfoRecordDocVersion ,//as DocumentInfoRecordDocVersion,
key DocumentInfoRecordDocPart ,//as DocumentInfoRecordDocPart,
/* Object Type and Object Key Details */
@ObjectModel.sapObjectNodeTypeReference : 'LinkedSAPObject'
key ObjLink.LinkedSAPObject as LinkedSAPObject,
key ObjLink.LinkedSAPObjectKey as LinkedSAPObjectKey,
key ObjLink.DocObjectLinkCounter as DocObjectLinkCounter,
// @ObjectModel.readOnly: true
_DocInfoRecord.ChangedDateTime,
//Associations
// @ObjectModel.association .type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
_DocInfoRecord
}
/*+[internal] {
"BASEINFO":
{
"FROM ":
[
"A_DOCUMENTINFORECORD",
"I_DOCINFORECDOBJLINKPRODTP"
],
"ASSOCIATED":
[
"A_DOCUMENTINFORECORD"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Depth:
1
2
3
4
5
All
Reload
A_DocInfoRecdObjLinkProduct view_entity