There
are few possibilities for debugging a process chain. In case BW system is based
on older versions it needs to be debugged is a background process. This can be
done via capturing the background process from the chain’s job.
In case the BW system is newer the chain debugging function is available out of the box. In the process chains related t-codes (e.g. RSPC1) when the chain is in EDIT mode there is a drop down menu called “Debug Loop…”.
After
that a popup window is displayed. In that window it is possible to enter a
number of seconds that represent how long the process waits before executing
the task. During this waiting time you either go to Job Overview (t-code like SM37)
or the Process Overview (SM51, SM50) and capture the process from there. Or make
it simpler and set the break point in your code prior to the debugging). After
entering the “Debug Loop…” the chain needs to be saved and activated.
The debugging itself can be started from RSPC1’s menu Execution -> “Execute Synchronous to Debugging”.
In a
nutshell:
1. Open the PC in Edit Mode
2. Find a process you want to debug
3. Right click and select “Debug Loop”
4. Set a time in seconds e.g. 5 seconds
5. Save and activate the chain
6. In the menu -> Execution ->
Execute Synchronous to Debugging
More
information:
Finding
any process in Process Chain that deals with certain object
Reassigning
of Process Chain’s InfoArea
Possibilities
of Process Chain monitoring
Other
ways of starting Process Chains
Critical
path of a process chain
Dummy
report for process chain decision processes
Skip
Process Chain’s process – some details