07-21-2009 10:37 AM
Hello,
I have a very unpleasent problem for which I don't have any solution or ideea to solve it. It seems to be a simple problem but I can't figure out what I am doing wrong.
I have:
DATA: l_node_text TYPE lvc_value.
l_node_text = u2018Toolsu2019.
and I get this error:
"Field "Tools" is unknown. It is neither in one of the specified tables nor defined by DATA statement. ".
Any suggestions are welcome.
Thanks in advance,
Alexandra
07-21-2009 10:40 AM
Hi,
Copy paste the following in your code,
DATA: l_node_text TYPE lvc_value.
l_node_text = 'Tools'.
There is some problem with your codes ( ' ' ).
Regards,
Vimal.
07-21-2009 10:40 AM
It means The type lvc_value is in table type. You should use a field type reference.
Edited by: Gungor Ozcelebi on Jul 21, 2009 11:40 AM
07-21-2009 10:40 AM
Hi,
Please check this.
<li> copy this one and paste in your code .it works.
<li>some problem with quotes
DATA: l_node_text TYPE lvc_value.
l_node_text = 'Tools'.
Thanks
Venkat.O
07-21-2009 10:40 AM
Hi,
Copy paste the following in your code,
DATA: l_node_text TYPE lvc_value.
l_node_text = 'Tools'.
There is some problem with your codes ( ' ' ).
Regards,
Vimal.
07-21-2009 10:46 AM
Vimal V and Venkat.O you both were right. That characters were the problem and now everything works.
Thank you both!
07-21-2009 10:43 AM
hI,
Your coding is wrong,
DATA: Value TYPE lvc_value.
Value = 'TOOLS'.
you have to use field labels check lvc_value in data elements.
Rgrds,
Nikhil.
07-21-2009 10:44 AM
Hi,
your check with code ,
DATA: l_node_text TYPE lvc_value.
l_node_text = 'Tools'.
working fine,
Regards,
Ansari.
07-21-2009 10:45 AM
Hi,
DATA: Value TYPE lvc_value.
Value = 'TOOLS'
.
You have to use a field label for defining it.
chk lvc_value data element in field label.
Regrds,
Nikhil.
07-21-2009 10:46 AM
Hii Disco Luiza,
check this ,it is syntactically correct.
REPORT ZBASIC.
DATA: l_node_text type lvc_value.
l_node_text = 'Tools'.
write l_node_text.
do let me know in case of querie
Regards,
Apoorv Sharma