‎2014 Oct 30 6:54 AM
Hello All,
I have created a Z tcode for my Report program. When I execute the report through tcode I gets the selection-screen correctly but when I enter the data on the selection-screen to process it and press the execute button the screen navigates to the Welcome screen of SAP(which we usually sees after logging in). When I executes the program through SE38 it is working properly.
Any suggestion on this are welcome here, I am not able to catch the issue.
Regards,
‎2014 Oct 30 6:58 AM
Hi!
Most probably you have chosen the wrong type of transaction while creating it.
I suggest you delete t-code and recreate it choosing "Program and selection screen" option. It should work correctly after that.
‎2014 Oct 30 6:56 AM
Hi,
could you give us more input ?
did you just create a program with a selection screen & start-of-selection .... end-of-selection ?
did you play with call screen ?
regards
Fred
‎2014 Oct 30 7:10 AM
A simple report program with START-OF-SELECTION and Selection Screen.
‎2014 Oct 30 7:12 AM
So, check as Nikolay has proposed, if you have make the good choice when you create your transaction.
recreate it, it's simple and quick
regards
Fred
‎2014 Oct 30 6:58 AM
Hi!
Most probably you have chosen the wrong type of transaction while creating it.
I suggest you delete t-code and recreate it choosing "Program and selection screen" option. It should work correctly after that.
‎2021 Feb 23 11:45 AM
Thank You!!! Very Much Respected Mr. Nikolay Evstigneev. I do as suggested by you it's really working.
Regards
Krishna Kumar Yadav.
‎2014 Oct 30 7:00 AM
Please check whether you have selected proper option in pop up after clicking create button.
‎2014 Oct 30 7:03 AM
Hi,
can you please check which option you selected while creating the tcode. actually we have to select Program and selection screen(report transaction) radio button and in next screen enter the screen num and authorization object also and enable all the check boxes in GUI support.
sometimes if we dont have authorization for any custome tcodes then we can not run those tcodes, so it depends on the project. so please check all these cases.
Thanks & Regards,
Polu.
‎2014 Oct 30 7:12 AM
Hi Harsh ,
while creating the tcode you have selected the radiobutton for
program and screen ( dialog transaction )
whereas you have to select program and selection screen ( report transaction )
No problem , you can change it now
go to SE93
press shift + F1 or select Change Transaction type from EDIT menu
select the radio button of program and selection screen ( report transaction )
fill the entry for selction screen with value 1000.
Save and execute the tcode
Thanx and regards
Yogendra Bhaskar