11-15-2013 9:05 AM
Hi,
I have created a Ztable with a currency field NETVAL for which i provided Reference Table as VBAP and Reference field as WAERK. When calling a smartform from a module pool program, i am getting an error that ''Reference field 'IMAT-NETVAL' is unknown". What should i add in smartform for that curr field to be displayed in smartform???
Please help.
11-15-2013 9:23 AM
11-15-2013 9:15 AM
Please maintain this field IMAT-NETVAL in Global definitions in currency/quan fields.
Arivazhagan S
11-15-2013 9:26 AM
Global Definitions>>Currency/Quan fields>
FieldName Reference Field Data Type
IMAT-NETVAL CURR
What should i write in its Reference field? Because in the ztable, I have given NETVAL's Reference field as WAERK and its Reference table as VBAP.....
11-15-2013 9:29 AM
Use VBAP-WAERK, so declare VBAP in global definition and insure that this data is read from database when required.
Regards,
Raymond
11-15-2013 9:19 AM
you may have to give the reference in 'currency/qty' tab of 'global definitions' of the smart form
11-15-2013 9:19 AM
Hi rakesh,
in the global definiton you will find quantity and reference field tab.. declare the reference table as below
11-15-2013 9:20 AM
Hi,
By IMAT-NETWEL, you mean the internal table field of your z-table type...right?
Have you defined your internal table IMAT as an import parameter in Smartform?
If not then follow the below path:
Global Settings (on left side of SF) --> form interface --> Import
Hope it should help.
Also delete the NETWEL field from z-table, save and activate.
Now again add the field NETWEL with ref table and field and activate. Try this once.
Thanks!
11-15-2013 9:20 AM
Hi
In smartform, gloabl definition -> currency / Quant fields tab, you could give
field name - Imat-netval and reference field as vbak-waers.
Please give and let me know.
Best Regards,
Abirami
11-15-2013 9:23 AM
Hi Rakesh,
Please add IMAT-NETVAL as shown below (Choose Currency drop down) -
BR.
11-15-2013 9:23 AM
11-15-2013 9:42 AM
hi Ramkumar,
Thanks for the help in form of print previews. It worked.
Regards,
Rakesh Nair
11-15-2013 9:27 AM
You question is not coherent, you wrote to have created a Ztable-NETVAL field with reference currency field VBAP-WAERK, but you error is a reference field IMAT-NETVAL, so another field (should not be a cucy currency code field ?)
Regards,
Raymond