Application Development and Automation 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: 
Read only

Smart Forms

Former Member
0 Likes
975

Hi ,

I am developing a smartform in which i am passing an itab which has diff fields from diff tables. For that i am creating a structure in SE11. In this structure i am having Currency and quantity fields , for those fields i am maintaining Reference table and field name . I am using this structure in my smartform. I am not getting any syntax error but when i am executing my print program i am getting message like "Reference field WA-MENGE unknown in form" where as wa-menge is the field in my smartform wa which is referring to my se11 structure . Can anyone help me out.

Regards,

Shafi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
888

Hi,

I too got the same problem,go to global definitions->select quantity/curency tab on right side->there specify the field WENGE and its reference field there,save and activate.....it will surely help...

7 REPLIES 7
Read only

Former Member
0 Likes
888

Hi ,

the thing is in the smartform also u need to specify that field with reference field

Read only

Former Member
0 Likes
888

hi

what u need to do is there is also a currency field in global definations of smartform mention ur currency and quantity field there also it will work

regrads

navjot

reward if helpfull

Message was edited by:

navjot sharma

Message was edited by:

navjot sharma

Read only

0 Likes
888

Hi navjot & srilatha,

I am using 4.6c version and i am not having that option and more over it is not single field its a work area which is having 4 quantity fields and one currency field

Regards,

Shafi

Read only

Former Member
0 Likes
889

Hi,

I too got the same problem,go to global definitions->select quantity/curency tab on right side->there specify the field WENGE and its reference field there,save and activate.....it will surely help...

Read only

Former Member
0 Likes
888

i have not worked on 4.6

i hope this mite help you a little bit

When you are using quantity or currency fields, you have to mentiong the reference fileds in a tab called CURRENCY/QUANTITY FILEDS in the GLOBAL DATA node.

Specifying a Currency or Quantity Reference

Use

In the ABAP Dictionary, you can assign a currency or quantity field to a table field. In the output of these fields, the system can then insert the relevant currency or unit:

· If the value field is in the same table as the corresponding currency or quantity field, the system recognizes the reference automatically, and formats the value field according to the currency or unit in the assigned field.

· If the value field is in a different table from the currency or quantity field, the system cannot recognize this reference automatically.

In the second case, you must indicate this reference to the system in the form, to ensure that the value field is formatted correctly.

Procedure

You want to assign a currency or quantity field in one table (for example, CURTAB) to a value field in another table (for example, VALTAB).

...

1. Create the reference to the currency field by entering the following values:

- Field Name: VALTAB-VALUE, if this is the value field of VALTAB that you want to display.

- Reference Field: CURTAB-CURRENCY, which is the currency field of CURTAB.

2. Under Data Type, specify whether the data type is a currency or quantity.

regards

navjot

Read only

Former Member
0 Likes
888

Hi,

I donnt no abt 4.6c.But regarding the WA-MENGE u need ti declare that in global definitions->global data tab->declare that workarea field->then define the reference under currency/quantity tab....

chack whether u declared wa-wenge under global data tab in global definitions...

Read only

Former Member
0 Likes
888

Hi,

Can anyone who worked smartforms in 4.6c can help me out