Debug Routines in Update Rules in Just Seven Easy Steps
- by July Hartono, Alpha Net Consulting
- February 1, 2003
SAP has no debugging tool for BW, but you can still debug routines in update rules through the PSA (persistent storage area). The author also shows another process for debugging transfer rules and user exits.
You included a routine for an InfoObject into an update rule for your data target. The code looks correct, but the results in the data target are not what you expected, or the process short-dumps because of an error in the routine. Ideally, you want to analyze your code further by running it through the ABAP Debugger. However, no debugging tool is available for BW. Therefore, you have only one way to debug your update rule: through the simulation process in the PSA.
Debugging through the PSA is not difficult, but the process is not well documented and many BW practitioners are not aware of it. I'll show you how to debug routines in update rules in the following seven steps.
Would you like to see this full item?