Hi Chirag,
When the Cost of sales accounting is activated for a company code, the costs can be classified as per functional areas ( defined as per business needs). These functional areas can be entered in the cost center master data, which are again assigned to profit center. Hence indirectly while posting with P/L accounts with cost center, functional areas are assigned.
Cheers,