Application Development and Automation 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: 
Read only

Could not Execute TCode

Former Member
0 Likes
990

i've created a Tcode for a particular program and i could run the Tcode in command field... it successfully call up the Selection Screen but failed to Execute (F8) after i've filled in the value in the Selection Screen and it navigated me back to SAP Easy Menu... i couldn't find the causes...

need help... thanks...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
894

Hi,

When you create the Transaction code for the program there will be five options to select program to attach the tcode.

If it's a executable program you should select Report Transaction. Try once and let me know.

7 REPLIES 7
Read only

Former Member
0 Likes
895

Hi,

When you create the Transaction code for the program there will be five options to select program to attach the tcode.

If it's a executable program you should select Report Transaction. Try once and let me know.

Read only

0 Likes
894

thanks a lot thiruibm, i've selected the wrong type... i re-created it and select the correct one... it works...

Read only

Former Member
0 Likes
894

Hi ,

You should check the logic that is implemented in your report.

Use debugger for the same.

Hope this helps you.

Read only

Former Member
0 Likes
894

Can you specify;

Your Transaction code is for Report Transaction or Dialog Transaction

Read only

0 Likes
894

is for reporting... when we run the TCode, Selection Screen will appear for us to enter the value... once Execute, it will display the report...

Read only

0 Likes
894

If its Reporting Transaction then Check your report

weather any Exit Program key word is in it or not.

Like; Leave Program, Leave to screen 0

Read only

vinod_vemuru2
Active Contributor
0 Likes
894

Hi,

What Harsh told makes sense to me. There might be some statements like LEAVE PROGRAM or LEAVE TO SCREEN 0.

Debug and see where it is failing.

Thanks,

Vinod.