As part of our Middlware Migration from Websphere to Datastage , I am being told by my Datastage team that in SAP ECC, I would have to define an Unique IDoc type for every Interface. This is to facilitate for the Datastage to extract just the IDocs relevant for a given Interface/Partner at a given time instead of scanning through all the IDoc types and then filtering on Message type and any other attributes necessary to map and push the Idoc/file to a partner . ( Apparently there is a file folder based on IDoc type in Datastage, for example all ORDERS05 Idocs go into one folder, ZORDERS5 go into another folder) .
My question is that does PI have any functionality where it stores IDoc data based on not just IDoc type but any more freely definable IDoc control attributes like for example Message Type? So that there could be separate files/folders for every IDoc type/Message Type combination?