Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SBWP Tables

Former Member
0 Likes
3,971

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

4 REPLIES 4
Read only

Clemenss
Active Contributor
0 Likes
2,124

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

Read only

aditya_avadhanula
Participant
0 Likes
2,124

use the function module SAP_WAPI_CREATE_WORKLIST , ythis will give you workitems and other details in inbox of a user .

Read only

0 Likes
2,124

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

Read only

0 Likes
2,124

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