I am setting up an alert notificatio in solution manager for IDOCs. It is working fine. But the requirement is to extend the functionality and add idoc numbers also in the same mail alert. I found a BADI "BADI_BUILD_MESSAGE" for this purpose.
Please help me to suggest if this is the correct BADI and also where(in which parameter of the badi) will I find the IDOC numbers. I could not find the source of the IDOC numbers as this is running in background system.