‎2007 Jul 04 7:20 AM
Hi all;
I am facing a dificult problem, and I am breathing hard.........Plz help.
I am using an user-exit QQMA0014 for notification, in the enhancement, I was adding an email sent function module which is SO_NEW_DOCUMENT_ATT_SEND_API1. When a new notification is created, I need to send an email to an SAP user.The problem is that when the function module retruns a success, another system error would be raised( type E id IM num 258). If I commented the function module, the enhancement would run smoothly. So is there is any other function module used for sending internal email? Or the problem can be sovled by other ways. If you have any suggestion, please give me your hand. That would be great help................If you want further information for the business, you can contact me through MSN : highking.zhang@hotmail.com or reply here. I am waiting for your help any time. Thanks very very much.
‎2007 Jul 04 7:25 AM
Hi Highking ,
In the parameter which are being passed to the FM have you set the recipient type as SAP User.
Regards,
Arun
‎2007 Jul 04 7:38 AM
Hi,
refer the below link that SO_NEW_DOCUMENT_ATT_SEND_API1 how to use..
https://forums.sdn.sap.com/click.jspa?searchID=3632343&messageID=1741427
here is another fm for sending email atatchement is SO_NEW_DOCUMENT_SEND_API1
I think u can use the EXIT_SAPLIQS0_008
INCLUDE ZXQQMU27 .
Availble exits for notfication
Exit Name Description
IWO10026 User check on setting status 'Do not perform'
IWO10027 User exit: Generate user-defined settlement rule
IWOC0001 Create PM/SM notification: Determine reference object
IWOC0002 PM/SM notification: Check whether status change is allowed
IWOC0003 PM/SM authorization check of ref. object and planner group
IWOC0004 Change single-level list editing PM/QM/SM ALV settings
No of Exits: 6
<b>Reward points</b>
Regards
‎2007 Jul 04 8:32 AM
Hi
There may be Some STD WORKFLOW scenarios for this Notification in SAp
Check them in SWDD tcode
I feel that using Workflow it is easy to send a mail
Reward points for useful Answers
Regards
Anji
‎2007 Jul 04 9:39 AM
Hi,
Try use this function module:
SO_OBJECT_SEND
Tell me if it works and pls reward points if u get any help.
Regards,
Ameet