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

Error while report running in background

Former Member
0 Likes
1,769

Hello to all,

I am running a report in backgroud using SM37.This report already programmed to call a report in background.It takes stocks for given period,I am taking the values using "import memory-id" statement.It gives an error log in SM37 as:

Choose at least one scope of list

Message no. M7829

Can we call a submit stmt in a report that is to run in background?? or pls provide any alternative for this problem??

Thnax & Regards

Vipin B.

8 REPLIES 8
Read only

Former Member
0 Likes
1,186

Vipin,

You can call reports using SUBMIT statement in the background. However, your error sounds like you are calling the reporting without passing the mandatory parameters.

There is a parameter called SCOPE of LIST and you are not passing any value for the same.

Regards,

Ravi

Note: Award points of this helps you.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
1,186

Hi,

If you faced problem in submit statement,then try replacing the same by running the bdc for the particular program that you are using in submit statement.

Make sure that you had given values for all the mandatory parameters and select option in the selection screen of the report program that you are submitting using submit statement.

Kindly reward points by clicking the star on the left of reply,if it helps.

Read only

Former Member
0 Likes
1,186

Pls use set and get parameter id's insteda of import/export. make sure u use all the values to the fields. I too got the smilar problem when using the import/export parameters.

Read only

Former Member
0 Likes
1,186

I want to add that i m using submit in a loop.Is it right

??Now Will the given solution will work?? Pls advise..

Read only

0 Likes
1,186

FIrst of all which report you are submitting using SUBMIT statement . You can pass manadatory selection screen parameters in various ways . Check here -

http://help.sap.com//saphelp_470/helpdata/EN/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm

Cheers.

Sanjay

Read only

0 Likes
1,186

I am using following report :

ZMIL0MMRO_RM07MLBD

t - code is MB5B for opening stocks in R/3.

Pls advice the solution.

Thanx

Vipin B

Read only

Former Member
0 Likes
1,186

Hello,

As per my previous mail kindly help to get solution

on background job running.

I<b> am using following report :

ZMIL0MMRO_RM07MLBD</b>

t - code is MB5B for opening stocks in R/3.

Pls advice the solution.

Thanx

Vipin B

Read only

0 Likes
1,186

Hi Vipin,

Looks like your is a custom program copied from a standard one. You have to give the logic of your coide to help you.

Also, you marked this as answered. So no one will attempt to answer it, please unmark it.

Srinivas