2021 Apr 20 2:26 AM
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 ?
2021 Apr 20 8:52 AM
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