SAP Message 0S037 - End record missing for last SQL trace record in list

Diagnosis
For each statement, two logical records are written to the trace file.Whilst assessing the trace file, the system determines that the "endrecord" is missing for the last trace record.

System Response
The system tries to format and output as much of the last trace recordas possible.

Procedure
This type of situation can arise if the last trace block is not writtento the trace file. Switch the trace off and then repeat the traceassessment.
If the trace has already been switched off, repeat the assessment.