SAP Message 00535 - "LEAVE TO TRANSACTION" is not allowed in a background job

00535 : "LEAVE TO TRANSACTION" is not allowed in a background job