Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3523

ALV Hotspot Issue

$
0
0

Dear Colleagues,

 

I am having 3 columns on ALV output. My aim is that when each column values are clicked it opens the relevant transaction screen. I have tried so far two

 

 

Alternative 1: Only transaction code

 

form user_command using r_ucomm       like   sy-ucomm

                         rs_selfield   type   slis_selfield.

 

   set parameter id 'SETTLDOC' field rs_selfield-value.

  LEAVE to TRANSACTION 'EEDMSETTLDISP'.

   set parameter id 'INT_UI' field rs_selfield-value.

  LEAVE to TRANSACTION 'EEDM11'.

  set parameter id 'PROFILE' field rs_selfield-value.

  LEAVE to TRANSACTION 'EEDM02'.

 

case r_ucomm .

     when '&IC1' .

   endcase .

endform .


Alternative 2: No change happens


form user_command using r_ucomm       like   sy-ucomm

                         rs_selfield   type   slis_selfield.

 

CASE alv_fieldcat-fieldname.

    when 'SETTLDOC'.

      LEAVE to TRANSACTION 'EEDMSETTLDISP'.

    when 'INT_UI'.

  LEAVE to TRANSACTION 'EEDM11'.

  when 'PROFILE'.

  LEAVE to TRANSACTION 'EEDM02'.

 

  endcase.

 

case r_ucomm .

     when '&IC1' .

   endcase .

endform .


I would kindly ask for your ideas&support in order to reach a solution.


Thanks in advance

Regards


Eddy


Viewing all articles
Browse latest Browse all 3523

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>