Skip to Content
0
Former Member
Mar 13, 2007 at 01:44 AM

Error: Field "ENDMETHOD" is unknown

55 Views

Hello All,

I am getting the following error:

Class ZPOSITION_INFORMATION,Method EXTRACT_DATA

Field "ENDMETHOD" is unknown. It is neither in one of the specified

tables nor defined by a "DATA" statement. "DATA" statement.

Here is the code in the method EXTRACT_DATA

method EXTRACT_DATA .

data: emp_type type char50,

end_d type sy-datum,

loc type char04,

pers_sub type char04,

position_title type char40,

start_d type sy-datum .

select single empneededby from hrp9007 into start_date

where OBJID = POS_NUM .

write start_date .

write "hello world" .

endmethod.

Kind regards.

Srinivas