Activating Cost of Sales Accounting 
Purpose
You can activate cost of sales accounting in your system.
Process flow
To do this, you need to make various settings. You make these settings in Customizing, under Financial Accounting ® Financial Accounting Global Settings ® Company Code ® Cost of Sales Accounting.
Define Functional Area.
The functional area field in the master data of the objects is ready for input.

The functional area is not yet derived for postings.
For more information, see
Functional Area in Master Data.
Setting up Substitution for Cost of Sales Accounting.

You should only define a substitution if you have additional requirements for the derivation of the functional area. Check beforehand whether if would suffice to enter the functional area in the master data of the objects.
Set up Ledger for Cost of Sales Accounting.
Result
You have activated cost of sales accounting. The system derives the functional area of the postings. For more information, see
Derivation of the Functional Area.It is possible to create a profit and loss statement with cost of sales accounting. To do this, see
Creating Profit and Loss Statement with Cost of Sales Accounting.