04-17-2008 7:11 AM
Hi All
I have a requirement where I want to write a ABAP program which can read a specified users (my own) inbox and return all unread email headings and message content. I then want to process the message content that I receive back. I believe the tables I want to read are SOOD and SOFM? Not sure about this. I need to read the object numbers and somehow link them together if that is the case.
Has anyone been successful in doing this? If so can you provide examples? I also think maybe I need to use the FM SO_OBJECT_READ?
04-17-2008 8:25 AM
Hi,
I had a same request at our client I used the following FM SO_INBOX_COUNTER_READ
And it's working fine,
Regards
04-17-2008 8:36 AM
04-18-2008 3:02 AM
The link does not provide examples or how they selected from SOOD or SOFM. To the above poster that function only counts the emails in the inbox. It does not return any contents.
04-22-2008 11:58 PM
I found I needed to use SO_USER_READ_API1 to get the user ID
I then needed to use SO_FOLDER_READ_API1 to get the folder ID for the inbox
I then used SO_OBJECT_READ to read the contents of the mail with the object ID retrieved from previous function. Answered by myself.