Hello
You can achieve this by ABAP Coding please discuss with abap guy and make sure there should be some trigerring event such pressing the enter button of keyboard at that event cost get calculated and temporarily saved in structure.But it will only saved in PMCO table after saving event.
BR
Rakesh