Note: Prior to maintaining the settings for the process chains in the job commander transaction, check table TFK090A and find the job type (JTYPE) for the desired mass activities. Analyze the determined job type to see if it used in multiple mass activities. If so, for example A1 is used with both BILL and EMTB. If this is true for any of the desired mass activities, the n you will need to implement logic in event 1906 so that the right mass activity can be determined.
Start:
Execute transaction FKJOXTR or follow menu path Utilities Industry -> Tools -> Administration of Mass Processing -> Background Processing Control
Right-click on the Container Sample and choose Create Job Container.
At the pop-up window, enter the details about one of the jobs to be scheduled.
The copy template data is necessary to enable the job processor to determine/copy the specifics of the mass activity, e.g. posting date or company code. Here the template to be copied is defined for Jan 1, 2013 ID MASS.
Period data indicates the frequency and periodicity for the job. You are also able to define how to handle non-workdays for any of the dates in the newly created job.
The type-specific settings indicate the job(s) that will be included in this container. Only jobs of the same category can be included in one container.
After the first container is created, then create the next one. In this example, I create the invoicing job to follow billing:
I have made similar settings as for the previous container, using the new job category A2 which refers to invoicing.
Having created two containers, I can create a chain to hold both of them.
Right-click on Process Chain Sample and choose Create Process chain template.
Click on Add to add containers to the chain. Note: Only inactive containers will be shown here. Do not activate your container. It will be activated when you activate the chain.
Choose the billing job container to add it.
Repeat the process for the invoicing job container.
The details for the chain are saved. Activate the chain.
After activation, generate the job containers.
Click on the Process Chain Overview button.
Double-click on the newly-defined process chain.
Choose the start date/time for the chain.
Look at the job log to find the scheduled chain.
After the job chain is executed, the SM37 log shows all of the executed processes.
Results: Here are the mass activities run and scheduled via the Job Commander settings.
The billing job which was scheduled and run via the job commander parameters:
The invoicing run which was scheduled and run via the parameters:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
3 | |
2 | |
2 | |
1 | |
1 |