2006 Dec 12 9:18 AM
i use this CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = l_program
i_callback_user_command = 'G_USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
is_layout = ls_layout
it_fieldcat = alv_fldcat
it_sort = lt_sort
i_save = 'A'
i_grid_title = lvc_title
is_print = ls_print
it_events = ls_event
is_variant = ls_variant
TABLES
t_outtab = <dyn_table>. (imard)
and i want --HOTSPOT
FORM g_user_command USING r_comm TYPE sy-ucomm
rs_selfield TYPE slis_selfield.
****----
IF r_comm = '&IC1' .
IF rs_selfield-fieldname EQ 'MATNR'.
READ TABLE imard INDEX rs_selfield-tabindex.
SET PARAMETER ID 'MAT' FIELD imard-matnr.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN .
ENDIF.
ENDIF.
<b>what is wrong</b>
2006 Dec 12 9:36 AM
Hello,
In th fieldcat of the fiels set the <b>HOTSPOT = 'X'.</b>
If useful reward.
Vasanth
2006 Dec 12 9:36 AM
Hello,
In th fieldcat of the fiels set the <b>HOTSPOT = 'X'.</b>
If useful reward.
Vasanth
2006 Dec 12 9:41 AM
In the internal table alv_fldcat, against the entry for field MATNR set the field HOTSPOT as 'X'. You will get a hot-spot when the cursor is positioned over that item.
2006 Dec 12 10:00 AM
Hi ,
Consider this code ,if you need a hot spot please include the under lined statement .Hope this helps .
WA_A2-COL_POS = 2.
WA_A2-FIELDNAME = 'WERKS'.
WA_A2-TABNAME = 'IT_A1'.
WA_A2-REF_FIELDNAME = 'WERKS'.
WA_A2-REF_TABNAME = 'MARC'.
<u><b>WA_A2-HOTSPOT = 'X'.</b></u>
APPEND WA_A2 TO IT_A2.
CLEAR WA_A2.