on 03-14-2011 8:07 AM
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.