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

problem while executing a t-code

Former Member
0 Likes
2,938

hi guys,

I created a customised transaction code in se93 for a customised program.When i executed the t-code, the initial selection screen is coming.After giving some values in the selection screen and when i click the execute button it is going directly to the sap easy access screen.

Can anyone tell me what the problem could be?

Thanks in advacne.

8 REPLIES 8
Read only

JozsefSzikszai
Active Contributor
0 Likes
2,606

hi dinesh,

I guess the problem is not in se93, but in the program the transaction calls. Probably there is an exit statement in the program, happening this on various conditions. You can try as well, to start the program from SE38 and giving the same data on the selection screen and see if leaves again. You have to debug!

ec

Read only

Former Member
0 Likes
2,606

Hi ,

What happens when you run the program from SE38 ?

Can you paste the code ( if it's not too long...)

Read only

0 Likes
2,606

Hi avi,

When i run through the program i m getting the output.When i execute it through t-code it is not working.the code is too long to paste.i think there is no error in the code.

I did debugging when i used the t-code.when the program comes to the event INITIALIZATION it is not executing further and displaying the sap easy access screen.

any other suggestions.

Read only

0 Likes
2,606

Hi,

You might have created the Transaction Code using a wrong "Start Object".

Since you are creating a Tcode for a report ( Executeable -Type 1) then you should select 'Program and selection screen (Report transaction)' radio button while giving the start object and give the report name and the selection screen number '1000'. Delete the existing Tcode and Create the New one with these parameters. Please reply, if you are still facing issues.

Regards,

Abhishek

Read only

0 Likes
2,606

Hi ,

If this is the case , I think that Michael is right .

Check that the transaction is of "Program and Selection Screen" Type .

That'll solve it .

Best regards .

Read only

Former Member
0 Likes
2,606

You probably defined your transaction code as Programm and Screen instead of Programm and Selection Screen.

- Goto SE93

- put in your transaction code

- change

- Menu 'Edit' - 'Change Transaction Type'

- choose Program and Selection Screen

- Confirm

- Save

That should do it.

'Programm and screen' expects a dynpro (which a selection screen basically is, but there is no flow logic for a selection-screen therefore you are getting back to the easy menu)

Regards,

Michael

Read only

0 Likes
2,606

Thanks michael and abhishek it is working now.thanks to everyone for your suggestions

Read only

Former Member
0 Likes
2,606

There is absolutly no problems in ur t.code.

probably u are using LEAVE TO SCREEN statement. kindly check the condition for it to triger.

Probably the events where u have used it is different. Kindly paste ur code for a clear answer.