‎2006 Sep 19 6:03 AM
Hello Experts,
I want to report an error notification; if an Idoc fails. What are the steps for this Configuration?
Also if I want to sent some notification on success/fail status of Idoc, how do I configure workflow for the same. What are the steps involved here? Please provide your expert guidence.
Rewards for sure
Thank you.
Regards,
Vishal
Message was edited by: Vishal Tyagi
‎2006 Sep 20 5:28 AM
Hi Vishal,
You can use Bussiness Object (IDOC* and F4) and the event available to trigger the work flow from which you can then send a mail to the concerned person.
If you need to do this through any program then get all the error IDOC from EDIDS table and can send a mail through 'SO_NEW_DOCUMENT_SEND_API1'. Then you can schedule this program periodically which will be sending a mail.
But both differs, if you need to notify whenever the an IDOC is created then you have to go for WOrkflow or if it enough if you report on DAily or hourly basis then you can use the second option.
Hope this might have helped you.
Thanks,
Prashanth
‎2006 Sep 20 5:57 AM
i dont have idea on workflow configurations but what i can say is u can code in such a way that an SAP or in fact any form of mail goes to person responsible if an error occurs.
as already said SO_NEW_DOCUMENT_SEND_API1 or
if an attachement is there, SO_NEW_DOCUMENT_ATT_SEND_API1
can be used