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

Backgroup ABAP Report Process

Former Member
0 Likes
567

Hi

I needed to schedule one ABAP Report and its output should save some where or it needed to print. How to do it.

Regards

Sebastian John

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
526

Execute the prog in background. The output will be written to spool. Else you write to App Server. You can see later.

Regards,

Srinivas

4 REPLIES 4
Read only

Former Member
0 Likes
526

Hi Sabastian,

For Storing files

1. Scheduled reports can not generate the files on your presentation server( Say desktop),

2.but it can store the files in application sever( Say your PRD Server physical location ).

3. Create a directory in path in T-code AL11.

4. Generate your data as internal table.

5. Loop the internal table, create File using OPEN DATASET OUTPUT logic.

6. This will generate files in application sever.

7. This file can be accessed directly from AL11, or using OPEN DATASET INPUT Logic.

For Printing Files

1. The output of the scheduled Executable program with write statement, can be seen in sm36. You can get the spool Data also. It can be printed.

During Schedule, system will ask for printer info, Directly it can be printed.

Read only

Former Member
0 Likes
526

Hi,

Any clasical report can be executed in background.

On selection screen in top menu.. go to Program --> execute in background.

You can see sceduled job status in SM37. for report o/p Spool will be there.

You can print this spool automatically. Search forums for setting print parameters.

Or you can save data on application server.

Regards,

Dhan

Read only

Former Member
0 Likes
527

Execute the prog in background. The output will be written to spool. Else you write to App Server. You can see later.

Regards,

Srinivas

Read only

Former Member
0 Likes
526

Thanks