There are requirements where you need to remove unnecessary segments from IDOCs. Mostly master data. Perfect example would be ARTMAS where a lot of segments are generated by SAP whereas you need only few. SAP provides a standard solution to remove unnecessary segments.
Please feel free to post your suggestions, feedback and comments!
Author: Harsha Thelikorala
Remove Unnecessary Segments From an IDOC (Filter IDOC Segments) by Harsha Thelikorala on Scribd