‎2007 Apr 16 4:26 PM
Hi,
We are processeing thousands of parallel processing IDOCS from XI to CRM . Can you please suggest how to schedule report RBDAPP01 through backgrond.
Thanks,
Kristene
‎2007 Apr 16 4:32 PM
Hi,
You can create and scheduled a job via SM36 to execute program RBDAPP01.
Please ensure you have created a variant to use to run above program.
For more information on how to schedule a job, please check this link.
http://help.sap.com/saphelp_bw30b/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
Regards,
Ferry Lianto
‎2007 Apr 16 4:37 PM
Run transaction code SM36, give a name for the job, click on Define Step. Enter the program name and a variant name (which needs to be created before SM36). Save it and then click on Start Time, enter the date and time when it needs to start, check the box 'Periodic job' and enter the period values (weekly, monthly etc) and save it. Click Save at every stage and come back to the initial screen. Now you have the job defined and will trigger at the time of the date you specified. To check its status, go to SM37.
‎2007 Apr 16 5:49 PM
Hi I have schedule the job without scheduling the variant every 15min. After that i went to to log ,it shows "cancelled"
The log display
9:11:16 job started
9:11:16 step 001 started (program RBDAPP01 ,variant, User ID CBTKNR)
9:11:40 ABAP/4 processor :SAPSQL_ARRAY_INSERT_DUPREC
9:11:40 job cancelled
Please suggest where might be the issue.
- Kristene
‎2007 Apr 16 5:51 PM
This has nothing to do with your scheduling of the job. I think one of the Idocs that is processed tried to insert a record with the same key so the system threw an exception. Even if you run the IDOC manually you will get the same error. This is to do with the content of the IDOC rather than this background job.
‎2007 Apr 16 5:52 PM
‎2007 Apr 16 5:52 PM
Go to ST22 and see where the error occured or which table it is trying to insert into.
‎2007 Apr 16 6:10 PM