I want to remove or at least disable the "Claim" button from the footer of the inbox in SAP Fiori.
I already found this question but it only describes removing the approve / reject buttons, which have own properties in the oOptions.
Probably the claim button is located in the buttonList array, but setting it like this has no effect:
sap.ui.define([
"sap/m/MessageToast",
"sap/m/Dialog",
"sap/base/Log",
"sap/ui/model/Filter",
"sap/ui/model/FilterOperator",
"sap/ui/model/Sorter",
"sap/ui/core/mvc/Controller"
], function (MessageToast, Dialog, Log, Filter, FilterOperator, Sorter, Controller) {
"use strict";
return Controller.extend("something.controller.App", {
onInit: function () {
this._headerFooterOptions = {
buttonList: []
};
this.setHeaderFooterOptions(this._headerFooterOptions);
// ...
}
});
});
Another possible way could be disabling the button via this.setBtnEnabled(sid, false); but since I don't know the sID of the claim button, I can't check this.
I would really appreciate help with this issue!
EDIT: I have no access to the backend, in case anybody has the same issue but can access the backend, see @MrNajzs answer.


