2008 May 02 4:37 PM
Hi,
for the following code i am getting the synatx error:
DESCRIBE TABLE lt_marc LINES sy-tfill.
WRITE: /0 number of entries in marc: , 60 sy-tfill.
-
Field "NUMBER" is unknown. It is neither in one of the specified.
tables nor defined by a "DATA" statement.
-
i tried various options but error remains the same.
any ideas?
Raj
hi,
it seems that you have copied this code from some flat file or some where else.
so remone comman from statement number of entries in marc: and put back from keybord.
and instead of using 0 (zero) in write:/0 use some number .
reward if useful
2008 May 02 4:44 PM
hi,
it seems that you have copied this code from some flat file or some where else.
so remone comman from statement number of entries in marc: and put back from keybord.
and instead of using 0 (zero) in write:/0 use some number .
reward if useful
2008 May 02 4:45 PM
Hi,
Try this code..
Data: Var like sy-tfill.
DESCRIBE TABLE lt_marc LINES var.
WRITE: /1 number of entries in marc: , 60 var.
Hope it helps..
Regards,
Chithra
Edited by: Chithra Saravanan on May 2, 2008 9:28 PM
2008 May 02 4:49 PM
Hi,
2 problems with your code...
1) The single quote marks ' in your code is not the correct quote mark... try re-entering them...
2) /0 is not a valid column position... use /1
WRITE: /1 'number of entries in marc:', 60 sy-tfill.
Dave...
2008 May 03 11:52 AM
Hi Raj,
Check this statement.
DESCRIBE TABLE lt_marc LINES sy-tfill.
U are trying to fill system variable in describe table. This is not required.
When u execute describe table it will automatically fills the system variables. Second thing is WRITE:/0 even though it is syntactically correct generally we will start at position1.
So Do like below.
DESCRIBE TABLE lt_marc.
WRITE: /1 number of entries in marc: , 60 sy-tfill.
It will solve ur problem.
Thanks,
Vinod.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |