2008 Mar 13 12:26 PM
Hi,
I am running the following code in abap editor
DATA: LEN TYPE I VALUE 10,
POS TYPE I VALUE 11,
TEXT(10) VALUE 1234567890
WRITE AT POS (LEN) TEXT .
Following error i am getting when i compile
Field "1234567890" is unknown. It is neithere in on of the specified tables nor defined by a DATA statement.
Could you please let me know the solution.
Thanks,
RamuV
2008 Mar 13 12:27 PM
hi,
You missed '.' at the end of 1234567890. Place this to avoid the error.
DATA: LEN TYPE I VALUE 10,
POS TYPE I VALUE 11,
TEXT(10) VALUE 1234567890.
WRITE AT POS (LEN) TEXT .
2008 Mar 13 12:33 PM
Hi
declaration is not having full point and '.' is missing
DATA: LEN TYPE I VALUE 10,
POS TYPE I VALUE 11,
TEXT(10) VALUE 1234567890.
WRITE AT POS (LEN) TEXT .
Check this
regards
shiva
2008 Mar 13 2:00 PM
There appear to be some garbage characters in this line and your WRITE is incorrect. Cut and paste this:
DATA: len TYPE i VALUE 10,
pos TYPE i VALUE 11,
text(10) VALUE '1234567890'.
WRITE AT pos(len) text .Rob