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: 

Save IDOC monitoring error records on share-point folder

0 Kudos
331

Hello Experts ,

I hope all are doing good .

Need your help on below scenario :
We are using Z report to monitor idoc and send error records via mail . New requirement is save the all idoc error records on share-point directly in existing folder (without sending mail).
Is there any FM / BADI / BAPI exist ? or Any logic can be implemented ?

1 REPLY 1

DominikTylczyn
SAP Champion
SAP Champion
266

Hello shardulvilasjoshi

Why would you use a custom Z-report to monitor IDocs, when SAP standard IDoc functionality contains workflow supported error handling. If there is an error in an IDoc processing, SAP can trigger a workflow work item and direct it to a person/people responsible. See SAP Help: Error Handling Then you can forward workflow work items as email or sms notifications - see SAP Help: Extended Notifications for SAP Business Workflow

Also what's the point of saving IDoc statuses to a SharePoint folder, when they are at your finger tips in the system?

If you really have to stick to your custom solution, IDoc statuses are in the EDIDS table and the current status can be read from the EDIDC table. All it takes is to read them an put into a file on a shared folder.

Best regards

Dominik Tylczynski