Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

oops - field "FLIGHT" is unknown

Former Member
0 Kudos
473

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos
127

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.

11 REPLIES 11

Former Member
0 Kudos
127

define table SFLIGHT

Former Member
0 Kudos
128

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.

Former Member
0 Kudos
127

Former Member
0 Kudos
127

Declare

TABLES SFLIGHT.

0 Kudos
127

hi bharathi,

where i need to declare tables statement.

Regards,

Nani

Former Member
0 Kudos
127

i have declared flight and given associated type as Aflight in attributes column in Interface.

Still i am getting this error.

0 Kudos
127

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

0 Kudos
127

Hi,

Have you defined it in Importing or Exporting Paramenters of your method?

Thanks,

Prashanth

0 Kudos
127

Hi Prashanth,

I have declared two methods in Interface with importing Parameters, which i am Redefining using the class.

Solution please.

Regards,

Nani

Former Member
0 Kudos
127

Define the table SFLIGHT.

Regards,

Joan

Former Member
0 Kudos
127

This message was moderated.