Hi,
I think the above provided solution fine and i hope that it will work fine.
case r_ucomm.
when '&IC1'. "for double click
if rs_selfield-fieldname = 'VBELN' .
set parameter id 'AUN' field rs_selfield-value.
call transaction 'VA03' AND SKIP FIRST SCREEN.
ELSEIF rs_selfield-fieldname = 'MATNR'.
set parameter id 'MAT' field rs_selfield-value.
call transaction 'MM03' AND SKIP FIRST SCREEN.
else .
ENDIF .
ENDCASE.
you can only provide the field names that will work fine.
Thanks,
Mallikarjuna