Currency in SmartForms
I have made a smartform in which i have got itab and i am printing this in a table.
In itab i have got one field and that KBETR and thats Number of Units.....Whenever i try to print this smartform through my abap code then it gives me error that no reference found for KBETR.
Can any body please tell that where should i clarify this field in SMART FORM under which tab and most of all how to reference it with the Units. i tried to give it under "Global Definition'--->'Currency and Quantity' but useless cuz it gives me error. To display data in smartform i have already created a structure in SE11 and that is working fine but at smartform it is giving me errors at runtime on UNIT and CURR fields.
Thanks and points will be rewarded.
eventhouh u have a reference field defined in structure/table for currency or quantity fields, you should assign reference field agin in smartforms.
<b>You can print currency and quantity fields in smartforms.</b>
I've printed a qauntity field in my form and i used the following code:
smartform-> global defintions-> v_meins type ekpo-meins
(declare a varibale with type quantity field)
smartform ->currency & quntity fields-> itab-meins v_meins( type ) QUAN
now i can print quantity field itab-meins in my form.