BC Tips&Tricks
You run a report as job and it does not want
to finish.
- 1. Start the report as a job.
- 2. Call transaction 'SM50'
- 3. Put the cursor on the workprocess which runs
your job.
- 4. Push button 'Debugging'.
You will get a session where you can debug the
running job. Be careful! When the job is in the middle of a SELECT it will
dump when you try to debug.
- If you start the report online and already opened
a second session, you can start transaction 'SM04'. Click on the user-id
and choose the session you want to debug. After pressing the button 'Debugging',
the choosen session jumps in debug mode.
Infosystem
You forgot the name of an SAP table or program, but found one which
is quite similar to it.
I found the easiest way to use the development class as search field.
Look for it in the attributes of the known program/table. Then go to the
infosystem in the development workbench. Select the object type you are
looking for. Set only the development class on the selection screen.
Program analysis
You want to find out which tables are used in a standard program, but
the source code is too complex to analyze or debug.
Switch on the SQL trace and run the program. Later you can find
all the used tables in the trace log.