‎2011 Jul 23 12:24 PM
Hi Experts
I am looking for the tables linked to the SAP Business Workplace. What I want to do is to retrieve mails contents recieved for a given user, and export them to Excel in order to sort them according to some criteria.
Regards
Sanguine
‎2011 Jul 23 10:17 PM
Hi sanguine,
without knowing the tables this can be done following the excellent blog [Receiving E-Mail and processing it with ABAP - Version 610 and Highe|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/795] [original link is broken] [original link is broken] [original link is broken]; by Thomas Jung.
Hope this can help you.
Regards,
Clemens
‎2011 Jul 24 5:08 PM
use the function module SAP_WAPI_CREATE_WORKLIST , ythis will give you workitems and other details in inbox of a user .
‎2011 Jul 26 7:05 AM
Hi Experts
let me explain my requirement clearly, I need to capture the outbox document details as soon as the mail is sent and download all the document details writing a report program
‎2011 Jul 26 8:40 PM
Hi sanguine,
I hope next time you post a question you give the details first and not last.
SAP Mail outbound processing is not provided by standard - probably because if you send a mail you want to know who will receive it and who will not read it. Luckily SAP Mail is not G*Mail.
OK, if you have full support of your management and legal consultants, you might try this:
As part of sending process, function module SO_OBJECT_MIME_GET gets called. In this function, the FORM routine get_mime is processed. You may create an implicit enhancement at the end of this routine.
If condition rcode = ok. is true, you have an instance of the mail in object send_request. This is an object of call CL_BCS. You can use the respective methods to access all parts of the message.
A precondition will be that you can work with objects to some degree. Sorry, no SWBT tables as you don't need them. I don't even know if the mail is stored in any readable form.
Still you should be careful intercepting outgoing mail - it may endanger the whole send process.
Regards,
Clemens