Skip to Content
avatar image
Former Member

Currency declaration in SmartForms

Hi all,

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 19, 2007 at 09:24 AM


    When you created the structure in SE11 have you give the reference fields for this field KBETR or not?

    check it? generally when we create a table or structure with CURR and UNIT fields it is a must to give the refrence table and field for them.

    So against the KBETR field give some table and field name like VBAK-WAERK

    and for UNIT (quantity) fields give as EKPO-MEINS

    it will work fine.

    In smartforms you can declare an internal table in Global definitions as

    IT_VBAK TABLE TYPE (or type table) KONV.

    check the syntax as I don't have system in front of me.

    <b>Reward points for useful Answers</b>



    Message was edited by:

    Anji Reddy Vangala

    Add comment
    10|10000 characters needed characters exceeded