i have requirement where in my alv result screen there exists a trip number field , if i click on it should show the trip details from standard transaction PR05.
Set parameter doesnt work because in PR05 first we need to enter employee number then press enter . it will show all the trips of the employee in table control. now select the desired trip and click display, the screen which comes next is the one i want to get it from my alv.
For achieving it i have done recording and the code seems to work perfectly fine in ALL screens mode.but in NO screens mode the subrc of call transaction is returning 1001. in message sy-msgno i can see the message "no batch input for screen". i am not able to understand where i am going wrong or am i missing some thing. Please help me resolving this issue.
Also i there any more possible alternative to this like FM ,bapi or service function which can directly show me that trip screen.