Hi Omar,
If the cost is posted wrongly, first you need to reverse the cost posted to a wrong WBS element. Then you can post into correct WBS element.
Also you can try using KB11N, to transfer the cost from one WBS element to another. This will post a credit entry to wrong WBS element and net cost will be zero.
Regards
Terence