creating process chains
TRANSCRIPT
8/7/2019 Creating Process Chains
http://slidepdf.com/reader/full/creating-process-chains 1/4
Creating Process Chains
PrerequisitesIf you want to include a load process in the process chain, you need to have already created anInfoPackage.
You cannot load flat file data from a client workstation in the background. Therefore, you must storeyour data on an application server.
Creating Process ChainsYou can either create a process chain directly in the process chain maintenance screen, or by using amaintenance dialog for a process:
Creating a Process Chain Directly in the Process Chain Maintenance Screen
In the BW Administrator Workbench:...
1. Choose the Process Chain Maintenance icon from the AWB toolbar.
The Process Chain Selection dialog box appears.
2. Choose Create.
3. Enter the technical name and a description of the chain, and confirm your entry.
The Add Start Process dialog box appears.
4. Create a variant for a start process.
a. On the Maintain Start Process screen, choose whether you want to schedule the chain
directly or whether you want to start it using a metachain.
b. If you choose to schedule the chain directly, enter the start date value for the chain
under Change Selections and save your entries.
The Maintain Start Process screen appears again.
c. Save your entries, go back to the previous screen and confirm your entries in the Add Start
Process dialog box.
The Plan View of the process chain maintenance screen appears.
In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of thescreen, the process chain is displayed.
5. Use Drag&Drop or double-click to add the relevant processes to your process chain.
Choose Process Types to select the processes. This sorts the process types according to
different categories. You can also call up InfoPackages and processes for the data target from
the separate InfoSources and Data Targets navigation trees.
If you insert a process into the chain that is linked to additional processes by
default, the respective process variants are generated and automatically insertedinto the process chain. These variants are suggestions and can be changed,replaced or removed from the chain as required. Variant maintenance is called
when the change run performs automatic insert. You can turn this system response off using Settings → Default Chains.
For more information, see Plan and Check View Functions.
Creating a Process Chain Using the Maintenance Dialog for a Process
In the maintenance dialog of a process that you want to include in a process chain:......
1. Choose the Process Chain Maintenance pushbutton and create a process variant.
2. Save the variant and go back to the previous screen.
A dialog box appears in which you enter a technical name and a description of the chain thatyou want to create.
8/7/2019 Creating Process Chains
http://slidepdf.com/reader/full/creating-process-chains 2/4
3. Confirm your entries.
The Add Start Process dialog box appears.
4. Create a variant for a start process.
a. On the Maintain Start Process screen, choose whether you want to schedule the chain
directly or whether you want to start it using a metachain.
b. If you choose to schedule the chain directly, enter the start date value for the chain
under Change Selections and save your entries.
The Maintain Start Process screen appears again.
c. Save your entries, go back to the previous screen and confirm your entries in the Add Start
Process dialog box.
The Plan View of the process chain maintenance screen appears.
The various process categories, the application processes, and collection processes aredisplayed in the left-hand area of the screen. In the right-hand area of the screen, the processchain is displayed.
If the process that you used to create a chain is linked to additional processes bydefault, the respective process variants are generated and inserted into theprocess chain automatically. These variants are suggestions and can bechanged, replaced or removed from the chain as required. Variant maintenance
is called when the change run performs automatic insert. You can turn this system response off using Settings → Default Chains.
For more information, see Plan and Check View Functions.
5. Use Drag&Drop or a double-click to insert any additional relevant processes into your processchain.
Choose Process Types to select the processes. This sorts the process types according to
different categories. You can also call up InfoPackages and processes for the data target from
the separate InfoSources and Data Targets navigation trees.
Additional Steps for Creating a Process Chain
6. When you add a process, you need to select a process variant or create a new variant. For collection processes, the system uniquely determines the variants.
Various functions for editing the process are available from the context menu:
Context Menu Entry for a Process Function Information
Maintain variants With the exception of the variants in the collectionprocesses OR and EXOR, you can use this
function to change all process variants.Exchange variants You can exchange the variants for an existing
variant or a variant that is to be created.
Link with… You can use this function to link a process to asuccessor process. You can choose from theprocesses that are not yet linked to the currentprocess. They are grouped according to processtype in submenus.
Display scheduled jobs Once the process chain is active, you can use thisfunction to display the jobs that have beenscheduled.
8/7/2019 Creating Process Chains
http://slidepdf.com/reader/full/creating-process-chains 3/4
Display all jobs After at least one process chain run, you candisplay all of the scheduled jobs for a specificprocess and all of the jobs with which this process
was run. The Job Overview appears and you can
call the relevant job log.
Create message You can also send messages to an applicationprocess of the chain, depending on the successor failure of the process.
1. To do this, using the context menu for aprocess, create another process variant of typeSend Message.
2. If you maintain a message, first specifywhether you want the message to be sentwhen the process has been completedsuccessfully or unsuccessfully. ThenchooseNext .
3. A dialog box appears, in which you can
select an existing process variant or create anew one.
4. If you create a new process variant, edit thedocument that is going to be sent andmaintain a list of recipients.
5. Save your process variant and go back.
The message process variant is now assigned toyour application process. When the message issent, the status information and the process logare also sent.
Debug loop
Only use this function to debug a process run.
Specify how long (in seconds) you want the delayto be between one event being triggered and thenext process starting.
You can capture the process in the debugger byusing transaction SM37 (Job Overview ) or SM50(Process Overview ).
Remove process You use this function to remove a process from aprocess chain.
Manage data target You use this function to call the data targetadministration for the following types of process
variants:• Construct index
• Delete index
• Construct database statistics
• Roll up filled aggregates
• Compress InfoCube
• Activate DataStore object data
7. Hold down the left mouse button to connect the processes with events.
8/7/2019 Creating Process Chains
http://slidepdf.com/reader/full/creating-process-chains 4/4
Before you do this, select the process underneath the process type row, and position thecursor over the required process. When you select the process type row, the wholeprocess is moved into the plan view.
From the context menu of a link, you can display the event or remove the link. To do
this, select the link and right-click with the mouse. 8. If necessary, specify whether you want the event to be triggered after the previous process has
been completed successfully or unsuccessfully, or whether you want the event to be triggeredindependently of the outcome of the process that precedes it. If the process that triggers theevent has more than one option, choose the option after which the successor process is to be
run (see process type Decisions).
9. Assign a display component to the process chain using Attributes → Display Components.
10. Maintain additional process chain attributes if necessary.
11. Check your process chain in the Check View and make any necessary corrections.
The Legend explains the meaning of the different colors used to display theprocesses and links.
From the context menu for a process, you can display the messages resulting from thecheck.
During the check, the system calculates the number of parallel processes according to thestructure of the chain (subchains are recursively taken into account here). The result iscompared with the number of background processes on the chosen server (or the total of allavailable servers if no server is specified in the attributes of the process chain). If the number of parallel processes is greater than the number of available background processes, the systemhighlights every level of the process chain where the number of processes is too high. Thesystem produces a warning for these levels.
12. Save your process chain if it does not contain any errors.
ResultYou can activate and schedule your process chain. After scheduling, the chain starts in accordancewith the start process selections. For example, if you scheduled the start process directly and
chose Immediately as the start date value, the chain run starts immediately after scheduling. In
the Log View, you can display the reports for the chain runs.