Hi Tulika,
Accounting code are similar to company code. For example you are using company code 1000 you can create accounting code 1000 and assign the same to your company code and valuation area 001.
Based on the valuation area we do security valuation in the month end.
Thanks,
Naga