SAP Message 37127 - Input/output field and text field are not in the same loop

Diagnosis
You cannot use a text field (key word) as a header outside the loop anda template of the same name as an input/output field inside the loop.

Procedure
Since the element names must be different, it is advisable to use fieldnames preceded by a * for the text fields. You can also copy * fieldsdirectly to the screen using the Dict-/Program fields function if youenter the table name preceded by a * .