Skip to Content
author's profile photo Former Member
Former Member

Inbound email in to sap

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2008 at 09: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2008 at 02: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.