Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IDOC errors Notify thru Workflow

Former Member
0 Likes
546

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

2 REPLIES 2
Read only

Former Member
0 Likes
403

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

Read only

Former Member
0 Likes
403

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