Jain and Jyoti are right.
IMG -> Financial Supply Chain Management -> Treasury and Risk Management -> Transaction Manager -> General Settings -> Accounting -> Link to Other Accounting Components -> Additional Account Assignments -> Define Derivation of Additional Account Assignments
If you know logic of profit center assignment to your transaction - so you can create derivation rules.