Hi,
You can list all the messages for IDocs from table EDIDS. The columns STATXT, STAPA1, STAPA2, STAPA3, STAPA4 contain the details of the messages generated for a given IDoc. The field STATYP contains the type of the error message generated by the system. The errors type details are
You can filter based on the message type to get the desired messages for the list of IDocs you need.
kind regards
Raghu