Application Development 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: 

Smartforms

Former Member
0 Kudos

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..

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

13 REPLIES 13

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

Hi Theja,

You have to write the internal table in the input parameter of the window.

Former Member
0 Kudos

Hi Wences,

But the error is not in the structure...

0 Kudos

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

0 Kudos

Hi Lanka,

I passed the internal table in Form interface - table

It worked for all the fields except netwr.

0 Kudos

I hope the problem is due to NETWR because it is a currency field.

0 Kudos

Hi Wences,

I did as you suggested.

It works now.

Thanks Lanka for all for you replies.

Regards,

Wences.

0 Kudos

Hi Theja,

Then Please define "CURRKEY" in your reference table using in Form interface as mentione by Werc.

Lanka

0 Kudos

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.

0 Kudos

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

Private_Member_17805
Participant
0 Kudos

I am facing the same problem let me know how if u resolve the issue.

0 Kudos

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