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

hi help on processing log in spool

Former Member
0 Likes
970

Hii

in a report program i need to oupput my internal table

i have two internal table

1. ITAB_CORRECT

2. ITAB_ERROR

at the end i need to display a report. I don't want to use write statement can i use ALV coz i only try ALV when with 1 internal table only. if the program run in background it have to keep a processing log in spool by using ALV can this be done. do you have any example please?

can anyone also please to me the process of processing log spool in background

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
948

hi,

combine the data and move it to ur final internal table and the pass it to the fm , and regarding spool processing cud u plz specify what exactly u want.

Reward points if helpful,

Regards,

Sumanjeet.

hi,

combine the data and move it to ur final internal table and the pass it to the fm , and regarding spool processing cud u plz specify what exactly u want.

Reward points if helpful,

Regards,

Sumanjeet.

7 REPLIES 7
Read only

Former Member
0 Likes
949

hi,

combine the data and move it to ur final internal table and the pass it to the fm , and regarding spool processing cud u plz specify what exactly u want.

Reward points if helpful,

Regards,

Sumanjeet.

Read only

0 Likes
948

for the internal table what if i want to display them seperately can i display 2 ALV in a report since both internal table might not contain same data.

if the user run the program in background a spool a processing log shoulf be save in background. the log must contain list of intries in ITAB_CORRET and list of entries of ITAB_ERROR

Read only

0 Likes
948

hi,

whts ur requirment like u want a single output block or is it ok with ur client to have multiple blocks of o/p.

next once u schedule ur program in background u can see the log in sm37.

Reward points if helpful,

Regards,

Sumanjeet.

Read only

0 Likes
948

can several block of output be done in ALV?

Read only

0 Likes
948

hi,

yes it can be done for that u have 2 use ALV Block Display

using the REUSE_ALV_BLOCK_LIST_DISPLAY.

Reward points if helpful,

Regards,

Sumanjeet.

Read only

0 Likes
948

Thanks i'll try this

for the running of program in background will it automatically save in a spool in SM37 or do i have to write some code "submit spool etc.."

Read only

0 Likes
948

hi,

if u dont want to see the output in screen then u have to include it in the code by passing spool parameters and using submit. automatically u execute it it will go to spool.

but if u want to do it manually then u have to go and schedule it in sm 36 according to ur requirement.

reward points if helpful,

Regards,

Sumanjeet.