Using Message-ID to provide using job logs during program processing

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.

  • Transaction SM37 and hit Enter
  • Double click on your program name and the job entries log is shown
Using the message command:-

* 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.

More Function Module
Functions / SAP Script / ALV

Tables
Database Table

ABAP Books List
ABAP/4 Certification, Programming, Smartforms, Sapscripts and Object Oriented Programming Books

Smart Forms
SAP Smartforms

ABAP Menu:
ABAP Example Hints and Tips

Return to Index:-
SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.  The site www.gotothings.com is in no way affiliated with SAP AG.
Any unauthorised copying or mirroring is prohibited.