‎2009 Nov 26 10:26 AM
Hi Experts,
In the following code I am getting some error like,
"the list (w_tabnachn,w_tabvorna) after "INTO" is not of the form (f1,...,fn) or contains an undefined field.
the form (f1,...,fn), or contains an undefined field. "
SELECT nachn vorna FROM PA0002 into (w_tabnachn, w_tabvorna)
WHERE PERNR = w_pldoc_key-pernr.
ENDSELECT.
I could able to execute this code within the local class, but not doing so in global class, any clue pls
Regards,
Haritha
‎2009 Nov 26 10:34 AM
Hi,
Check the declarations of the fields w_tabnachn & w_tabvorna. Declare these variables globally then it will work.
Thanks,
Rakesh
‎2009 Nov 26 10:34 AM
Hi,
Check the declarations of the fields w_tabnachn & w_tabvorna. Declare these variables globally then it will work.
Thanks,
Rakesh
‎2009 Nov 26 10:37 AM
‎2009 Nov 26 10:39 AM
where have you declared these two variables?
must be in the local class...
see if its present in global class or not..