Message SAP 00399 - Batch input: Unknown return code

Diagnosis
Internal error of batch input monitoring
Adapt PERFORM SEND_MSG

Procedure
Note the error situation and contact your system administrator.