Hi Babu,
If you are using ECC 6.0, then you can use the t.code. FAGLGVTR for carry forward GL balances and for vendor & customer balances you can use F.07. The t.code. F.16 is used for carry forward GL balances which is below ECC version.
Regards,
Mukthar