Hide buttons in My Expense Reports in ESS
I need to hide the Copy Expense REport from Other Employee button on My expense Report tab in My trips and expenses section of the Expense reporting in ESS. Please help.
Information from the abap is comming from this function PTRM_WEB_TRIPS_GET_LIST, and it returns a structrute which contains a field 'E_Own_Trips_Only'. If this field is set to true than your button will be invisible, but if you hide it that way you must know that in the the 'My travel plans' tab there is a button named 'Copy Travel Plan From Other Employee' it will also be invisible. This field 'E_Own_Trips_Only' controls the visibility of this two buttons. If it is set to true, than they will be invisible, and vice versa.