Input/output field and text field are not in the same loop

Message type: E = Error

Message class: 37 - Screen Painter

Message number: 127

Message text: Input/output field and text field are not in the same loop



What causes this issue?

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


How to fix this error?

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

Error message extract from SAP system. Copyright SAP SE.