Hi Somya,
I haven't used. But I have seen SAP using both BAPI_TRANSACTION_ROLLBACK and BAPI_TRANSACTION_COMMIT in case of BP also. And a couple of custom programs which have used this is working I saw. You can check the FM CRM_WAP_BP_CREATE.
Please correct if I am wrong.
Thanks,
Faisal