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

how to schedule report RBDAPP01 through background

Former Member
0 Likes
2,200

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

7 REPLIES 7
Read only

Former Member
0 Likes
1,402

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

Read only

Former Member
0 Likes
1,402

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.

Read only

Former Member
0 Likes
1,402

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

Read only

0 Likes
1,402

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.

Read only

0 Likes
1,402

Give variant and then it will work

Regards,

Amey

Read only

0 Likes
1,402

Go to ST22 and see where the error occured or which table it is trying to insert into.

Read only

Former Member
0 Likes
1,402

Amey ,

what variant name you want me to give.

- Kristene