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: 

Calling Tcode form the output

Former Member
0 Kudos

Hi,

In my ALV output, if i double click on the field 'Trip No', i need to go to the transaction TP04 by taking the corespondin record values to the screen. my question is, if i want to see four fields with values in TP04, should i pass all the 4 filds from the report as parameter ID. Or, if i just pass the 'trip' no value will it work.

I am trying it by the following code.

if rs-fieldname eq 'TRIP_NO'.

SET PARAMETER ID 'TNO' FIELD RS-VALUE.

call transaction 'TP04' and skip first screen.

endif.

But its not working. Just the Screen getting opened.But its not showing the corresponding data on the screen..pls suggest me..to solve my prob.

Thanks,

Ram.

2 REPLIES 2

Former Member
0 Kudos

U need to pass all the 4 filds from the report using

SET PARAMETER ID ..

Former Member
0 Kudos

Try Export the value to the screen fields name...

Regards

Vijay