Hi Hakim,
I am totally agree with the solution you have given, but i have a doubt that can it works for Money Market transactions. Because the flow type mentioned by Jai MM1200 & MM1120 these are related to Money Market transactions and while running TPM35, we have to mention future accounts & ID numbers those are related to Derivatives & Securities.
Your solution will work fine in case of Derivatives & Securites but i think it will be doubtful in case of money market .
Regards
Narinder Pal Verma