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

get failed email - table SOST

Former Member
0 Likes
1,721

Hi All,

I use FM 'SO_DOCUMENT_SEND_API1' to send out a email and due to some error, it failed. I need to generate the report daily.

Therefore, I retrieve all the failed email in table SOST.

In my report, I need to find out which email I sent out, such as populate the email subject or more specific data. But I do not know how can I retrieve that from the info in SOST. Can anybody throw a light on this?

Kindly advised, it's highly appreciated!

thanks & regards,

Ginnie

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
862

start of by using FM SX_SNDREC_SELECT, which will return the send request for a given period of time.

Using the data from the exporting parameter SNDRECS as input for SO_SOOD_READ.

Check FM from function group SOB5 and SOB7 (sap office).

Also you can use the returned data from SX_SNDREC_SELECT to do a direct select on table SOST.

Hi All,

I use FM 'SO_DOCUMENT_SEND_API1' to send out a email and due to some error, it failed. I need to generate the report daily.

Therefore, I retrieve all the failed email in table SOST.

In my report, I need to find out which email I sent out, such as populate the email subject or more specific data. But I do not know how can I retrieve that from the info in SOST. Can anybody throw a light on this?

Kindly advised, it's highly appreciated!

thanks & regards,

Ginnie

1 REPLY 1
Read only

Sm1tje
Active Contributor
0 Likes
863

start of by using FM SX_SNDREC_SELECT, which will return the send request for a given period of time.

Using the data from the exporting parameter SNDRECS as input for SO_SOOD_READ.

Check FM from function group SOB5 and SOB7 (sap office).

Also you can use the returned data from SX_SNDREC_SELECT to do a direct select on table SOST.