Skip to Content

Get mail address from Mail Recipient Object

Hi All

I have an object defined as

MAIL_RECIPIENT type SWOTOBJID.

This is populated in a class that I am re-coding.

I need to get the values of this object i.e. I need to get the email address from this object so I can use it wit hte 'SO_NEW_DOCUMENT_ATT_SEND_API1' function module.

Does anyone know how to get the address from the bor object MAIL_RECIPIENT.

Thanks

Darren

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 09, 2007 at 01:50 PM

    Hi

    I solved it

    In case anyone is interested

    CALL FUNCTION 'SWO_PROPERTY_GET'

    EXPORTING

    object = MAIL_RECIPIENT

    attribute = 'AddressString'

    CHANGING

    value = lv_email

    EXCEPTIONS

    error_create = 1

    error_invoke = 2

    error_container = 3

    OTHERS = 4.

    This will give you the email address of your object

    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.