11-30-2007 3:00 PM
Hi gurus,
Has anyone directed inbound email to a public folder or know how that can be achieved?
Any ideas or help is appreciated.
Thanks in advance
kumar
07-07-2008 10:43 AM
Hello,
to answer my own questions:
Question 1: Yes it is possible. Take the document Id and insert a dataset into the table SOFM with the id of the public folder.
Question 2:
DATA: lcl_doc type ref to cl_document_bcs,
ls_object_id type soodk.
lcl_doc ?= document.
ls_object_id-objtp = lcl_doc->get_doctp( ).
ls_object_id-objyr = lcl_doc->get_docyr( ).
ls_object_id-objno = lcl_doc->get_docno( ).
concatenate ls_object_id-objtp ls_object_id-objyr ls_object_id-objno into lv_docid.
Regards
Friederike Braun
02-26-2008 2:44 PM
Hello SDN-readers,
I too have the same question. I thought of using the inbound email processing described in
[Receiving E-Mail and processing it with ABAP - Version 610 and Higher|/people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher] and wanted to directly move the email in the method IF_INBOUND_EXIT_BCS~PROCESS_INBOUND.
Question 1: Is this possible?
Question 2: How do I get the document id of the incoming email?
Regards
Friederike Braun
07-07-2008 10:43 AM
Hello,
to answer my own questions:
Question 1: Yes it is possible. Take the document Id and insert a dataset into the table SOFM with the id of the public folder.
Question 2:
DATA: lcl_doc type ref to cl_document_bcs,
ls_object_id type soodk.
lcl_doc ?= document.
ls_object_id-objtp = lcl_doc->get_doctp( ).
ls_object_id-objyr = lcl_doc->get_docyr( ).
ls_object_id-objno = lcl_doc->get_docno( ).
concatenate ls_object_id-objtp ls_object_id-objyr ls_object_id-objno into lv_docid.
Regards
Friederike Braun