Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Strange problem in ABAP

Hello All,

We are facing a strange problem in simple abap program.

Following is the program .

PROGRAM DEMO_ELEMENTARY_DATA_OBJECTS.

DATA NCK1(40) type c .

NCK1 = ‘THE’.

WRITE NCK1.

When we try to check the program system throws error message stating

"Program ZNTEST Field "‘THE’" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement."

Please let us know the cause of the problem.

Thank you.

Regards

Nimesh

Tags:
Former Member
Former Member replied

Hi Nimesh,

Please copy your code into a notpad file and check it. The single quote used in 'the' will look diffrent. Change it in the note pad and copy the code into your ABAP editor. This will sovle your problem. We are also facing the same problem from few days.

Thanks and Regards,

Bharat Kumar Reddy.V

Message was edited by: Bharat Kumar Reddy Vaka

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question