Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 13, 2010 at 11:04 AM

    Is there a way in ABAP to disable the button?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

      Regards,

      Anton

  • avatar image
    Former Member
    Jan 13, 2010 at 10:47 AM

    Open ess~tra project. Go to VcTraAllMyTrips component, open AllMyTrips view. In the layout locate element "AllMyTrips_TabStrip"->"ExpenseReport_tab"->"ExpenseReport_ButtonContainer"->"CopyExpRepFromPernr" and... if you want it to be always invisible just set its visibility property to "none".

    Regards,

    Anton

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 13, 2010 at 12:52 PM

    Can't you use role-based personalization to do that?

    Armin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      >

      > Can't you use role-based personalization to do that?

      >

      > Armin

      You are very right, it is the easiest solution 😊

  • avatar image
    Former Member
    Jan 13, 2010 at 01:16 PM

    Hi,

    Check if it is possible to disable this function from your travel scheme definition (transaction FITV_WEB or something like this. Sorry I don't remember exactly name). A lot of the properties visible/enabled of UI elements come from R/3 (as Anton described for example) You have to try to configure it first if it doesn't help you can directly edit WDJ component as Anton suggested you in first post.

    Best Regards

    Pavel

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 13, 2010 at 02:39 PM

    Thankyou

    Add comment
    10|10000 characters needed characters exceeded