Message SAP 00329 - &, create session .&. not allowed, as last session is still active

Diagnosis
Error creating a batch input session.

Procedure
Please eliminate the cause of the error.