‎2006 Sep 15 5:16 PM
Dear all,
I am facing a strange problem with T-Code. I created a Z t-code with a selection screen of the z program.
when I run the t-Code it displays the selection screen and when I execute it, It takes me out of the program. when i run thru tcode the program runs fine.
Please help.
‎2006 Sep 15 5:20 PM
Hi
Are you sure to have to have choosen the right type of trx?
You have to choose "Program and Selection Screen (report transaction)" option while creating trx
Max
‎2006 Sep 15 5:21 PM
hi Amit,
While assigning the T-Code to your report program select the second radio button i.e, <b>Program and Selection Screen ( Report Transaction )</b> ... doing so it works.. you might have done a mistake in doing the same
Regards,
Santosh
Message was edited by: Santosh Kumar P
‎2006 Sep 15 5:22 PM
Yes Max.
It is calling the right program with right screen. But kicks me out once i press execute.
‎2006 Sep 15 5:27 PM
Hi
<u>Try to create it again</u>, I didn't say you have assign the wrong program and/or screen, but perhaps you've choosen the wrong trx type (in START OBJECT section while creating trx by SE93):
You have to choose "<b>Program and Selection Screen (report transaction)"</b>
I had a problem as yours because I've setted the wrong trx type.
If the problem is not on trx, it has to be in abap code...
Max
‎2006 Sep 15 5:30 PM
Hi,
There is problem while creating the Transaction code. Delete your transaction code and re create it by going to SE93.
1.Give the Tcode name and description and
2. select the second radiotton for report transactions.
3. select the check boxes for GUI support and save .
Hopefully this should resolve your problem.
‎2006 Sep 15 9:12 PM
Hi Amit,
Im not sure but you can try this way.
Create transaction code using type 'Paramater transaction'.
Check Transaction box and give transaction code 'START_REPROT'. Also check 'skip intial screen'.
In the default values for Name of the screen field and value:
give name of the screen field as '<b>D_SREPOVARI-REPORT</b>' (u can use F4 to see it) and the Value as '<b>ur ZPROGRAM NAME</b>'.
Save it and then execute the tcode. It will run.
Cheers,
Vikram
Pls reward for helpful replies!!