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

Unable to execute a program with transaction code

ajercan
Participant
0 Likes
3,363

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
Read only

Former Member
0 Likes
1,920

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
Read only

Former Member
0 Likes
1,920

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

Read only

0 Likes
1,920

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

Read only

0 Likes
1,920

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

Read only

0 Likes
1,920

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

Read only

0 Likes
1,920

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.

Read only

0 Likes
1,920

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.

Read only

0 Likes
1,920

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

Read only

0 Likes
1,920

Go to edit > change Transaction Type

select "program and screen (Dialog Transaction).

Hope it works

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,920

>

> 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

Read only

0 Likes
1,920

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

Thanks

RK

Read only

Former Member
0 Likes
1,921

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

Read only

0 Likes
1,920

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.