11-20-2008 11:37 AM
How can I add a button in the status of the items table control in ME51N?
In program SAPLMEGUI I do not see any STATUS GUI that corresponds.
Thanks.
11-21-2008 1:32 PM
I have solved it.
In the include LMEGUICJM, in the METHOD toolbar_init.
Putting the following thing:
L_quick = ' My button '.
CALL METHOD cl_gui_toolbar=>fill_buttons_data_table
EXPORTING
fcode = '&MYCODE'
icon = icon_select_detail
DISABLED =
butn_type = cntb_btype_button
TEXT =
quickinfo = l_quick
CHECKED =
CHANGING
data_table = lt_my_buttons
EXCEPTIONS
cntb_btype_error = 1
OTHERS = 2.
The code of this button in the include LMEGUICJL, METHOD if_command_mm~execute.