how to send back the stauts of inbound idoc to outbound system
Idocs are scheduled to send from outbound to inboud.In inbound I have many idocs with status 51.(application document not posted).I need to report back the details of all the idocs with status 51.(application document not posted) .ie I need to send the idoc no, error message,error data from inbound to outbound on daily basis. Can any one let me know how to achieve this.i.e How to trap the details of idoc with status 51 in inbound & send this details back to inbound.
Can it be done by audit reporting of idocs? Or do I need to write a program?If so pls guide me.
Thanks in advance.