Application Development and Automation 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: 
Read only

Calling the TCode TP04 from the report

Former Member
0 Likes
581

Hi folks,

In my ALV output, i have a field Trip No, which if i double click on it, it should go to the TCode TP04, by taking the data of the corresponding trip number. i am trying this by using the statement SET PARAMETER ID. But for the field Trip No, there is no parameter ID defined. So what is the alternative or best way to accomplish my task.

Thanks in advance,

Ram.

3 REPLIES 3
Read only

Former Member
0 Likes
535

Hi,

If u are using OO ALV ,u can use method get_selected_rows metod to get data selected in the ALV.

Read only

0 Likes
535

HI Mukul,

I am using the FM.

Read only

0 Likes
535

Hi Ram ,

You could use BDC in error mode so that the tcode opens skipping the first screen, if there is not PARAMETER ID .

Let me know if it helped or not .

Yugandhar