Application Development and Automation 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: 
Read only

oops - field "FLIGHT" is unknown

Former Member
0 Kudos
782

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
Read only

Former Member
0 Kudos
436

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
Read only

Former Member
0 Kudos
436

define table SFLIGHT

Read only

Former Member
0 Kudos
437

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.

Read only

Former Member
0 Kudos
436
Read only

Former Member
0 Kudos
436

Declare

TABLES SFLIGHT.

Read only

0 Kudos
436

hi bharathi,

where i need to declare tables statement.

Regards,

Nani

Read only

Former Member
0 Kudos
436

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

Still i am getting this error.

Read only

0 Kudos
436

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

Read only

0 Kudos
436

Hi,

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

Thanks,

Prashanth

Read only

0 Kudos
436

Hi Prashanth,

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

Solution please.

Regards,

Nani

Read only

Former Member
0 Kudos
436

Define the table SFLIGHT.

Regards,

Joan

Read only

Former Member
0 Kudos
436

This message was moderated.