Application Development 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: 

Unable to execute a program with transaction code

ajercan
Participant
0 Kudos

Hi,

When i try to execute the report with his transaction code, after I insert the variant details and the path were to download the file generated by the report I press F8 and the system takes me back to the SAP menu.

Any idea why this is happening?

Thanks,

Andrei

1 ACCEPTED SOLUTION

Former Member
0 Kudos

U Just create new Transaction code and at creation time u follow following steps:

1. give transaction name

2. select radio button pogram and selection screen (report transaction)

3. save and active

Then u run this t.code

12 REPLIES 12

Former Member
0 Kudos

Is this a issue for all the T-Codes you run or specific to the one you are facing right now?

0 Kudos

It's only the subject of a specific report. In the case of this report if I try to run it with SE38 the program runs fine.

Do you know where is the problem?

Thanks,

Andrei

0 Kudos

Oh Got it!!! Report runs fine through SE38 but returns back to SAP menu if executed via T-Code

0 Kudos

Hi,

I think this is because of the some events such as start of selection or others.

Please check your code. if possible paste ur code.

Regards

Shiva

0 Kudos

First check for the selection screen, start of variant, Authorization object and other parameters by dispalying the T-Code.

Secondly, Check the screen event handling in the program.

0 Kudos

it may be something to do with the way you have the transaction set up in SE93. You can change/check this by edit->change transaction type.

0 Kudos

ya its just a hit and trial method...Let's wait and watch for the OP comments.

0 Kudos

Go to edit > change Transaction Type

select "program and screen (Dialog Transaction).

Hope it works

0 Kudos

>

> Go to edit -> change Transaction Type

> select "program and screen (Dialog Transaction)

If he can execute the program from SE38, it cant be a dialog transaction.

I agree with Malcolm he should check the transaction type is "program & selection-screen(report transaction)".

BR,

Suhas

0 Kudos

It must be transaction type of report transaction(program and selection-screen)

Thanks

RK

Former Member
0 Kudos

U Just create new Transaction code and at creation time u follow following steps:

1. give transaction name

2. select radio button pogram and selection screen (report transaction)

3. save and active

Then u run this t.code

0 Kudos

Thank you for your answer, this solved my problem, I don't know the reason but now it works, I just remade the transaction code.