10-30-2007 10:07 AM
Hi all,
Is it possible to add a button inside a table control window.?
regards,
Keerthi vasan.M
10-30-2007 10:08 AM
10-30-2007 10:10 AM
yes.
Drag a push button into your table control and then set the icon name say 'Execute' in the push button.
Only one user-command is enough to handle table control entries.To identify in which line of table control, the execute button is clicked, Use the following calculation.
Data:v_line type i.
CASE ok_code.
WHEN 'EXE'.
Get cursor line v_line.
v_index = tc-top_line + v_line - 1. -
> TC - Table control name
Read table it_ekpo index v_index.
ENDCASE.
*************************************
please go thouth the link
http://www.sapdevelopment.co.uk/dialog/tabcontrol/tc_basic.htm
12-15-2010 2:40 PM