02-26-2009 9:09 AM
Hi experts,
i have created an interface and try to implement it in class.
But i am getting the following error, while trying to activate.
Class ZMYCLASSINTERFACE,Method ZMYINTERFACE~GETDETAIL
Field "FLIGHT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement *.
Solution please.
Regards,
Nani
Edited by: Julius Bussche on Feb 26, 2009 11:07 AM
Please use meaningfull subject titles and the correct forum
02-26-2009 9:16 AM
Hi Nani,
Declare your table like this.
Tables:
Sflight.
Use SPFLI or SCARR depending upon your req. and make sure that the field name is assigned properly.
Much Regards,
Amuktha.
02-26-2009 9:11 AM
02-26-2009 9:16 AM
Hi Nani,
Declare your table like this.
Tables:
Sflight.
Use SPFLI or SCARR depending upon your req. and make sure that the field name is assigned properly.
Much Regards,
Amuktha.
02-26-2009 9:17 AM
hi...
use the link for your reference
http://help.sap.com/saphelp_46c/helpdata/en/08/d27c03b81011d194f60000e8353423/frameset.htm
regards
02-26-2009 9:17 AM
02-27-2009 3:42 AM
hi bharathi,
where i need to declare tables statement.
Regards,
Nani
02-26-2009 9:43 AM
i have declared flight and given associated type as Aflight in attributes column in Interface.
Still i am getting this error.
02-26-2009 9:49 AM
Hi
In ur code in First Line u declare as below
Tables: SFLIGHT.
and Declare Flight field in ur Class Also
Edited by: Smitha KB on Feb 26, 2009 10:50 AM
Edited by: Smitha KB on Feb 26, 2009 10:52 AM
Edited by: Smitha KB on Feb 26, 2009 10:53 AM
02-26-2009 9:51 AM
Hi,
Have you defined it in Importing or Exporting Paramenters of your method?
Thanks,
Prashanth
02-27-2009 3:44 AM
Hi Prashanth,
I have declared two methods in Interface with importing Parameters, which i am Redefining using the class.
Solution please.
Regards,
Nani
02-26-2009 9:52 AM
04-26-2011 10:53 AM