BAPI_CONTRACT_CREATE VA41 sample code
*This is a SAP ABAP TECHNICAL demo FOR TEST,Be careful to use in your system,just FYI. BAPI to Create a Purchase Contract *If you have any solution,Please feel free to talk with your IT team/SAP ABAP professional guys.BAPI to Create a Purchase Contract *You can use this function module to create purchase contracts. *<DS:TX.MMPUR_BAPI_MEOUT_TEST_SINGLE>Sample Code