cancel
Showing results for 
Search instead for 
Did you mean: 

FITV_POWL_TRIPS hide buttons in this application

former_member217546
Participant
0 Kudos

Hi friends,

Here is a requirement to hide create new expense report button in this application. It is a powl component.how can i do this.

Is it possible through configurations / coding ? i am new to powl. pls give any suggestions .

Accepted Solutions (1)

Accepted Solutions (1)

Lukas_Weigelt
Active Contributor
0 Kudos

Hi,

It is possible through coding through enhancement. I had this issue a few months.

Do the following:

1. Go to SE24, CL_FITV_POWL_FEEDER_TRIPS

2. Navigate into method IF_POWL_FEEDER~GET_ACTIONS

3. Make an Implicit Enhancement at the end of the method

There is a table which holds all the buttons which are dynamically created, you'll just have to delete the respective entry.

I deleted the "Create New Travel Plan" Button. Take my code as a reference.

Delete c_action_defs WHERE actionid = 'CREATE_TP'.

I guess Travel Expenses has the key CREATE_TE or something, check it out by debugging.

best regards, Lukas

former_member217546
Participant
0 Kudos

Thank you Lukas.

Answers (0)