Skip to Content

Error Message from BOPF Action check does not appear on UI

Hello SAP Experts,

I have as backend system SAP Netweaver 7.50 SP5 and as frontend system SAP Fiori Frontend Server 3.0. I generated a SAP Fiori Elements Application based on ABAP CDS View annotations (according to ABAP Programming Model on SAP Fiori) and I defined a custom BOPF action on the generated BOPF BO in order to perform a custom action.This action was also exposed via the annotation @UI.lineItem: [{ position: 10, type: #FOR_ACTION, dataAction: 'BOPF:ACTION_NAME', label: 'Action Test' }].

The actions should not be executable in case of certain conditions and therefore I implemented a Action Check for this action giving an error message in case that the action cannot be executed. My problem is that on UI side, the application shows an generic error message "This action cannot be performed for the selected object." and not the error message which I am providing within the BOPF action check...Could you please tell me if there is a SAP Note already which corrects this issue on Netweaver 7.50 SP5?

PS: I have the same application on another backend system with SAP Netweaver 7.51 SP2 and there the right error message is shown on UI side.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers