Should have searched, coulda saved allot of money p400 is usually EGR blockage.
You say you replaced all of the egr components?? So you've replaced the egr tube then right?? Also the sensor too, if you have replaced those two and the code is still there, then try clearing the code (easy to do, search will help you).