2010 Aug 06 11:51 AM
Hi,,
i want to send an email to the sap user inbox of a user, for example
i want to send the tcurr table value for a date to the financial office employee.
And i want to know whether i can send this email to the sap user - sap inbox of
specified user via SO_NEW_DOCUMENT_ATT_SEND_API1?.
Thanks <removed by moderator>.
Edited by: Thomas Zloch on Aug 6, 2010 1:21 PM
2010 Aug 06 11:56 AM
In the RECEIVERS table (structure SOMLRECI1) pass 'B' (SAP user) to the field REC_TYPE.
2010 Aug 06 11:56 AM
In the RECEIVERS table (structure SOMLRECI1) pass 'B' (SAP user) to the field REC_TYPE.
2010 Aug 06 11:57 AM
Hi,
Yes you can send.
DATA: docdata TYPE sodocchgi1,
objpack TYPE TABLE OF sopcklsti1,
objpack_line LIKE LINE OF objpack,
objhead TYPE TABLE OF solisti1,
objbin TYPE TABLE OF solisti1,
reclist TYPE TABLE OF somlreci1
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
receivers = reclist.
Bhavana