Hi,
From next time,please search in forum & read @rules of engagement, for available code or info.
For this u can use BAPI_REQUISITION_CREATE & it's documentation in se37.
U can see standard program MMWE0F01 for help.
For more info.search also.
Hope it helps.
Thanks
Gourav.