02-22-2006 3:07 AM
In smartforms,
I have a internal table with field NETWR.
But it shows a runtime error itab-netwr not found.
Can you please help on this..
02-22-2006 3:08 AM
In SE11 structure do these changes...
Create a WAERK field with data type CUKY.
and in Currency/quantity field tab give your reference table and reference field as:
STR_NAME WAERK
02-22-2006 3:08 AM
In SE11 structure do these changes...
Create a WAERK field with data type CUKY.
and in Currency/quantity field tab give your reference table and reference field as:
STR_NAME WAERK
02-22-2006 3:10 AM
Hi Theja,
But it is because you might have specified reference field to other table field.
Instead give reference field as the same structure component.
02-22-2006 3:08 AM
Hi Theja,
You have to write the internal table in the input parameter of the window.
02-22-2006 3:08 AM
02-22-2006 3:10 AM
Hi Theja,
How you are passing NETWR. Between '&' and '&'.
Example :
&ITAB-NETWR& in a text element.
If you pass the variable between '& then only the system recognises as variable.
You will define "reference field" only for Comma separators for Qty/Currency fields.
Regards,
Lanka
02-22-2006 3:14 AM
Hi Lanka,
I passed the internal table in Form interface - table
It worked for all the fields except netwr.
02-22-2006 3:15 AM
I hope the problem is due to NETWR because it is a currency field.
02-22-2006 3:16 AM
Hi Wences,
I did as you suggested.
It works now.
Thanks Lanka for all for you replies.
Regards,
Wences.
02-22-2006 3:17 AM
Hi Theja,
Then Please define "CURRKEY" in your reference table using in Form interface as mentione by Werc.
Lanka
02-22-2006 3:17 AM
Hi Theja,
Check the spelling.It might be some thing else instead of NETWR...i mean you might have given in the internal table as NETRW or some thing else.
02-22-2006 3:21 AM
Hi Theja,
You can define reference field at global data also.:
Globaldata--> Currency/Qty fields
Field name = ITAB-NETWR
Reference field = NETWR
Typr = Currency.
Regards,
Lanka
02-22-2006 3:25 AM
I am facing the same problem let me know how if u resolve the issue.
02-22-2006 3:28 AM
Hi Jayant,
You are using a Zstructure in Form interface for reference to your internal table.
Please use T/code SE11--> Change your Ztable as
a) Add a new field CURRKEY like WEARS
b) For NETPR add reference table as ZTABLE-CURRKEY.
May be create another post as this was already closed.
Regards,
Lanka