Problem with Button Action defined in GET_ACTIONS of POWL Feeder Class
I have defined an Action in method GET_ACTIONS in my Feeeder Class as follows:
IF c_action_defs IS INITIAL. ls_action_def-actionid = 'JOHANNES'. ls_action_def-cardinality = c_feeder_action_sel_req. ls_action_def-placement = c_feeder_action_toolbar. ls_action_def-enabled = 'X'. ls_action_def-placementindx = 1. ls_action_def-text = text-001. ls_action_def-add_separator = 'X'. INSERT ls_action_def INTO TABLE ltab_action_def. e_actions_changed = 'X'. c_action_defs = ltab_action_def. ENDIF.
My problem ist, that the Button that is created on the toolbar keep being DISBALED... What am I doing wrong? How can I set the button to enabled. I thought this was done using parameter
ls_action_def-enabled = 'X'.
but this obvisouly doesn't work...
Does anybody have a tip here?