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: 

Submitting Report with addition "AND RETURN" (self.SAP)

Former Member
0 Kudos

I've got a question about submitting a Report in ABAP. I habe two customers where the same statement seems to run in different ways:

SUBMIT (c_report_name) WITH SELECTION-TABLE lt_params AND RETURN.

At one customer the standard-report in "c_report_name" takes you to the spool with some entries in it. After hitting the Back-Button the Master-Report processes further. At the other customers system i have the same Master-Report and I also run it with exactly the same statement and the same parameters, but there the spool is never displayed. Although the operations of the report are, similar to the first customer, processed.

Is there any customizing-option which would explain this strange different behaviour ?

1 ACCEPTED SOLUTION

former_member186746
Active Contributor

Hi,

My suggestion would be to check if there are differences of the user-id who is executing these reports. Just go to system-->User Profile-->Own data

There check defaults and user parameters.

My guess is, that your output device is missing on one of the systems.

Kind regards, Rob Dielemans

9 REPLIES 9

Sandra_Rossi
Active Contributor

Nothing strange for me according to what you say : there's no spool because there's nothing output to the spool for the given contexts.

0 Kudos

In my case the Spool represents the log (If I look into sm37 i can see this).

On the stystem, where it works is always an output. The other system never has one. It's a standard-report, so it should behave similar on both systems (Sampe Release level). Am I wrong here ?

It's just impossible to say why an unknown program doesn't output anything in unknown circumstances. Did you make sure the spool doesn't exist ? (use the transaction SP01)

former_member156446
Active Contributor

Check the TO SAP-SPOOL spool_options addition for submit

matt
Active Contributor

SUBMIT ... RETURN will not work differently in different systems or for different customers. The program you are submitting obviously is behaving differently. Perhaps it's an authorisation issue? In any case, your first step is to debug and see what is happening.

Former Member

Thanks for the answer.

I missed to say that everything is fine while debugging. Just doesn't work if you don't debug.

matt
Active Contributor
0 Kudos

OK - that's very weird indeed.

former_member186746
Active Contributor

Hi,

My suggestion would be to check if there are differences of the user-id who is executing these reports. Just go to system-->User Profile-->Own data

There check defaults and user parameters.

My guess is, that your output device is missing on one of the systems.

Kind regards, Rob Dielemans

0 Kudos

Thanks a lot !

That solved my problem.