Hi,
What issue you are facing now?
Use BAPI_CONTRACT_GETDETAIL and store contract detail in an internal table . Loop into internal table, read records and then create PR by reading all data in internal table with BAPI_REQUEST_CREATE in background.
Discuss with intelligent ABAPer and get it done with above concept.
Regards,
Biju K