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

Initialization event in Report

Former Member
0 Likes
1,371

Hi,

I have a report and it works in a strange way:

REPORT Report1.

INITIALIZATION.

Authority check...

START-OF-SELECTION.

...

So the issue:

When I run this from se38 as a program the authority check works fine but when I run it as a transaction from the SAP Menu the authorization does not work.

During debugging I could see that the initialization part is not executed and the program ends at event START-OF-SEELCTION and I am in the SAP Menu again.

Any idea?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,047

Hi,

Check whether you have selected the transaction type correctly in SE93 as Report.

You might have chosen Screen type.

Regards

Srini

5 REPLIES 5
Read only

Former Member
0 Likes
1,048

Hi,

Check whether you have selected the transaction type correctly in SE93 as Report.

You might have chosen Screen type.

Regards

Srini

Read only

Former Member
0 Likes
1,047

Hi

I also had a similer problem.

You have created the transaction code incorrectly.

Go to se93 and change the transaction type in tcode make it a Report.

It should not be dialogue type it should be report type.

if you see TCODE must be showing Screen number 1000 which is incorrect .

in order to correct it goto>change transaction type>select selection screen.

If you go to SE93

You should see

Program name : ZZZZZ...

Selection-Screen : 1000

Then it`s correct else you need to change it .

Regards

Neha

Edited by: Neha Shukla on Nov 28, 2008 8:42 PM

Edited by: Neha Shukla on Nov 28, 2008 9:01 PM

Read only

Former Member
0 Likes
1,047

Hello,

Have you selected 'Program and Selection Screen' radiobutton while creating the T Code for the program?

Thanks,

Jayant,

Read only

Former Member
0 Likes
1,047

Hi,

Please run the transaction code and check....if this did not work...check the tcode creation and the assignment in Area menu.

Read only

Former Member
0 Likes
1,047

I have checked again the transaction in se93 and it was a Report and Selection screen but...

I forgot to set the Selection-Screen.

Thanks for your help