2010 Jun 18 10:24 PM
Hi,
We are developing a report, where we have written the following piece of code:
LOOP AT lt_kondd2.
DO.
If lv_first = "X". "1
READ TABLE lt_kotd2 WITH KEY knumh = lt_kondd2-knumh.
Else. "1
READ TABLE lt_kotd2 WITH KEY knumh = lv_smatn.
Endif.
Some Statements.
Enddo.
Some statements
Endloop.
During syntax check the above code is giving the following error:
Field "READ" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement.
Please help point out what could be wrong.
Thanks,
Peter
2010 Jun 18 11:02 PM
>
>
If lv_first = "X". "1
You are using double quotes (") rather than single quotes (').
Next time, do more desk checking before posting here.
Rob
Thanks Rob and Amit.
Rob your suggestion was correct and it solved the problem. Need to check more thoroughly next time.
Regards,
Peter
2010 Jun 18 11:02 PM
>
>
If lv_first = "X". "1
You are using double quotes (") rather than single quotes (').
Next time, do more desk checking before posting here.
Rob
2010 Jun 21 5:35 PM
Thanks Rob and Amit.
Rob your suggestion was correct and it solved the problem. Need to check more thoroughly next time.
Regards,
Peter
2010 Jun 19 7:01 PM
Dont worry ...... Things like these keep happening
Anyways dont 4get the " " nxt time
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |