11-11-2005 4:45 AM
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.
11-11-2005 4:51 AM
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.
11-11-2005 4:53 AM
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.
11-11-2005 5:02 AM
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.
11-11-2005 7:02 AM
I want to add that i m using submit in a loop.Is it right
??Now Will the given solution will work?? Pls advise..
11-11-2005 7:33 AM
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
11-11-2005 2:49 PM
I am using following report :
ZMIL0MMRO_RM07MLBD
t - code is MB5B for opening stocks in R/3.
Pls advice the solution.
Thanx
Vipin B
11-12-2005 7:11 AM
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
11-12-2005 4:54 PM
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