03-27-2007 2:33 PM
Hi All,
How to get the content of the GOS attachment in R/3.Please give me the reply as early as possible.
Thanks
03-27-2007 2:38 PM
Check for class CL_GOS* there you can find lot of classes for your needs.
aRs
03-28-2007 5:16 PM
Hi,
I didn't find any method for getting the content of the GOS attachment in binary format.
Please give me the method name or function module name.
In which tables Gos attachments details are stored.
Thanks.
04-22-2007 11:41 AM
03-28-2007 5:46 PM
Saritha,
Please check the following method to get binary data from GOS
is_object-instid = v_bo_id.
is_object-typeid = v_botype.
is_object-catid = 'BO'.
try.
call method cl_binary_relation=>read_links_of_binrel
exporting
is_object = is_object
ip_relation = 'NOTE' " << select you type may be MESSAGE
importing
et_links = et_links.
then use
call function 'SREL_GET_NEXT_RELATIONS'
exporting
object = lo_is_object_a
ROLETYPE =
relationtype = p_reltyp
MAX_HOPS = 1
INCL_APPLRELS = ' '
EXCL_ROLES =
EXCL_RELATIONS =
tables
links = lt_links
ROLES =
APPLLINKS =
exceptions
internal_error = 1
no_logsys = 2
others = 3
aRs
03-28-2007 7:43 PM
Thabks u for response.
I didn't get the binary content of the GOS attachment by using that methods and function modules.
03-28-2007 7:44 PM
Thank u for ur response.
I didn't get the binary content of the GOS attachment by using that methods and function modules.
04-20-2007 5:53 PM
Hi,
Check this link
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/abap-SendingGOSattachmentstoanemailaddress&
Thanks,
Naren