cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP RAP Action - Error -Target was not found

abdul_hakim
Active Contributor
0 Kudos
1,042

Hello

When i use the below annotation to enable action button in RAP Application i m getting the below error.

Target was not found.Error: adding element with duplicate id 'project1::sap.suite.ui.generic.template.ListReport.view.ListReport::Certificate--action::'

Annotation:

@UI: { lineItem: [ { position: 15, importance: #HIGH},

{ type: #FOR_ACTION, dataAction: 'newVersion', label: 'NewVersion' },

{ type: #FOR_ACTION, dataAction: 'releaseVersion', label: 'RelVersion' },

{ type: #FOR_ACTION, dataAction: 'archiveVersion',label: 'ArchiveVersion' } ],

identification: [ { position: 10 } ],

selectionField: [ { position: 10 } ] }

View Entire Topic
abdul_hakim
Active Contributor

Resolved on my own. Action was not enabled in BDEF and this was causing issue.

jaydip_odiya
Discoverer
0 Kudos
how i can solve please help me out Target was not found. "sap.nw.core.feap.odatav2::sap.suite.ui.generic.template.ObjectPage.view.Details::Portal_Details--Portal Details::Syid::Field" is not a valid ID.