Smart form Issue..

Hi All..
I need to print a square Box in the smartform ( 1 * 1 cm)..
( User takes the Print out of smart form and use this box to mark from his pen manually)
How to do it...???

Hi,
Take a template which contains only one column and one row. And you can mention the size of the template. Now use the border option of the template to print the borders. Then in it take a text element, which contains a space so that the template will be prited.
Thanks and Regards,
Bharat Kumar Reddy.V

Similar Messages

  • Smart form issue for range input

    Hi all,
    i have print out five 5 po . each po in new form
    i.e every po has to start in new page
    i have created a smart form
    loop at header .
    wa = header
    ssf... fm module
    exporting wa
    tables item details
    call function fm_name...
    endloop.
    whats happening is when i execute the program i am getting a pop up window i click on preview , it prints the first p o  and then when i click back agian i see the pop up window and again i have to select print preview then i see 2 po and again back button print preview to see 3 po
    i want to click print preview once and i want to see all 5 po's
    first po and new po in new page
    let me know how to achieve this
    Thanks

    Hi
    I can do it in scripts right
    open form
    loop at itab.
    start form
    write form
    end form
    endloop.
    close form
    Iam looking something like this in smartforms
    Thanks

  • Smart forms issue very urgent

    Hello all , i have a problem i.e the credit department would like the ability to automatically fax to the customer the statement of account form .
    Please tell me the possible soulutuins to how to do this,
    Thanks & Regards,

    Hi Pranav ,
                             in one of ur answers to queries related to sending PDF output through mail, you said, the mails are queued in SOST. Tee same happened for me. I would like to know is thee any way we can select those mails in queue and send them for posting programmitically, as my program is supposed to run in back ground, and the user may not me having access to SOST.
    Thanks and Regards,
    Arnab

  • Smart forms Issue

    Hello all , i have a problem i.e  the credit department would like the ability to automatically fax to the customer the statement of account form .
    Please tell me the possible soulutuins to how to do this,
    Thanks & Regards,

    Hi,
    When ever there is a currency field to be printed in smartform, you also need to refine a reference field so that system will use this currency unit. For this, goto
    "Currency/Quant. fields" tab in Global definitions and declare as below
    WA_EKPO-NETPR               CURR
    WA_EKPO-NETWR               CURR.
    This will create reference to currency fields and it will display the output without errors.
    Hope this helps
    Vamsi

  • Issue in printing second page in smart form

    in my smart form i have only FIRST page in tht i have pur order numberwindow, date window and all the item details in mainwindow. my problem is in my page 1 order number and date are getting printed at the exact position whre i  want but when it is coming to the next page that is page 2 order number and date are going out of scope. I cant even change the position of those two windows as it is getting printed properly on 1st page.

    Copy the first page and paste so as to create a second page, now give next page as this second page, and check, if there is any layout issue then make changes in this page, be careful as if you make any any changes, such as deleting some table or template or window in the copied [page it will get deleted in first page to, so only make changes to layout.

  • Issue Regarding Chinese characters In Smart Form Print preview..

    Hi All,
    I am working on a smart form development for chinese users. The requirement is the user will login using English & when the delivery will be issued for output, a check will be done on the country of user. If that comes as china then the international version (C) maintained for that customer will come as output.
    Now the problem is even if I login using EN or ZH the below issue I am facing always.
    In the database I can view the details in chinese properly by logging in as ZH. During debugging also i checked the data from table ADRC & MAKT is coming in chinese properly. But when i gave the values to be output in SmartForm, it is showing the characters like how it will look if I login using EN & view the table contents.
    When i view the data by changing character set as Simplified Chinese then in table i can see chinese texts properly. But when the same data goes to print preview it shows the chinese characters like as it would appear when character set is Unicode or West European..
    Please help..
    Thanks in advance.
    Edited by: malayanayak123 on Jun 1, 2011 5:48 AM

    Dear,
    print preview and physical printout are two different things.
    PrintPreview:
    The data stream will be sent to the frontend and rendered with windows-fonts etc (for backend prints a simulation).
    Printout:
    Frontend: You need a printer, that maps the character, you have to use SAPWIN or SAPWINCF when using cascading fonts. The rendering will be done in the windows spooler.
    Backend: Your printer needs also a mapping (look like something with UTF8). Also the printer needs the fonts installed because the rendering will be done in the printer!
    If you use the pdf-printer in SAP, you need to upload all necessary fonts (TTF) for the pdf-composer. Also you need a unicode pdf printer for that.
    Regards,
    Christian

  • Production issue with Smart Form

    Hi ,
    Issue is:
    Data getting poplutated in Dev system but not getting in Production system.
    we are using standard FM CRM_OUTPUT_SINGLE_READ
    which contains FM SSF_FIELD_LIST to which our smartform name is passed.
    FM SSF_FIELD_LIST returns all the global definition fields of the smart form.
    It has a statement
    import fields to fieldlist
             from database stxfcontr(sf) id l_fullname.
    Now in Dev system we get all the required values but in Production system it doesnt show any value.
    Also in table stxfcontr i can see two values for my Form
    Entries from Development System :
    SF    ZCLSDXT_YI01_PRINT                                   0  1815
    SF    ZCLSDXT_YI01_PRINT                      X            0  1830
    Entries from Production system:
    SF    ZCLSDXT_YI01_PRINT                      X            0  1584
    I think problem is with IMPORT statement which is inside the FM SSF_FIELD_LIST ...
    Is it has to do with ABAP memory or something like that? or something i need to do in FORM ..but since in dev system same FORM is getting value why i am not getting in Prodc.'
    Please help...
    If anyone can help me why it is not populating the fields?
    Regards,
    Mayank

    hI Vishnu,
    yes its been transported properly..
    even when i execute this FM SSF_FIELD_LIST by passing my FORM name it doesnt displays the Global defined fileds in production but in Dev same FM displays all the fields.
    Any idea how this table STXFCONTR gets entry in it..
    I am working on Solution Manager system....
    Regards,
    Mayank

  • SMART FORMS- data from  internal table issue

    Hi ,
           I have a smart form in which I have to print three types of materials of Material Types say M1, M2 ,M3.
    In the SMART FORM,Main Window, I have created 3 TABLES for 3 types of Materials ie,
               TableM1,
               TableM2,
               TableM3.
    The internal tables to populate these TABLES are
    ( passing from Print program ).
                t_M1,
                t_M2,
                t_M3
    The Number of FIELDS vary in all the tables ,thats why I have created 3 internal tables for Diff Material Types.
    But only first TABLE is getting printed ie data inside TableM2, TableM3 are not getting printed.
    Can any SMARTFORM Gurus please let me know how I can solve this issue.
    Regards
    Avi

    Hi,
       Check whether you are mentioning any condition on the data. There are different possibilites of not getting printed. Like the way your displaying, data is in table.
    Can you please clearly mention how did you populated the internal table and kept the logic to print the values in the table. So that it problem would be  more clearly nown.
    Br,
    Laxmi

  • Regarding Smart Form Printing, Print Preview issues

    Hi,
    I have couple of issues regarding Smart Form Printing, Print Preview.
    In my program i am passing below parameters to smart form function module:
    t_control-device = c_printer.
    t_control-no_dialog = space.
    t_control-preview = space.
    t_control-no_dialog = c_x.
    t_output-tddest = g_spld.
    t_output-tdimmed = c_x. " Print Immediately
    t_output-tddelete = space. " Don't Release spool after output
    g_user_settings = c_x.
    Issue#1: Though i have set preview paramter to space, after executing program it is prompting for Preview Screen, There again i have to give printer name though i am passing printer name as above and i need to hit on print preview button to set Layout output.
    Here how can i go directly to layout output without preview screen.
    Issue#2: In some cases we need to Print the layout set output after executing program immediately without prompting for preview screen and then Layout set output should also be shown after printing the output.
    How can i solve these issues!
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    In the SAP menu screen goto <b>System->User Profile->Own data</b>
    There in the defaults tab, for the output device give the value you had maintained for <b>g_spld.</b> This will not prompt you a dialog screen, and if you want to print immediately select the checkbox as well. Then try to execute the smartform. Hope this solves ur issue.
    Tushar

  • Printout issue in Smart form

    Hi Everybody,
                   My ABAPer is having an issue in Printing Smatforms. He has created one Smartform for TC (Test Certificate) there he has mentioned some font style and its size. In Print preview it is coming as how he has mentioned in the smartform. when he takes printout from Dotmatrix(Epson) printer it does not come but it is coming when he takes it from Laserjet Printer.we want this TC to be printed in the Dotmatrix printer in such a way how he has mentioned.
                  He wanted me to check font families in se73.i think changes made in se73 will only affect script not Smartforms.how can i help him resolve this issue from Basis side
    Thanks&Regards,
    Siva

    Hi Siva,
    A Dotmatrix printer is a character based or a line based printer so while printing it will read the characters or the lines. A Laser printer is a Pixel Based Printer and can easily print graphics/boxes.
    I dont think a SMART FORM can be printed correctly on the DOT MATRIX printer because any misplacings while reading a line can cause the form to go haywire!
    No fix available in SAP notes.
    Refer this 19807 - print problems with standard driver STN2. It states there should be no mixed fonts on the same line. No strange tabs etc..
    Just make sure that you properly strip the margins out of the paragraph formats and keep the form proper in design.
    In one line - nothing really which can be done from Basis.
    Hope that helps!

  • Smart Form PDF layout issue

    I developed a from in smart form to send it as PDF attachment in email. It worked fine but I have a issue.
    When I send PDF it send in the way the the layout was designed but if some user sends it the fields are printed zigzag. Alignment is getting messed up. I have page layout defined in the smartfom. I am not printing the form so no printer is involved in development.
    How to handle the issue?
    Thanks,
    AP

    hello mate,
    i suggest to  2  things
    1.  the layout you see even though u r not printing it is dependent on the device type like ....LOCL ..etc
    2. the user settings have an effect
    Edited by: Tcode on Apr 9, 2008 11:44 PM

  • 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 printing issue in repeate page

    Hi,
    We have one smartfforms printing  some notification details in which Only one page layout is use and it is repeated again  at one block Upper margin is 18.23  and Height is 9.60 CM  on first page it is printing properly  but on second page it is stating at  Upper margin is 18.23   properly but not printing total height it is printing only two rows on second line.
    how to solve it
    the block is a interbal table and it is printing material and qty. of that table if material is more means there are more than 8 material then it is printing only upto 11 rows remaining rows it is not printing.
    regards,
    zafar

    Hi zafar,
    I searched SAP.COM for you:
    [Smart Form Trace|http://help.sap.com/saphelp_nw70/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm]
    Transaction Smart Form Trace, switch on, level 60 Fields. Process smartform. Analyze.
    What is the remaining question?
    Regards,
    Clemens

  • Driver program for GI(goods issue) smart form output type WA01

    Hi,
    i have designed one smart form for GI o/p type WA01 for Tcode MIGO ,but could get any standard driver program becoz in our server the standard program is for the script and not smart form.can anybody help me in finding the standard driver program for trigerring the smart form.

    Hi,
    Try prog SAPM07DR.
    Paras

  • Issue in External send - smart forms

    hi All,
    i have written a new print program for smart form and have assigned it to zoutput type.
    The print preview and spool are perfectly fine.
    when i give the medium as external send, it is not sending any attachmnet to the external mail id i gave.
    my code is as follows.
          PERFORM set_print_param USING  ls_addr_key
                                         ls_dlv-land
                                CHANGING ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         ret.
    FORM SET_PRINT_PARAM USING    IS_ADDR_KEY LIKE ADDR_KEY
                                  IS_DLV-LAND LIKE VBRK-LAND1
                         CHANGING CS_CONTROL_PARAM TYPE SSFCTRLOP
                                  CS_COMPOSER_PARAM TYPE SSFCOMPOP
                                  CS_RECIPIENT TYPE  SWOTOBJID
                                  CS_SENDER TYPE  SWOTOBJID
                                  RET TYPE SY-SUBRC.
      DATA: LS_ITCPO     TYPE ITCPO.
      DATA: LF_REPID     TYPE SY-REPID.
      DATA: LF_DEVICE    TYPE TDDEVICE.
      DATA: LS_RECIPIENT TYPE SWOTOBJID.
      DATA: LS_SENDER    TYPE SWOTOBJID.
      LF_REPID = SY-REPID.
      CALL FUNCTION 'WFMC_PREPARE_SMART_FORM'
           EXPORTING
                PI_NAST       = NAST
                PI_COUNTRY    = IS_DLV-LAND
                PI_ADDR_KEY   = IS_ADDR_KEY
                PI_REPID      = LF_REPID
                PI_SCREEN     = XSCREEN
           IMPORTING
                PE_RETURNCODE = RET
                PE_ITCPO      = LS_ITCPO
                PE_DEVICE     = LF_DEVICE
                PE_RECIPIENT  = CS_RECIPIENT
                PE_SENDER     = CS_SENDER.
      IF RET = 0.
        MOVE-CORRESPONDING LS_ITCPO TO CS_COMPOSER_PARAM.
      CS_CONTROL_PARAM-NO_OPEN
      CS_CONTROL_PARAM-NO_CLOSE
        CS_CONTROL_PARAM-DEVICE      = LF_DEVICE.
        CS_CONTROL_PARAM-NO_DIALOG   = 'X'.
        CS_CONTROL_PARAM-PREVIEW     = XSCREEN.
        CS_CONTROL_PARAM-GETOTF      = LS_ITCPO-TDGETOTF.
        CS_CONTROL_PARAM-LANGU       = NAST-SPRAS.
      CS_CONTROL_PARAM-REPLANGU1
      CS_CONTROL_PARAM-REPLANGU2
      CS_CONTROL_PARAM-REPLANGU3
      CS_CONTROL_PARAM-STARTPAGE
      ENDIF.
    ENDFORM.         
    after this i am calling smart form with all the required parameters.
    CALL FUNCTION gv_function
        EXPORTING
          control_parameters   = ls_control_param
          output_options       = ls_composer_param
          archive_index        = toa_dara
          archive_parameters   = arc_params
          mail_recipient       = ls_recipient
          mail_sender          = ls_sender
          user_settings        = space
        IMPORTING
            JOB_OUTPUT_INFO = ls_job_info
        TABLES
          zmm_purord_at    = zmm_purord_at
        EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
    i am not getting any mail to the desired mail id.
    Any pointers to this would be highly appreciated.
    Regards,
    Sreekanth

    hi All,
    i have written a new print program for smart form and have assigned it to zoutput type.
    The print preview and spool are perfectly fine.
    when i give the medium as external send, it is not sending any attachmnet to the external mail id i gave.
    my code is as follows.
          PERFORM set_print_param USING  ls_addr_key
                                         ls_dlv-land
                                CHANGING ls_control_param
                                         ls_composer_param
                                         ls_recipient
                                         ls_sender
                                         ret.
    FORM SET_PRINT_PARAM USING    IS_ADDR_KEY LIKE ADDR_KEY
                                  IS_DLV-LAND LIKE VBRK-LAND1
                         CHANGING CS_CONTROL_PARAM TYPE SSFCTRLOP
                                  CS_COMPOSER_PARAM TYPE SSFCOMPOP
                                  CS_RECIPIENT TYPE  SWOTOBJID
                                  CS_SENDER TYPE  SWOTOBJID
                                  RET TYPE SY-SUBRC.
      DATA: LS_ITCPO     TYPE ITCPO.
      DATA: LF_REPID     TYPE SY-REPID.
      DATA: LF_DEVICE    TYPE TDDEVICE.
      DATA: LS_RECIPIENT TYPE SWOTOBJID.
      DATA: LS_SENDER    TYPE SWOTOBJID.
      LF_REPID = SY-REPID.
      CALL FUNCTION 'WFMC_PREPARE_SMART_FORM'
           EXPORTING
                PI_NAST       = NAST
                PI_COUNTRY    = IS_DLV-LAND
                PI_ADDR_KEY   = IS_ADDR_KEY
                PI_REPID      = LF_REPID
                PI_SCREEN     = XSCREEN
           IMPORTING
                PE_RETURNCODE = RET
                PE_ITCPO      = LS_ITCPO
                PE_DEVICE     = LF_DEVICE
                PE_RECIPIENT  = CS_RECIPIENT
                PE_SENDER     = CS_SENDER.
      IF RET = 0.
        MOVE-CORRESPONDING LS_ITCPO TO CS_COMPOSER_PARAM.
    *   CS_CONTROL_PARAM-NO_OPEN
    *   CS_CONTROL_PARAM-NO_CLOSE
        CS_CONTROL_PARAM-DEVICE      = LF_DEVICE.
        CS_CONTROL_PARAM-NO_DIALOG   = 'X'.
        CS_CONTROL_PARAM-PREVIEW     = XSCREEN.
        CS_CONTROL_PARAM-GETOTF      = LS_ITCPO-TDGETOTF.
        CS_CONTROL_PARAM-LANGU       = NAST-SPRAS.
    *   CS_CONTROL_PARAM-REPLANGU1
    *   CS_CONTROL_PARAM-REPLANGU2
    *   CS_CONTROL_PARAM-REPLANGU3
    *   CS_CONTROL_PARAM-STARTPAGE
      ENDIF.
    ENDFORM.         
    after this i am calling smart form with all the required parameters.
    CALL FUNCTION gv_function
        EXPORTING
          control_parameters   = ls_control_param
          output_options       = ls_composer_param
          archive_index        = toa_dara
          archive_parameters   = arc_params
          mail_recipient       = ls_recipient
          mail_sender          = ls_sender
          user_settings        = space
        IMPORTING
            JOB_OUTPUT_INFO = ls_job_info
        TABLES
          zmm_purord_at    = zmm_purord_at
        EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
    i am not getting any mail to the desired mail id.
    Any pointers to this would be highly appreciated.
    Regards,
    Sreekanth

Maybe you are looking for