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

report auto exit when executed

Former Member
0 Likes
611

hello experts...

my question is we have a report that generates and download a loan report in SAP...

but the problem is when we execute the program it auto exit.

when i debug the program during start-of-selection it auto exit. Then i debug it again

but i can now generate a report and download the loan report... but only in my development id

it other dev id its still the same when they try to generate it auto exit once executed...

please help

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
566

Hello,

Have a look at the code if any checks based on SY-UNAME is placed in the start-of-selection event. If not this its hard to predict for us the reason without having a look at the code

Vikranth

2 REPLIES 2
Read only

Former Member
0 Likes
567

Hello,

Have a look at the code if any checks based on SY-UNAME is placed in the start-of-selection event. If not this its hard to predict for us the reason without having a look at the code

Vikranth

Read only

Former Member
0 Likes
566

Hi Bernadette,

Can you paste your code just before and after that event to check with the issue.

If it is passing to any select query after the event then check with the STOP keyword.

Genrally we will use if the data is not available then to stop the process and exit the program.

IF T_PRCTSC IS INITIAL.

MESSAGE : I007(ZMSSG) WITH 'Data not available for this entry'.

STOP.

ENDIF.

However, if this is not the case then paste your code for better understanding.

Regards,

Kittu