Interative list in ALV--V ery Urgent pls

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
Roopa

Interative list in ALV--V ery Urgent pls

Post by Roopa » Thu Feb 20, 2003 6:36 am

Hi All

Can anybody help me how to do interactive features like At line-selection or AT user-command in alv, my requirement is I need to display a secondary list from a basic list.

I have tried many FM's but in vein, could anybody pass me a small piece of code so that I can dig deep myself.

Thanks and regards

Roopa

manohar
Posts: 168
Joined: Sun Oct 20, 2002 10:50 pm
Location: Bangalore, India.

Post by manohar » Thu Feb 20, 2003 6:46 am

Search with 'ALV' and 'Interactive' you will definetly find it....

its Thosmas C post...


define subroutine to handling double click...


FORM user_command USING p_ucomm LIKE sy-ucomm
p_selfield TYPE slis_selfield.

CASE p_ucomm.
WHEN '&IC1'. " SAP standard code for double-clicking
SET PARAMETER ID 'XXX' FIELD p_selfield-value.
CALL TRANSACTION 'YYYY'.
ENDCASE.

ENDFORM.
Best Regards
Manohar

Thomas C.
Posts: 83
Joined: Wed Jan 22, 2003 5:26 am
Location: Belgium
Contact:

Post by Thomas C. » Thu Feb 20, 2003 7:54 am

Here is the link :
viewtopic.php?t=22036

Thomas.

Post Reply