Application Development 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: 

Is it possible to capture SOST emails ??

Former Member
0 Kudos

Hi friends,

Is it possible to capture SOST emails ?? I wanna write a code by which i will schedule it for every 5mins and in this 5mins if i get any email with Doc title 'Payment advice' then i want to forword the same email with attachment to another email id.

Is this possible.

Regards

VEnk@

Edited by: Venkat Reddy on Feb 23, 2011 6:07 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Yes there is possibility.

You have to debug the program once.

You can also Submit the report and try to take the values in a Internal Table and than modify according to your needs.

Thanks

Arbind

7 REPLIES 7

Former Member
0 Kudos

Hi,

Yes there is possibility.

You have to debug the program once.

You can also Submit the report and try to take the values in a Internal Table and than modify according to your needs.

Thanks

Arbind

Former Member
0 Kudos

Sorry disaster...........

Thanks,

Anmol Bhat.

Edited by: anmol112 on Feb 23, 2011 8:34 AM

0 Kudos

Hi SAP Mentors,

I wonder is SAP have given any solution to forward SOST emails to another recipients(external email id) in SAP 4.7 version problematically ?? Or is there any procedure BAPI or Program which forward Emails which are there in SOST.

Regards

Venk@

Edited by: Venkat Reddy on Feb 25, 2011 11:33 AM

vinod_vemuru2
Active Contributor
0 Kudos

Hi,

Have a look at the FMs SO_DOCUMENT_READ_API1/SO_DOCUMENT_SEND_API1 and tables SOOS, SOSC, SOOD.

SOOD table will give mails created for a given date and time (Field CRDAT, CRTIM).

Thanks,

Vinod.

Just got to know there is a T-code for forwarding the messages. You can use SO36 for auto forwarding the messages. Check if it would help in your case.

Edited by: Vinod Vemuru on Feb 25, 2011 1:39 PM

0 Kudos

Hi Vinod,

I tried with SO36, and also the same functionality will be there in SBWP->OUTBOX->SETTINGS->OFFICE Settings->Automatic mail forwarding. In my case i dont want to forword all email's rather want to forword only when specific mails are created. Wanna know is there any settings to specify only when 'Automatic payment advice is created' then only forword tht mail like.

Regards

Venk@

0 Kudos

Hi,

Just to think in other way, why can't we add the complete mailing list at the first stage when the payment advice generates the mail?

Is the payment advices are generated by some batch job? If yes, use some special ID for this job and use SO36 with this user ID.

Thanks,

Vinod.

0 Kudos

I agree with Vinod... Is there any way, you can send it to the multiple email ids when the original email was generated, rather than forwarding it later?