Skip to Content
0
Former Member
Jun 26, 2008 at 09:37 AM

Calling Tcode form the output

23 Views

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.