‎2008 Oct 23 5:26 PM
Hi,
I am getting the above error message at the below move statement.
FIELD-SYMBOLS <output_field> .
ASSIGN (var1) TO <output_field>.
MOVE lt_datatable-text TO <output_field>.
Kindly guide.
Neslin.
‎2008 Oct 23 6:06 PM
Hello,
Where have you declared the var1?
If it's a importing parameter of a method or function, you can't change it, only read.
Regards.
‎2008 Oct 23 6:10 PM
Defenition of var :DATA: var1 LIKE dd03p-fieldname.
Var1 contains the concatenated of tablename and fieldname, so it will look like this:
KNA1-kunnr into var1
Code used: CONCATENATE l_outputtable '-' lt_tablefields-fieldname INTO var1.
Edited by: neslin on Oct 23, 2008 7:10 PM
‎2008 Oct 23 6:08 PM
if the var contains any protected information then it will give error.
what is the defintion of the var and what it contains..?
‎2008 Oct 23 6:11 PM
Defenition of var :DATA: var1 LIKE dd03p-fieldname.
Var1 contains the concatenated of tablename and fieldname, so it will look like this:
KNA1-kunnr into var1
Code used: CONCATENATE l_outputtable '-' lt_tablefields-fieldname INTO var1.