Skip to Content
avatar image
Former Member

Need to receive and process mails

One question: Is it possible to receive mails with a BW system and automatically process them so that you can automatically extract data from mails in a special format and store them in a table? I know that you can configure the system to receive mails but can you start an ABAP when you receive mails?

Thanks in advance

Dirk

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 08, 2011 at 09:45 AM

    Dear Dirk,

    please ignore my previous answer. There exists after all a nice way to handle emails by default. Check the following blog:

    Receiving E-Mail and processing it with ABAP: /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher

    Regards,

    Theodoros

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Theodorus,

      thanks a lot. This is what I was looking for. I don't know if I have to implement it but I wanted to be prepared for any ideas the customer comes up with.

      Best regards

      Dirk

  • avatar image
    Former Member
    Apr 08, 2011 at 08:27 AM

    Hi Dirk,

    My guess is that there should be an event like RECEIVED_MAIL that you could use with for example workflows. If not, you can always write report that will run in background and will check if anything new came to system.

    Best regards

    Marcin Cholewczuk

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 08, 2011 at 08:49 AM

    Dear Dirk,

    I assume that you are referring of receiving mails to the SBWP inbox. Personally, I'm not aware of any automatic process of how to trigger an ABAP program after you receive some mail. However, an idea could be to schedule periodically a custom ABAP program and check for new mails and their contents. You could check for example program RSSOINBO (number of documents in user's inbox) in order to see some tables that you should monitor. Other helpful view could be V_SOIC (view for reading inbox/outbox).

    Kind Regards,

    Theodoros

    Add comment
    10|10000 characters needed characters exceeded