Anil,
By linking the output type and the driver program to the corresponding Application in NACE may be this can be achieved.Driver program will hold the logic to write the data to Application Server or File transfer.In case of FI,FORMS FOR CORRESPONDENCE in SPRO needs to be checked to link the driver program to the correspondence type.
Never tried,but I think this should be the way.
K.Kiran.