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

Spool generated if there is no data by program

Former Member
1,587

Hi Experts,

I need to seek your help in regards of spool.

When a program is executed in background, if there is no data returned by program then it generates a spool saying that 'List contains no data'. Is there any way where we can ask system not to generate spool if there is no data returned by spool.

Regards,

Gaurav

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
1,211

It's not feasible to answer this correctly without knowing what exactly triggers the spool.

There might as well be just a WRITE command that outputs this line. (I've seen this in too many programs, unfortunately.) Or the program might have an ALV list and this could be the ALV summary page. Who knows.

Please understand that there is no general system setting for this. Look in the specific program.

3 REPLIES 3
Read only

Jelena_Perfiljeva
Active Contributor
1,212

It's not feasible to answer this correctly without knowing what exactly triggers the spool.

There might as well be just a WRITE command that outputs this line. (I've seen this in too many programs, unfortunately.) Or the program might have an ALV list and this could be the ALV summary page. Who knows.

Please understand that there is no general system setting for this. Look in the specific program.

Read only

DoanManhQuynh
Active Contributor
0 Likes
1,211

Maybe LEAVE LIST-PROCESSING could do the trick...

Read only

Sandra_Rossi
Active Contributor
1,211

Quynh Doan Manh if the program can be modified, then it's better to just skip the statement WRITE 'List contains no data'. As Jelena said, the OP didn't explain the context so it's difficult to answer.