You can used the message command to get feedback from your background programs. The message will be display on the Job Log Entries. With the message command you can display the routinue and the variable data field the program is processing.
* double click on z1 to check whether is it created.
* create a message number in z1 e.g. 001
& & & &
report zxxxx message-id z1.
message i001 with 'Start of loop'.
loop at ....
message i001 with mara-matnr.
endloop.
Return to SAP Hints and Tips on Configuration and ABAP/4 Programming