‎2007 Oct 03 3:20 PM
Hi,
I am attempting to have an email sent from SAP to MS Outlook. I have successfully done that. The issue is the customers want the MS Outlook Importance field (exlamation icon (HIGH) and down arrow (Low) to change based on the data being sent in the email.
I have successfully done this with the SO_NEW_DOCUMENT_SEND_API1 function; however, this function does not seem to allow for attachments. In this function I changed the PRIORITY field from 1 or 8 to allow the importance field in MS Outlook to change from low to high.
When I try this with the SO_DOCUMENT_SEND_API1 function it does not work! Any ideas on how I can get this feature to work. The user requirement really needs would like to have this feature.
Thanks in advance for any support you can provide.
Tom
‎2007 Oct 03 3:25 PM
HI,
Goto Se37 and enter this Functionmodule and Press display, then Press the Function module documentation, then in the Documentationsearch for 'Priority', then you will get the answer
Regards
Sudheer
‎2007 Oct 04 5:34 AM
Hi Tom,
Pls go thru the FM SO__NEW_DOCUMENT_SEND_API1 code.
U can use that under OBJ_PRIO.
If this flag is activated ('X'), documents can only be changed.
Regards Srimanta
‎2007 Oct 04 1:37 PM
Hi Tom,
For the Function Module SO_DOCUMENT_SEND_API1
Kindly fill
DOCUMENT_DATA LIKE SODOCCHGI1 .
Attributes of new document
field PRIORITY like SO_REC_PRI with value 1 . value 1 is for highest Priority.
FUNCTION SO_DOCUMENT_SEND_API1.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(DOCUMENT_DATA) LIKE SODOCCHGI1 STRUCTURE SODOCCHGI1
With regards,
Sureshkumar.AL
‎2007 Oct 04 1:54 PM
Hi Tom,
declare a variable
PRIORITY like SO_REC_PRI .
fill the document data.
ls_document_data-priority = 1.
‎2007 Nov 12 3:12 AM
hi TOm
can u give me the code for teh sending email notification to ms outlook addresses by sap
thanks in advance please provide me he code how to use this function module to do so?
u can mail me at nishantvaudev9@yahoo.com
Arora