Skip to Content
0

My Inbox Extension in S/4 1610

Sep 29, 2017 at 06:43 AM

55

avatar image
Former Member

Hello,

We are implementing the Myinbox 2.0 (SP4) application for our customer.

We would like to hide all the buttons except Approve and Reject for all work items.

I am Using SAP Web IDE to extend the My Inbox application.

Found the below hook method and i have tried the setVisible methods as shown below.

extHookChangeFooterButtons: function(B) {

B.aButtonList.getIdForLabel()("XBUT_SHOWLOG").setVisible(false); B.aButtonList.getIdForLabel()("XBUT_CLAIM").setVisible(false);

}

But, Getting the below error.

Uncaught TypeError: B.aButtonList.getIdForLabel is not a function

Can somebody please let me know how to hide all the buttons in Detail Page Footer using the above extension.

Appreciate your support.

Thanks,

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers