HI Sarvendra
While processing payment to customer through F-28, you are basically making payment to posted invoices.
The account assignment therefore picked from those line items which are being cleared through payment. This is the standrad behaviour of document splitting.
System will automatically inherit the profit center as per the invoice doeument.
Hope this would help you.
Regards
Pankaj