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

SE38 Execute in Background report show empty Data.

Former Member
0 Likes
2,215

Dear All ,

I faced a problem when i tried to execute my report in SE38 by execute in Background, all my data cnt show out in the screen, only show the report loyout with header text but without the data.

But if i execute it as normall all the data can show it out as what i want.

Any ideas why the data is not show out when i execute in background..... HELP .

Thanks ...

SAP Forever .........

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,765

Dear ...

Thanks for reply.. Yes , the data all had been selected and save to intertable... when i execute in normall the data can show out , but once i change it execute in background, the data is not showing out ...... ....

thanks ..

Dear All ,

I faced a problem when i tried to execute my report in SE38 by execute in Background, all my data cnt show out in the screen, only show the report loyout with header text but without the data.

But if i execute it as normall all the data can show it out as what i want.

Any ideas why the data is not show out when i execute in background..... HELP .

Thanks ...

SAP Forever .........

11 REPLIES 11
Read only

Former Member
0 Likes
1,765

did u check for the data availability in tables ..like put a sy-subrc check after your select query.

with regards

s.janagar

Read only

Former Member
0 Likes
1,766

Dear ...

Thanks for reply.. Yes , the data all had been selected and save to intertable... when i execute in normall the data can show out , but once i change it execute in background, the data is not showing out ...... ....

thanks ..

Read only

0 Likes
1,765

make sure you donnot have any conditions on sy-batch variable... and also make sure you are not using any front end utilities like gui_upload etc... to base the data..

Read only

0 Likes
1,765

Can you post your code here for our reference?

Thanks,

Joe

Read only

Former Member
0 Likes
1,765

Hi,

Check the error log after the completion of the background job if its a success or if there were any errors while executing in background

Read only

Former Member
0 Likes
1,765

28.07.2009 11:18:44 Job started 00 516 S

28.07.2009 11:18:44 Step 001 started (program ZRMM_KB_KPKN4, variant &0000000000104, user ID MIS-MY) 00 550 S

28.07.2009 11:18:47 Job finished 00 517 S

This the message i get it from tcode : sm37 .....

I think no have any errors over there ,, am I ?

Thanks

Read only

0 Likes
1,765

Hi,

The job seems to have got executed without errors. If you are getting the output while executing in the normal mode, there can be one possibility that if the output columns exceeds more than 255 columns you may have to change the output type for the spool to view the output.

Read only

Former Member
0 Likes
1,765

Hi,

Try this.

If you are using ALV to display the report, then please check whether the container and the grid is initialized even in the background (i.e., when sy-batch is not initial).

Hope this may be helpful.

Regards,

Sharin.

Read only

Former Member
0 Likes
1,765

Dear All,

I not using ALV to write the report ..... hehe

thanks

Read only

0 Likes
1,765

Hi,

Any Upload & download function module used in your report?

thanks.

Read only

Former Member
0 Likes
1,765

Hi ,

check whether in you report you have placed any chek on sy-batch , how you are displaying output in background , if you are using list or grid display , it will not work .

Please let me know if you have any issues on this.

Thanks and regards,

Rajeshwar.