Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

(http://ww Community

w.sap.co (https://community.sap.com)
m/) (https://sharedui.services.sap.com/v2/protected.html?
ref=https://archive.sap.com/)

Ask a Question (https://answers.sap.com/questions/ask.html) Write a Blog Post (https://blogs.sap.com/wp-admin/post-new.

MAN Production Planning (PP) (https://community.sap.com/tag.html?


id=877902606110120463147070804386975)

CRP Basic Settings part 4 - Running


Capacity Leveling in Background
Tags: capacity_leveling | production_planning

When you are running Capacity Leveling for a large number of objects, very often you will notice
peformance issues, long runtimes or even a time out when loading, dispatching or saving the results.

The most easy way to avoid this kind of issue is the creation of a background job to dispatch the orders
in background and this document explains how to use transaction CM40 to create such job.

This is a continuation of the following CRP Basic settings documents previously published on SCN:

CRP Basic Settings Part 1 - Work Center (http://scn.sap.com/docs/DOC-52403)

CRP Basic Settings Part 2 – Routing (http://scn.sap.com/docs/DOC-52397)

CRP Basic Settings Part 3 – Production Order (http://scn.sap.com/docs/DOC-53051)

1 - If you have never created such job before, the first steps is to run transaction CM40, defining a name
for your job and which overall profile will be used.

If you check the flag redefine selection, you will be allowed to define the selection criteria to be used on
your background job.
2 - If you choose the option save parameters, system will simply save the parameters under your job
name and the batch will not be triggered. The parameters will be automatically loaded when you enter the
transaction again with your job.

3 - Choosing the option Schedule batch job, you can define a background job to be executed periodically
(weekly, or monthly, for example). This is quite similar to the scheduling of another background jobs, such
as MRP.

4 - With the remaining options Execute background job at once and Execute job at oce online, the job is
executed immediately, in background or online, depending on the option selected.

5 - You can check if the job is correctly scheduled, if it is being executed or if has already finished using
transaction SM37.

6 - At last, you can check for warnings or errors using on logs of mass processing using transaction
CM41 and see the dispatched orders on CM21/CM25.
(https://people.sap.com/caetano.almeida)

Caetano Almeida (https://people.sap.com/caetano.almeida)


July 22, 2014 at 14:33 PM
8 Likes

5 replies

(https://people.sap.com/kiran.kumar179)

Kiran Kumar (https://people.sap.com/kiran.kumar179)replied July 10, 2014 at 14:36 PM

Caetano,

Very brief and nice explanation appreciate it.

I would like to add one point can you please correct the transaction code for log
display to CM41..

Br

KK

0
(https://people.sap.com/caetano.almeida)

Caetano Almeida (https://people.sap.com/caetano.almeida)replied July 22, 2014 at 14:34 PM

The transaction was corrected. Thanks for pointing that.

BR

Caetano

Former Member replied August 14, 2014 at 04:44 AM

best explanation

(https://people.sap.com/anupam.sharma2)

Anupam Sharma (https://people.sap.com/anupam.sharma2)replied July 22, 2014 at 07:48 AM

Hi Caetano,

Thanks for sharing.

Regards,

Anupam Sharma

(https://people.sap.com/marianoc)
Mariano Cabalen (https://people.sap.com/marianoc)replied

August 14, 2014 at 05:59 AM


Thanks Caetano.

Good document..

Find us on

(https://www.facebook.com/sapcommunity) (https://twitter.com/SAPCommunity)

(https://www.youtube.com/c/SAPCommunities) (https://www.linkedin.com/company/sap)

(https://instagram.com/sap/) (http://www.slideshare.net/SAP) (mailto:?subject='SAP Community')

Privacy (http://sap.com/about/legal/privacy.html) Terms of Use (http://sap.com/corporate/en/legal/terms-of-


use.html)

Legal Disclosure Copyright (http://sap.com/about/legal/copyright.html)


(http://sap.com/about/legal/impressum.html)

Trademark (http://sap.com/about/legal/trademark.html) Cookie Preferences

Newsletter (https://www.sap.com/cmp/nl/sap-community- Support (mailto:sapnetwork@sap.com)


voice/index.html)

You might also like