Skip to Content
0
Former Member
Nov 26, 2009 at 10:26 AM

Select Query Error

52 Views

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