Message SAP 00352 - "LEAVE TO TRANSACTION" & is not allowed in batch input

Diagnosis
The specified system functionality cannot be used in batch input mode.

Procedure
Change your application so that it can be used in batch input mode.

639630Termination upon confirmation in batch input
523427Legacy data transfer termination (RAALTD01) w/ error 00352
550176FAQ note legacy data transfer asset master records