The filters are different for the different types of A340s, but I'm just wondering what does that have to do with installing a tranny cooler. Are you servicing the tranny too? I believe the filters changed when the multimode system came out.
Open the drivers door and look at the label on the B-post. The model number is printed on it.
I'm guessing you have an A340F.