‎2007 Apr 19 4:25 AM
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
‎2007 Apr 19 4:33 AM
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...
‎2007 Apr 19 4:30 AM
Hi ,
the thing is in the smartform also u need to specify that field with reference field
‎2007 Apr 19 4:31 AM
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
‎2007 Apr 19 4:34 AM
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
‎2007 Apr 19 4:33 AM
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...
‎2007 Apr 19 4:40 AM
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
‎2007 Apr 19 4:44 AM
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...
‎2007 Apr 19 5:11 AM