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
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