cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit or BADI to control GUI/Toolbar of TP04

former_member305388
Active Contributor
0 Kudos

Hi All,

I need to know any user exit or BADI enhancement for changing the toolbar of TP04. As of now, if we open TP04, we get two pushbuttons (Overview and Approve). We have a requirement like, only Overview should be displayed. Users should not Approve it and hence we need to take that pushbutton off. Kindly suggest me if anybody is aware of any exit or BADI enhancement to control GUI or Toolbar of TP04.

Thanks a lot!!

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member305388
Active Contributor
0 Kudos

User Accepted for Auth Obj.

Former Member
0 Kudos

Pls inform which values where passed in Auth Object F_TRAVL and P_TRAVL to disable the approve button in tp04

Former Member
0 Kudos

Hi,

Theres no need of any BADI/UE. Authorization takes care of your requirement where the 'Approve' button gets hidden with proper values passed in Auth Objects

former_member305388
Active Contributor
0 Kudos

Thanks for the reply. However, we have a scenario because of which we are going for this disabling of the button. We have workflow for the travel management . The t-code TP04 will be given to SAP portal directly. And in workflow we have made Approval available for Save button, because of the event being triggered. So we do not again want this Approve button explicitly. And hence are thinking of disabling it. Is there any way to get this?

Thanks a lot!!

Former Member
0 Kudos

Hi,

If I understand correctly, you are creating an IVIEW of TP04 in ESS so that employees can create a travel request there. So all employees will have a role assigned to them. Now in that role you can put values accordingly by which employees can create a travel request and save it. 'Approve' button will remain disabled. Once saved WF will get trigerred.

Correct me if I am wrong

former_member305388
Active Contributor
0 Kudos

Yes, you are right. We are trying to convince the users by telling them that Approve button will always go in error saying 'No auth'. But as of now, they are not accepting and hence we are looking for the ways to remove it totally.

We found some BADIs, but GUI status can't be changed from there. So any other ways of doing that? We don't wanna go for cutomization of the t-code as it'll be too tedious.

Former Member
0 Kudos

Hi,

Precisely that is what I am trying to say. Consult your security consultant and pass proper values in Auth Object F_TRAVL and P_TRAVL. 'Approve' button will automatically get hidden. No need of any BADI/UI/GUI change