Updating sales line field value into (ReqPO Table)Master planning

Hi all,

I have to update the salesline field value in reqpo table.

Salesline-> Inquiries → Explotion → Explotion form will get open. while am clicking update btn system should update the sales line field value in to reqpo table.where should i write the code.plz suggest me.