on 12-23-2010 2:16 PM
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.
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?
THANKS, Johannes
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,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.