cancel
Showing results for 
Search instead for 
Did you mean: 

SAP TM Button inactive

0 Kudos

hi experts,

need to create a custom button in the TM cockpit. I have added the button in floorplan manager. I have created a related event with the same name as the action that I have created. When pressing the button, the debugger stops in my code. But, the button shows inactive. I have to go to component customizing and come back and then, it goes active. Of course, I cannot ask users to do that.

can you please give me a hint?

thanks

Petra

View Entire Topic
petra_just
Active Participant
0 Kudos

hi Pratik,

you can go to class /SCMTMS/CL_UI_VIEWEXIT_PLN, method ADAPT_ACTION_PROPERTIES and enhance it as attached.

activate-buttons.jpg

Please mark my answer as correct if it works for you.

pbar
Explorer
0 Kudos

Hi Petra,

Sorry for the silence from my end. Class /SCMTMS/CL_UI_VIEWEXIT_PLN didnot help.

Ultimately, calling this method 'mo_controller->post_syncup_data' in my Feeder class ADAPT_EVENT method helped.

Best regards

Pratik