Application Development 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: 

Error while report running in background

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

jayanthi_jayaraman
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

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

0 Kudos

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

0 Kudos

I am using following report :

ZMIL0MMRO_RM07MLBD

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

Pls advice the solution.

Thanx

Vipin B

Former Member
0 Kudos

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

0 Kudos

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