Skip to Content
avatar image
Former Member

Problem with Button Action defined in GET_ACTIONS of POWL Feeder Class

Hi All,

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.


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?

THANKS, Johannes

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Dec 27, 2010 at 07:52 AM

    Hello ,

    You have used ls_action_def-cardinality = c_feeder_action_sel_req.

    Please check this also.

    as based on this also, enabling will take effect as it may be based on some lines selected in table.

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded