Okay fine Abhishek ,
Correctly speaking quantities of components of Production Order should not be changed , after all it is picked from the Master Data i.e BOM details ( I think for that reason only BAPI is only allowing to change HEADER details only ). So you make the necessary changes in BOMs.