Hi Prateek,
You can use BAPI: BAPI_PRODORD_CREATE.
You can check the planned order in table plaf or using the function used in MD04: MD_STOCK_REQUIREMENTS_LIST_AP. Once the order is created, you will need to delete the planned order, or wair for the MRP to delete the planned order once the production order is created.
Kind Regards,
Mariano