ABAP Development
ABAP Code Sample to Report for IDOCs in Error
This report helps to extract the error idocs for a current week and also for past 5 weeks.