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

How to generate spool column while executing

Former Member
0 Likes
811

Hi Experts,

I am running a BDC program and executing it in background.i am using WRITE statement to display the BDC_Messages.

when i click on spool to see the result,in Sm37,

message throws : "List is EMPTY"

And also my Spool column is missing.

Regards,

Abhisek.

1 ACCEPTED SOLUTION
Read only

former_member404244
Active Contributor
0 Likes
756

Hi,

First check in foreground mode whether you are getting any messages or not in the output.Also check the SY-SUBRC value after call transaction.

Regards,

Nagaraj

7 REPLIES 7
Read only

former_member404244
Active Contributor
0 Likes
757

Hi,

First check in foreground mode whether you are getting any messages or not in the output.Also check the SY-SUBRC value after call transaction.

Regards,

Nagaraj

Read only

0 Likes
756

Hi nagaraj ,

yes, message is generated as a report.

And the same thing i want to see in spool with detials but it's not happening as i want.

Regards,

Abhisek.

Read only

0 Likes
756

Hi

Try printing some header also. IF it comes then you can try other things

Are you able to get other field information in spool? sometimes if your spool size is more than the page format, it gets truncated.

Change the page size accordingly or select the proper one.

Shiva

Read only

0 Likes
756

Hi Shiva,

In Transacation SM37 when i execute my job ,

The result i.e Job Overview every details and fields as mentioned , i am getting . But when i click on spool ,

message throws : "No List Available".

and also spool column is missing.

regards,

Abhisek

Read only

0 Likes
756

Hi,

as shankar suggested you can debug your job. Put a break point in ur program and then select ur job in sm37 and in comand box enter JDBG and then press enter.

Regards,

Nagaraj

Read only

Former Member
0 Likes
756

Hi,

Try to debug your job. check wheather write statements are executed or not.

To debug already finished jobs, run SM37 and select your job and enter JDBG IN command line and press enter. And in debug press f7 untill you reach your progarm.

then check what is happening.. hope this may help you..

Regards,

Ravi.

Read only

Former Member
0 Likes
756

Hi All,

I got the solution for this.

my internal table was always empty,

when it was processing in background,as the data was uploaded from the local station or system.

In that case , my spool list was not generated or displayed in sm37.

Thanks alots for your answers,

Thanks & Regards,

Abhisek.