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.

Hi
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>
Regards
Anji
Message was edited by:
        Anji Reddy Vangala

Similar Messages

  • Currency fields in Smartforms.

    Hi All,
    This is the problem i encountered:
    1) I create two internal tables of type EKKO and EKPO giving the names IH_EKKO and II_EKPO where EKKO and EKPO are the header and the item table for the purchase order respectively.
    2) Then i use the FM SSF_FUNCTION_MODULE_NAME and give the smart form name.
    3) Then i pass the internal tables to the FM generated by the smartform.
    4) In the smart form i declare the workarea ZH_ITAB and ZI_ITAB.
    The problem is that when i try to print the respective document number it throws up an error saying that the "Field ZI_ITAB-NETWR is unknown" and if i remove both the fields NETPR and NETWR from printing it works fine and it shows the print preview. I have also tried putting &ZI_ITAB-NETWR& in lower case as it had worked sometimes but not now.
    What could be the problem ? Am on 4.7
    Thanks in Advance
    Sudhi

    Hi Nablan,
    yes the work area ZI_ITAB if of type stucture EKPO. I went through the standard smart form for Purchase order and SAP has made use of field symbols for the currency fields.. Is that necessary?

  • Currency field in smartforms

    hi guyz,
    i have a field total_amount when iam putting in my text node it saying total_amount is unknown in the form...where as all other fields in the textnode works.
    total_amount is  currency field..
    plz advice
    regards

    Hi Sudheer,
    Declared it at the Global definitions.
    Initialize some value there itself.
    Just before the text node create one program lines node,
    and that,<b>In the import and export parameters of it give total_amount</b>.
    Regards,
    Rama.Pammi

  • Printing currency symbols in smartform

    Hi,
    I have a requirement like printing the currency code beside all
    currency fields.
    Ex: If customer is in us, $ should b printed.
    Can anyone please tell from where these fields can b retrieved.

    Hello,
    Please refer to this link:
    putting checkboxes in smartform?
    It talks about inserting sap symbols (concretely checkbox) , I don't know if $ is in standard sap symbols.
    However I think that you can have a look.
    I hope it will help you.

  • Table declaration in Smartform

    Hello Friends,
    I am working on smartforms, I have to write some routines and for this I am using some tables which I want to declare as global, so that I can use the tables in my routine without decalring tables again. Please suggest me how to proceed with this.
    Thanks,
    Shreekant

    in ur global data declare ur tables like
    wa type wa
    itab type itab
    in ur types declare
      TYPES: BEGIN OF wa,
            mvgr4 TYPE mvke-mvgr4,               " SIZE
            matnr TYPE vepo-matnr,               " MATERIAL CODE
                    end of wa.
    types: itab type wa occurs 0.
      and just pass ur table to the form routines

  • Declarations in smartforms

    Hi Folks,
    I have a program having an Internal table ITFINAL which displays the output in ALV.
    Now I want to display it even in the smartform.
    How to pass on the data in itfinal to smartform?
    Declarations in global definitions?
    How many columns can we display in a smartform at the max when the page is DINA4.
    Kindly let me know about the same.
    Thanks,
    K.Kiran.
    Message was edited by:
            Kiran K

    Hi,
    Go through the following Links, here u can find example with step
    by step.
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    http://sap.niraj.tripod.com/id67.html
    Check these step-by-step links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    Check these links also.
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    Regards,
    Priyanka.

  • How to use the types declarations in smartforms

    hai
      already i declared the types in smartfomr global defination, how to call the types to the internal table and workarea, in which please i declare the internal table and work area by using the types structures
    for example
    types: begin of ty_kna1,
              kunnr type kunnr,
              name1 type name1,
              land1 type land1,
             end of ty_kna1.
    how to call the above types to internal table and work area in simartforms , in which place i declare the above types to the internal table and workarea

    Hi,
    Please see below
    **In Types tab
    types: begin of ty_kna1,
    kunnr type kunnr,
    name1 type name1,
    land1 type land1,
    end of ty_kna1.
    Types:ty_t_kna1 type standard table of ty_kna1.
    In Global data tab
    ***Internal table declaration
    data:i_kna1 type ty_t_kna1.
    ***Work area declaration
    data:wa_kna1 type ty_kna1.
    Regards
    Jana

  • Euro currency symbol in SmartForms

    Hi,
    I'm using ECC6.0 SmartForm. I'd like to add this symbol '€' in the text.
    I've tried to copy and paste it but the script editor doesn't allow.
    Does anyone have a solution for this problem??
    Please help me it's very urgent...
    Tarick.

    For Printing Symbols try using SuperScript Character  format

  • Currency symbol in smartforms

    Hi All,
    How to place currencysymbole '£' (GBP) in the smartform before the Amount.
    This is very urgent.Please anybody help me. I will reward you points.

    Seriously?
    Ok, try this one,
    Printing Euro symbol in smartform
    It is marked as answered, and while it's about the euro symbol there is enough information in the answer to work out what to do for the Pound symbol.
    It was about a third of the way down the first page of results that I got by searching and took me less time to find that it did to type this reply.
    Regards,
    Nick

  • Currency sign in smartforms

    hi,
    I want to print the € sign on my form... but from the currency-key field I only get 'EUR'...
    I also tried to 'hard-print' the € sign, but then I get a #... ?!
    I'm sure the answer is as easy as the question

    HI
    GOOD
    . The currency format in the user master is set up in the way you have
    described.  You can change this in the user master preferences.
    2. You are printing an invoice in a European or Asian currency and the
    currency is set up to print that way.  To fix this, you can use the SET
    COUNTRY command within the smart form to set it to print in the style of the
    country you want, e.g. U.S. or Canada.  Or, you can change the config for
    the currency in table T005X.
    GO THROUGH THIS LINK
    http://sapassist.com/groups/groups.asp?v=sap-r3-dev&m=3&y=2004
    THANKS
    MRUTYUN

  • Currency format in Smartforms

    Hi ,
    In Smartforms i have to display the NETPR, NETWR ,MENGE fields in the following format........
    1,00,000.00   
    Usually these fields will be shown as 100000.00
    How to format these fields.
    Is there any FM to do this.
    Kindly let me know.
    Vikki.

    HI,
    DATA:l_v_sep TYPE sy-batch,
         l_v_dec TYPE sy-batch,
         v_kzwi1 TYPE kzwi1.
    DATA:l_v_dis_temp TYPE char20,
         l_v_char2 TYPE char2,
         l_v_gross_sale TYPE char20.
    CONSTANTS:l_c_dot TYPE char1 VALUE '.',
              l_c_comma TYPE char1 VALUE ','.
    CALL FUNCTION 'CLSE_SELECT_USR01'
    EXPORTING
       username           = sy-uname
    IMPORTING
      X_USR01            =
      DATE_FORMAT        =
       decimal_sign       = l_v_dec
       separator          =   l_v_sep       .
    v_kzwi1 = '10000.00'.
    WRITE v_kzwi1 TO l_v_dis_temp.
    SPLIT l_v_dis_temp AT l_v_dec
    INTO l_v_gross_sale
    l_v_char2.
    CONDENSE l_v_char2.
    REPLACE ALL OCCURRENCES OF l_v_sep
    IN l_v_gross_sale
    WITH l_c_comma.
    CONCATENATE l_v_gross_sale
    l_v_char2
    INTO l_v_gross_sale
    SEPARATED BY l_c_dot.
    Regards
    Jana

  • Error while printing currency in Smartform

    Hi All,
    In ME23N t.code i am entering currency value as 1.000 but while i am printing in smartforms the value printing as 10.00 , Please let me know how to print same currency in the smartform ?
    Regards,
    Phani.

    Declare your currency field as a Currency
    Global DefinitionsCurrency Quantity Fields-there give your currency field and set as a CURR then it will work
    Try it.
    Regards,
    Madan Mohan.

  • Currency formate change in Smartforms

    Dear friends
      I wish to know how to change the currency formate in Smartforms
      I am having displaying fields INR  125,234,445  i want to have output this way
    INR 1,24,34,445 please help me to solve this problem
    regards
    Naeem

    Hi ,
    You are priniing the unit fields could be waers after the currency field .
    If you are using a table interchange the currency and unit field or if it is not a table interchange the variables  as:
    ex  : &WAERS& &KTMNG&
    Regards

  • Smartforms global ,intilization declarations ?

    hi folks,
    below is layout of the form i have to print in smartform ,this additional that is supplement from i have to add in existing form,so these are the fields i have to priint ,now what exactly i have to do in smartfrom ,do i need to change driver program also ,what exactly i have to do right from global defintions to page creation ,do i need to create another window and where i have to write logic that is select queries ?
    fields for the layout is below ,layout is also given plz take a look ,points will be awarded for the answers .
    order number (VBAK-VBELN), Whs BoL (VBAK-VBELN), customer PO number (VBKD-BSTKD), material number (LIPS-MATNR), legacy item number (MARA-ZZQNUM), description (LIPS-ARKTX) ship quantity (LIPSD-PIKMG), UOM (LIPSD-VRKMP) and pallets (VEKP-EXIDV) information. There is only one order to one delivery to one shipment. (1 to 1 relationship)
    Whs. BOL: Customer PO:
    Order No:
    Ship to:
    Material No Description Ship Qty UoM Pallets
    010018500013850003 16OZ 1/12 LPT ICED TEA PEACH 216 CS 2.00
    904560
    010018500013850005 16OZ 6/2 LPT ICED TEA RASP 108 CS 1.00
    904561
    010018500013850006 16OZ 6/2 LPT ICED TEA SNL 324 CS 3.00
    904562
    0100185000138
    hey all plz tell what should i delcare in global paramerets in global defintions ,imoport ,export paramaetrs ,what shoul;d i write ?in intilization what should i write ?in global defintion s what sghould i write in types tab plz VERY VERY VERY VERY Urgent points will awarded repl;y urgently very urgentily.

    Hi,
         Global Declaration is nothing bur the Internal Table Declaration in smartform. If u Declare the Tables in Global Declaration U can access that Internal Table for all the Windows within that Smartform.
    Import : It will Pass the Value to write the coding inside the window, It Mean Ur getting the Value from Global. Already i told the Global will help for all the Windows.
    Export : In the Import we r getting the value from global and doing some coding or calculation inside the Window. Now we need to take that Value to Print in within that Window.
    Example :
    Importing : t_ekko ( Here getting the Value from outside)
      Loop at t_ekko into wa_ekko.
      Append lt_ekko from wa_ekko.
    endloop.
    Exporting : lt_ekko ( Taking the final Value to Display)
    Go through this link also,
    form interface & global definition
    Re: Urgent ! SmartForms internal table declaration
    what is the use of types tab in global settings in smartforms?
    Regards,
    Saran,

  • Currency Field in Smart Form

    Hi,
    How to Display Currency Field in SmartForm  and how to declare

    You can display a field in GLOBAL data of TYPE I (v_menge).
    then in the related window of that Quantity field create PROGRAM LINES and in that write a small code such that
    MOVE ITAB-MENGE to v_menge.
    Now display this field v_menge in the smartform
    Regards
    Anbu B

Maybe you are looking for

  • Reg : Importing Mapping from PI 7.0 to PI 7.0 EHP upgraded

    Dear Experts, I have done few huge changes in the mapping existing in our test system which was opened for editing because of EHP upgrading of our Development system. Now development system is EHP upgraded and Test system is plain. Is there any way w

  • Re: Satellite Pro M70 - High CPU Usage - Low Performance

    I sincerely hope someone can help. I do not consider myself really computer illiterate, but this is where my understanding ends and I would truly value all help offered. I have a Toshiba Satellite Pro M70 of 2 yrs old and I am a definite advocate for

  • Everything is in german

    My itunes opened up in german today. how do i get it back to engllish?

  • Navigation issue with Safari 6

    Hi, I see a strange behavior of Safari 6 on site as this one : http://tempsreel.nouvelobs.com The site harbour a "tab bar" with scroll-down menus on the top of the page (Actualités, etc.) but with Safari, these menus are inaccessibles : menus appear

  • How to make table that will include controls such as drop list?

    How to make table that will include controls such as drop list? I need to create table as Property Browser of ActiveX, that include rows with differnt types such as drop list, color, ...