cancel
Showing results for 
Search instead for 
Did you mean: 

Reference field KTAB-NETWR unknown in form.

Former Member
0 Kudos

Hi,

In my smart form below the coding,

Form Interface ,

Table

KTAB LIKE EKPO.

then in main window

I assigned the internal table ktab INTO ktab

In line type in for Heading

are,

Item,Material No,Discript, Unit,Qty,Netprice

In line Type 2

I declared

&KTAB-EBELP&

&KTAB-EMATN&

&KTAB-TXZ01&

&KTAB-MEINS&

&KTAB-MENGE&

&KTAB-NETWR&

here My problem is,

while Execute the form except net value everything is flowing,

bt for that I create One tcode,

IF i excute the tcode it is showing error,

Reference field KTAB-NETWR unknown in form.

bt i declared the currency field in reference field.

FIELD NAME REFERENCE FIELD DATA TYPE

NETWR WAERS CURR

After that also the same error is come.

How to Resole the Problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

You have declared refernce field so error should not come.

You can try one more thing.

Move KTAB-NETWR to text field then print it.

hope this will help.

Thanks

Dhiraj.

Answers (3)

Answers (3)

Former Member
0 Kudos

hi vino

Go to Global Definitions->GLobal Data

Declare wa_ktab type ktab.

then go to Curr/Qty Fields

and define currency field as

Field Name-wa_ktab-netwr

Reference Field-wa_ktab-waers.

Data type-Currency.

let me know if u r still getting an error

thanks

ksardar

Former Member
0 Kudos

hi

ksardar,

That ans also showing wa_ktab-waers unknown while activat the form.

Before Posting I tried your all answers.

bt i dint get the solutions.

Former Member
0 Kudos

Hi Vino,

You are making a minor mistake. In the reference field, you need to pass the table name along with field name.

Try to pass in the reference field as follows:

ktab-waers / ekko-waers (table name-field name)

Hope you understood the logic!!!

Do appreciate if found helpful.

Cheers!!!

Vinit

Former Member
0 Kudos

Hi vinith,

Thanks for quick rly,

I tried that ans ktab-waers / ekko-waers.

Form is activated.Bt while excute through tcode it showing same error

Reference field KTAB-NETWR unknown in form.

Former Member
0 Kudos

I think you declaring the KTAB-NETWORK incorrectly,

declare like this:

Field Name     Reference Field         Data Type 

KTAB-NETWR           EKKO-WAERS               CURR

Have you got it?

Rgs,

Lokesh

Edited by: Lokesh Tarey on Mar 14, 2011 11:25 AM

Former Member
0 Kudos

Hi Lokesh,

Thanks for ur rly,

Already i tried that ans also .

That time while activate the form it showing error EKKO-WAERS unknown.