Using SET COUNTRY in SMART forms

Hi All,
We have used SET COUNTRY 'GB' in the smart forms initialization code editor.
But it is not reflecting currency formats & date formats in the country specific formats.
I have to change the setting only in smart forms code only as i will not be able to edit print program.
can any body solve this issue!
Any system setting we need to do!
Thanks in advance.
Thanks,
Deep.

hi..
U can change the settings in SU01.
give ur username.
Change in DEFAULTS tab, in Decimal Notation field.
regards,
Padma

Similar Messages

  • Urgent -- using Standard text in SMart forms

    Hi Techi's.
    I have created a standard text using SO10 , and included the same in smartform.
    But the requirement is , i need to change the format of the standard text with my own style, so i craeted a Smart style with relevant Paragraph  and Character formats.
    Plz help me out in linking the STandard text with the smart style.
    I know how to include smart style in smart form, but the issue is "how to include Smart style for the created  Standard Text ".
    Urgent and helpful answers will be rewraded.
    Regards,
    Naveen

    hi naveen
    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
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • How to use address node in smart forms

    hii all,
          can any one tell me how to print the address usin the address node in smartforms....pls explain me in detail...
    thank you.

    Hi Neelima,
    Create a Address Node to print the addres of particular object like vendor, customer, plant, company address etc...
    for example vendor address
    To Print the address, you need to declare a variable VENDOR_ADRNR TYPE ADRNR in Form interface Import Parameters.
    Get the Vendor Address Number from LFA1 Table and pass the value to the form interface parameter when you call the smartform function module in the print program.
    Pass this to Address number &VENDOR_ADRNR& in the address number field, then the system will get the address of the vendor automatically.
    Regards,
    Satish

  • Using alternative option in SMART forms

    hi,
    I have a quick question about using the alternative window in Smartforms.
    When the condition mentioned is true, all the objects/windows under the true will be executed. However, when the condition is false nothing gets done. I would expect all the objexcts in the False category to get executed. Can anyone reason this out.
    Regards,
    Diwakar

    the situation is as follows:
    If v_x = 'Del' the title of the report needs to be as "Delivery Note", else it needs to be as "Invoice".
    So, after coding the condition using the alternative option, i have placed two text elements each under true and false. If V_x is 'Del' i see the title delivery note in the report. however, if i chaneg the value of v_x, i am not able to see 'invoice ' as the title. The output is blank.

  • Amount in Words using SPELL_Amount in Arabic Smart-forms

    I am facing the difficulty during the step in smartform printing. Client is to have a printout in Bi-lingual (english+arabic), Arabic is printing fine. The maintenance language of smartform is arabic.
    Problem arises:
    I am using the function SPELL_AMOUNT to get the "Amount in Words" of Gross Value. In the print preview and printout, "Amount is words" are appearing as jumbled. for example,
    Gross Value  238,476.00 SAR
    Expected Amount in Words Two Hundred Thirty-Eight Thousand Four hundred Seventy-Six.
    Appearing Amount in Words Seventy-Six Two Hundred Thirty-Eight Thousand Four Hundred.
    Waiting for your valuable inputs.

    Hi,
    Try the below code:
    Pass the amount after Decimal to the Spell amount seperately and then concatenate the two parts of the amount.
    For example : 30.60 USD
    Store the amount in a character string. Split the string at decimal point using a SPLIT statement.
    DATA: amount_total(10),
    round(7),
    dec_part(3).
    DATA: dec(1) TYPE c VALUE '.',
    amount_total = '30.69'.
    SPLIT amount_total AT dec INTO round dec_part.
    First pass variable 'round' to Spell_amount and then in the second call pass variable 'Dec_PART' and concatenate the two results.
    Regards,
    sirisha.

  • Smart form where used list

    Hi All,
    I want to change a smart form interface, before that I have to know where used list of this smart form but I can't. Could any one tell me how I can see the where used list of smart form.
    thanks in advance
    chetan vishnoi

    Hello,
    the previous suggestions won't work because smartforms are usually used with a dynamic function call.
    I have the following suggestions:
    1) Go to SE37 and display the where-used list of function SSF_FUNCTION_MODULE_NAME. Now find the entries where input parameter FORMNAME equals the name of your smartform.
    2) Change the interface of the smartform such that it is still compatible to the previous version, i.e. all new parameters are optional. If you want to change the type of a parameter, create a new parameter instead. You could then alter the coding in the following way:
    IF NOT parameter_old IS INITIAL.
      MESSAGE 'Interface has changed' TYPE 'E' RAISING ERROR_OCCURRED.
    ENDIF.

  • Text issue in Smart form

    Hi All,
    I have an Custom smart form, and under the pages and windows i have 2 Pages First Page and Next page.
    The First Page  next page is set as Next Page and the second page next page is also set as Next page.
    Now when the Smart form is displayed in the PDF Format then only the first page Header comes in the proper way but the 2nd , 3rd and so on pages depending upon the data the Headers are all coming as an Junk text (Not some other language but the overlapping of characters).
    The Header texts are all in the Table in the header field and also some texts are dynamically populated by the OTR and some are static.
    I am not sure why is this happening can any one give me some inputs?
    Regards,
    Dipu

    Exactly thats what i am using now but want to know whether is it possible by using TEXT instead of creating Graphics node.
    In graphics we can use both .bmp as well as .tif files but not text.So what is the solution of using TEXT Ids in Smart forms.
    Thanks for all your answers but still i didn't get the solution to my problem.
    Regards,
    Chandra

  • Smart Form implementation

    Hello,
    I would like to set up the smart form in SRM.
    Since there is in our R/3 backend a Smart form for PO, I would ask if I can import this Smart form from R/3 to SRM.
    Could you please describe the detailed step to integrate the R/3 PO smart form in SRM.
    SRM 4.0 Extended classic scenario
    Regards,
    Shaiek

    Hi,
    Create a Remote enabled FM in ECC and import parameters of smartform in FM.
    Now put this code inside the FM
      DATA lv_smartform       TYPE rs38l_fnam.
      DATA ls_ssfctrlop       TYPE ssfctrlop. 
      DATA ls_output_options  TYPE ssfcompop. 
      DATA ls_job_output_info TYPE ssfcrescl. 
      DATA lt_lines           TYPE STANDARD TABLE OF tline. 
      DATA lv_bin_filesize    TYPE i. 
      DATA lv_pdf_xstring     TYPE xstring. 
    * -- Get the name of the smartform function module 
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' 
        EXPORTING 
          formname = 'ZMY_SMARTFORM' 
        IMPORTING 
          fm_name  = lv_smartform. 
    * -- Call the smartform 
      ls_ssfctrlop-no_dialog = abap_true. 
      ls_ssfctrlop-getotf    = abap_true. 
      ls_output_options-tdprinter = 'PDF1'. 
      CALL FUNCTION lv_smartform 
        EXPORTING 
          control_parameters = ls_ssfctrlop 
          output_options     = ls_output_options 
          custom_input       = ls_your_custom_smartform_input 
        IMPORTING 
          job_output_info    = ls_job_output_info 
        EXCEPTIONS 
          OTHERS             = 0. 
    * -- Convert the OTF data to xstring 
      CALL FUNCTION 'CONVERT_OTF' 
        EXPORTING 
          format       = 'PDF' 
        IMPORTING 
          bin_filesize = lv_bin_filesize 
          bin_file     = lv_pdf_xstring
        TABLES 
          otf          = ls_job_output_info-otfdata[] 
          lines        = lt_lines 
        EXCEPTIONS 
          OTHERS       = 0. 
    Now, export the  lv_pdf_xstring  to the SRM system.
    In srm print the pdf by using
    cl_wd_runtime_services=>attach_file_to_response( 
        i_filename       = 'mypdf.pdf' 
        i_content        = lv_pdf_xstring 
        i_mime_type      = 'application/pdf' 
    Thanks & regds
    Pksurya

  • Smart form and Jet form

    Hi,
    Please let me know the difference betweeen Smart form and jet form and in which scenarios we use them.
    thanks

    HI,
    <b>
    Smart forms</b>
    <u>https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/formPrinting-SAPscript,Smartforms&</u>
    Smartforms: Frequently Asked Questions
    What are the differences between SAP Scripts and Smartforms?
    How can I insert symbols in Smartforms?
    I have a smartform which works fine in DEV. After trasnsporting it to PROD, there is no Function module generated for this smartform. As a result my program dumps in PROD?
    How can I make the Smartforms to choose a printer name by default?
    How can I make the Smartforms to display a print preview by default without displaying the popup for print parameters?
    How can I display the total number of pages in Smartforms?
    How can I display the total number of pages in Smartforms?
    I'm using the variable SFSY-FORMPAGES, I get a star "*" instead of the total number of pages.
    What are the various text formatting options in Smartforms?
    How can I provide a background shading to the table?
    Where can I provide the input parameters to the smartform?
    Where can I define my own global types for the smartform?
    I have defined my own Program Lines, where I have used a global variable G_TEXT. I get an error G_TEXT is not defined?
    I have created a table node for display. Where can I check the condition which must satisfy to display the table?
    How can I define Page Protect in Smartforms?
    What is the difference between Template and Table in Smartforms?
    Where can I define the paragraph and character format for the smartforms?
    What are the differences between SAP Scripts and Smartforms?
    SAP Scripts are client dependent whereas Smartforms are client independent.
    SAP Scripts require a driver program to display the output whereas in smartforms the form routines can be written so that it is standalone.
    An integrated Form Builder helps to design Smartforms more easily than SAP Scripts
    An Table Painter and Smartstyles to assist in building up the smartforms
    On activation a function module is generated for Smartforms
    It is possible to create a Smartform without a main window
    Smartforms generates XML output which can be viewed through the web
    Multiple page formats is possible in smartforms
    How can I insert symbols in Smartforms?
    Select the Text node.
    Change Editor (Click the button above Check near the Editor)
    Go to menu Include->Characters->SAP Symbols
    Choose the SAP symbol that you want to insert.
    I have a smartform which works fine in DEV. After trasnsporting it to PROD, there is no Function module generated for this smartform. As a result my program dumps in PROD?
    The Smartform that is created in the Development may not have the same name in the Production server. So it is always advised to use the Function Module SSF_FUNCTION_MODULE_NAME to get the Function Module name by passing the Smartform name.
    DATA: fm_name TYPE rs38l_fnam.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        formname           = 'ZSMARTFORM'
      IMPORTING
        fm_name            = fm_name
      EXCEPTIONS
        no_form            = 1
        no_function_module = 2
        OTHERS             = 3.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL FUNCTION fm_name
    EXCEPTIONS
        formatting_error = 1
        internal_error   = 2
        send_error       = 3
        user_canceled    = 4
        OTHERS           = 5.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.How can I make the Smartforms to choose a printer name by default?
    In the CALL FUNCTION of the Smartform Function Module, set the output options parameter to set the printer name.
    The output options is of the type SSFCOMPOP which contains the field TDDEST. Set the TDDEST field to your default printer name.
    How can I make the Smartforms to display a print preview by default without displaying the popup for print parameters?
    In the SSF_OPEN function module,
    Set the OUTPUT OPTIONS paramter TDDEST to your printer name.
    Set the CONTROL PARAMETERS and control parameters as shown below,
    control-preview = 'X'.
    control-no_open = 'X'.
    control-no_close = 'X'.
    control-no_dialog = 'X'.
    control-device = 'PRINTER'.
    control_parameters-no_dialog = 'X'.
    control_parameters-no_open = 'X'.
    control_parameters-no_close = 'X'.
    OUTPUT_OPTIONS-TDDEST = 'PRINTER NAME'.
    OUTPUT_OPTIONS-TDNOPRINT = 'X'.
    CALL FUNCTION 'SSF_OPEN'
      EXPORTING
        output_options     = output_options
        control_parameters = control
        user_settings      = ' '
      EXCEPTIONS
        formatting_error   = 1
        internal_error     = 2
        send_error         = 3
        user_canceled      = 4
        OTHERS             = 5.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.How can I display the total number of pages in Smartforms?
    Use SFSY-FORMPAGES to display the total number of pages in the Smartforms
    &SFSY-PAGE& Current page number
    &SFSY-FORMPAGE& Total number of pages in the currently formatted layout set
    &SFSY-JOBPAGE& Total number of pages in the currently formatted print request
    &SFSY-COPYCOUNT& Original-1,1st copy-2
    &SFSY-DATE& Date
    &SFSY-TIME& Time
    &SFSY-USERNAME& Username
    I'm using the variable SFSY-FORMPAGES, I get a star "*" instead of the total number of pages.
    There may not be enough space in the window to display the variable, either increase the window dimensions or condense the spaces using &SFSY-FORMPAGES(C)&
    What are the various text formatting options in Smartforms?
    &symbol(Z)& Omit Leading Zeros
    &symbol(S)& Omit Leading Sign
    &symbol(<)& Display Leading Sign to the Left
    &symbol(>)& Display Leading Sign to the Right
    &symbol(C)& Compress Spaces
    &symbol(.N)& Display upto N decimal places
    &symbol(T)& Omit thousands separator
    &symbol(R)& Right justified
    &symbol(I)& Suppress output of the initial value
    How can I provide a background shading to the table?
    In the Table Painter, you can specify the color and shading for the table lines.
    Where can I provide the input parameters to the smartform?
    The input parameters for the smartform can be defined in Global Settings->Form Interface.
    The Associated Type must be defined in the ABAP Dictionary.
    Where can I define my own global types for the smartform?
    The global types(within the smartform) can be defined in Global Settings->Global Definitions->Types
    The types defined here will be global through the entire smartform.
    Also the form routines can be defined Global Settings->Global Definitions->Form Routines
    I have defined my own Program Lines, where I have used a global variable G_TEXT. I get an error G_TEXT is not defined?
    Whenever using the global variables in the Program Lines, enter the variable name in Input Parameters if you are going to use(read) the variable. If you are going to both read/write the variable value enter the same in Output Parameters.
    I have created a table node for display. Where can I check the condition which must satisfy to display the table?
    The conditions can be defined in the Conditions tab. In smartforms all the nodes have a condition tab where you can specify the condition to be satisfied to access the node.
    How can I define Page Protect in Smartforms?
    To define Page Protect for a node go to the Output options and check the Page Protection checkbox.
    What is the difference between Template and Table in Smartforms?
    The Template contains a fixed number of rows and columns, where the output is fixed.
    The Table can have variable number of rows
    Where can I define the paragraph and character format for the smartforms?
    The paragraph and character format for the smartforms can be defined in the transaction SMARTSTYLES
    Mohan
    Award points if it adds information.

  • How to Print Digital Signature in Smart forms.

    Hi Experts,
    Any one please help me how to use digital signatures in SMARTFORMS.?
    Which are the tables used to store digital signatures and please any one have any demo program which prints the the digital signature using smartforms kindly let me know.
    Thanks,
    Sunil kairam.

    Hi Sunil,
    After doing some research in sdn and other sources i found the following result...
    Digital Signatures are nothing but graphics that we can store in SAP and use in our Smart Forms.
    For Example you can create a .bmp file of your signatures, upload it via SE78, and then use it in your Smart Forms in your Footer Area as "Authorized Signatory".
    The Logic in the Print Program can be something as follows -
    1. Maintain a Z Table having fields like PLANT, FORMID (Name of the SmartForm), USERID.
    2. Before calling the Form, the validation is made for the Logged in User with the Z Table created.
    3. If the User Entry exists in the Z-Table, the Form is called and the Signature Image is displayed in the Footer Block i.e. the Authorized Signature.
    4. If user entry does not exist in the Z-Table then the message is displayed "You are not the Authorized for Printing the Form" and exits the Transaction.
    refer to these links:
    [http://help.sap.com/saphelp_nw04s/helpdata/en/23/c8b4cb4b3847a9bc32fe100f368411/frameset.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/21/530b37cb3ed605e10000009b38f936/frameset.htm]
    if u find some info on the topic pls let me know..
    best of luck!!!
    thanks
    ravi

  • Smart form - Long text in all the items?

    Hello gurus,
    We are using something similar to smart form (I don't know the exactly name, like pretty form).
    So, we are using a long text in the "Item text" by item.
    Sometimes the item can be more than 20 lines in the "Item text" as long text and sometimes not.
    Example: I have a PO with 4 items:
    Item 1 - Without Item text.
    Item 2 - With 20 lines in the Item text
    Item 3 -With 1 line in the Item text
    But, when the PO is printed, the PO form has to all the items 20 lines by item.
    That's mean that if in the first item I don't have item text, the first item is showed with a very long space in blank (space of 20 lines).
    The secont item is showed correctly.
    The third item has one line wrote and 19 lines in blank, like a long space in blank.
    How we can manage this situation in the format?
    How we can program these spaces to see in the format to the first item without the space in blank and to the third item only 1 item and the other 19 lines without being shown?
    Can you help me please a.s.a.p.?
    Thanks for your time and I will wait the answer.
    Regards,
    Sandra Palomo

    Hi ,
    Can you please let me know the solution implemented ?

  • Query regarding smart form

    hi all
    how to use existing purchase order smart form...whats the name and whats the print program for that.
    rgds
    anu

    Smartform of PO....
    check this thread.
    in ECC5.0 smartform name :  /SMB40/MMPO_DE.
    for smartforms,you no need to have a seperate print program.total logic will be inside of the smartform(function module).
    Regards,
    Srikanth.
    Message was edited by: Srikanth Kidambi
    Message was edited by: Srikanth Kidambi

  • SAPscript and Smart Forms - Going to be phased out?

    Thus far, are SAPscript and/or Smart Forms going to eventually be retired?  Is there an official document, or Note that says so?  I've exhaustively searched through these forums, and the SMP for the PAM and Notes, but I can't find a reference anywhere that will tell me.
    I did find where it says:
    "Customers can continue to use existing SAP forms solutions such as Smart Forms and SAPscript.
    Both solutions will continue to be supported in their current functional scope."
    Just want to make sure with my clients.
    Thanks!

    Hello,
    We recently rolled out an SAP's Strategy as far as forms development is concerned.
    Here is the official statement:
    "The SAP forms strategy is based on SAP Interactive Forms by Adobe (IFbA). This applies to both print and interactive forms. In this context, most Business Suite solutions have already been converted to the IFbA technology (more than 2300 forms), and new standard SAP forms will be created using IFbA instead of Smart Forms or SAPscript.
    SAPscript and Smart Forms shall continue to be supported inline with SAP's maintenance strategy, thereby ensuring the ability to protect existing customer investment."
    You can also find this on the Smart Forms page in SDN: Smart Forms Overview
    Regards,
    Nikhil

  • Triggering a smart form from User exit

    Hi Gurus,
    I need to trigger a smart form from a user exit.
    The tcode name is COR1.there is a exit for this tocde.
    This exit should be used to trigger the smart form.
    User exit to be executed upon saving the Process order number.
    Thanks in advance.
    Edited by: vinay raj on Apr 13, 2009 9:38 AM

    Hi,
    You can write a Custom program i.e. the driver program for your smart form.
    And submit that program in the exit. i.e. use the submit statement to run that program.
    I hope this might help you.

  • How to use function module ADDRESS_INTO_PRINTFORM in a smart form

    Hi Experts,
    I have a requirement where in the address window in the smart form output should be  country specific. For example if the customer is an Indian . The address should NAME,CITY and POSTAL CODE. I searched on web to find a function module wich will display the address in country specific format I found ADDRESS_INTO_PRINTFORM I am not sure whether this is right function module or not. If this is correct please help me in using this.
    Thanks and Regards,
    Srini..

    That function module should be able to do the formatting you're after, as long as the necessary settings are present in the country configuration. It appears the default formatting routine for India would want the postal code before the city, so you may have to change that if your requirement calls it for being after the city. But keep in mind that such config changes will have an effect on other programs that format addresses.
    The function module also has pretty extensive documentation.
    In a Smartform, you have an ADDRESS element that does the formatting for you, so theoretically you shouldn't have to use the function module though...

Maybe you are looking for

  • Need bapi to give table name on basis of field or stucture.

    Hi, Many a times wan we want to know table name of field from tecnical information but there we gets  stucture. It is very time consuming to find table for that field. Is there any bapi or program where we insert information related to that program o

  • IPod Touch 2G MC Model not syncing or charging

    I plugged my iPod Touch 2G into my Mac so that i could sync. When i plugged it in, it didn't charge, or show up on itunes. i haven't tried plugging it in on any other computer. Please Help!!

  • Offline approval: handheld device

    Dear SAP gurus, We have a requirement in which the approvers in our company will do offline approval through their handheld device. In here they dont want to logon to the system and doing approval and rejection in the system, rather they want to clic

  • IMac (OS 10.8.5)

    Computer has been working fine using the same router (Netgear) in the same location for 2 years, but suddenly will not connect. There is an exclamation point over the wifi icon - sees the router, but no internet. It also will not connect via a person

  • I can't find my "Update IPod" icon

    I can't find my "Update IPod" icon on my ITunes. In place of it there is myname"MP3 Rocket" icon. Where did it go? How do I get it back?     It's an Ipod nano.