‎2010 Aug 24 7:45 AM
Hi,
I want to process the mail after receiving it. Is there any user/customer that can be used after receiving an e-mail? Is there any alternative way?
thank,
- ferudun
‎2010 Aug 24 8:28 AM
Hi,
You should be asking this question in the development forum where you will get a better response.
Check SO50, click on column "Exit Name" where you will find various class examples used for processing emails.
Also check [Inbound Distribution|http://help.sap.com/erp2005_ehp_04/helpdata/EN/6c/69c2e3418d11d1896e0000e8322d00/frameset.htm] -> Exits for Inbound Distribution.
Nelis
‎2010 Aug 24 8:28 AM
Hi,
You should be asking this question in the development forum where you will get a better response.
Check SO50, click on column "Exit Name" where you will find various class examples used for processing emails.
Also check [Inbound Distribution|http://help.sap.com/erp2005_ehp_04/helpdata/EN/6c/69c2e3418d11d1896e0000e8322d00/frameset.htm] -> Exits for Inbound Distribution.
Nelis
‎2010 Aug 26 12:47 PM
Hi,
I have examined PROCESS_INBOUND method of class CL_RMPS_INCOMING_MAIL. I found that there is RMPS_POST_DEFATTR badi call. I have implemented the badi and insert endless loop in methods SET_DEFAULTS_MAIL_SMTP and SET_DEFAULTS_MAIL_BOR. I sent an e-mail but the methods I have implemented were not reached.
I have traced the incoming mail and there were the following lines:
IBND_PROC_POST_DECR G Start of Exit Processing
EXIT_PROCESSING G No Exits Found
IBND_PROC_POST_DECR G End of Exit Processing
IBND_PROC_POST_DECR G Try to Find Internal Recipients
What is missing or wrong in my work?
tahnks,
- ferudun
‎2010 Aug 26 3:14 PM
Hi,
For a similar req, we used an Inbound exit class to process mails incoming to SAP.
Once the email id was created, you need to do a config in SCOT.
Settings -> Inbound processing. Here you link the email id to the class (Z_CL_xxx).
This class is a singleton class and must implement the Interface IF_INBOUND_EXIT_BCS (it has to implement the methods CREATE_INTANCE and PROCESS_INBOUND method of this interface).
Then you can define a method of your own for futher processing.
Hope this helps.
Regards,
Liz
‎2010 Aug 27 6:59 AM
Have a look at the following blog - [Receiving E-Mail and processing it with ABAP - Version 610 and Higher|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/795] [original link is broken] [original link is broken] [original link is broken];.
Nelis