‎2006 Aug 16 3:47 PM
hi,
i am using ALV_COMMENTARY_WRITE and wont on double click to tu put contain
of alv_grid line e.g field kunnr in LISTHEADER-info.
‎2006 Aug 17 1:28 PM
Hi Nick,
i do it on this way:
DATA: KUNNR LIKE VBAK-KUNNR.
IF R_UCOMM EQ '&IC1' AND SY-SUBRC = 0.
*
KUNNR = itab-KUNNR. "KUNNR from your table
*
...
ENDIF.
...
CLEAR LS_LINE.
LS_LINE-TYP = 'S'.
LS_LINE-KEY = 'Kunde'.
LS_LINE-INFO = KUNNR.
APPEND LS_LINE TO GT_LIST_TOP_OF_PAGE.
*
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
*
Hope i can help you
Regards, Dieter
‎2006 Aug 17 1:28 PM
Hi Nick,
i do it on this way:
DATA: KUNNR LIKE VBAK-KUNNR.
IF R_UCOMM EQ '&IC1' AND SY-SUBRC = 0.
*
KUNNR = itab-KUNNR. "KUNNR from your table
*
...
ENDIF.
...
CLEAR LS_LINE.
LS_LINE-TYP = 'S'.
LS_LINE-KEY = 'Kunde'.
LS_LINE-INFO = KUNNR.
APPEND LS_LINE TO GT_LIST_TOP_OF_PAGE.
*
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.
*
Hope i can help you
Regards, Dieter
‎2006 Aug 17 1:35 PM
Hi,
what i understood from your question...
<i>is it possible to double click on the line which is there in top_of_page using the alv_comentry_write ex. kunnr</i>
Not possible.
Regards
vijay
‎2006 Aug 17 1:39 PM
Hi,
ALV_COMMERNARY_WRITE is only output header info. on alv output.
You`d like raise a detail list on an event, then use CALLBACK USER COMMAND in the alv grid parameter. Assign a form routine to this parameter and this routine should have a standard interface. For further reference refer to the documentation of REUSE_ALV_GRID_DISPLAY.
Reward if helpful.
Regards