Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Link to open Program

Former Member
0 Kudos

Hi,

My report conatins the program name as one output field . Now I need a functionality to open the progam in an editor if i click it.

Thanks in adavnce.

Regards,

Vijayakumar

1 REPLY 1

Former Member
0 Kudos

Hi ,

following points may help you.

1. First put hotspot on that o/p filed program name.

2. In user command coding part add the below code

FORM it_final_user_command

USING p_ucmd LIKE sy-ucomm

p_sfield TYPE slis_selfield.

CASE p_ucmd.

WHEN '&IC1'.

CASE p_sfield-fieldname.

WHEN 'PROGRAMNAME'.

READ TABLE it_final1 INDEX p_sfield-tabindex.

SET PARAMETER ID 'RID' FIELD it_final-programname.

CALL TRANSACTION 'SE38' AND SKIP FIRST SCREEN.

ENDCASE.

endform.

populate this form name for the event at user command.

<REMOVED BY MODERATOR>

Thanks,

suma.

Edited by: Alvaro Tejada Galindo on Apr 21, 2008 3:16 PM