What's your costing method? And your question is still a little vague. Could you make your question more clear by providing a fake BOM to simulate your situation?
And if you just worry about the Final Product A's cost is wrong, then just use inventory revaluation to modify it. The accounting effect is general in correct.
Frank