Template in smart forms

what values we should give in horizantal alignment&vertical alignment in TEMPLATE node?can u suggest me sites for how to  use TEMPLATE &TABLE nodes in smart forms?

hi,
we can say Template is just for a static value and table is for dynamic values..
Template can be heading columns for a table (constant)
Table contains data (as many as we retrieve from data base..)
material   Plant }Template
1                   nl09       }- table first row
2                  lt01
23                 It09
reward if useful
regards,
nazeer

Similar Messages

  • In smart forms-- difference between table and template

    can you please tell me what is the difference between table and template in smart forms,
    and als give me some object developed in smart forms.

    it is not recommended because, when ever we activate the smartform it generates one function module.
    if we transport that driver program and smartform to testing or production, in that server the generated function module name will be differ.
    hope u got it.
    for this we need to use these function modules.
    SSF_FUNCTION_MODULE_NAME
    FM_NAME
    regards.
    santhosh reddy
    reward if useful
    Edited by: Santhosh Reddy on Feb 16, 2008 7:52 PM

  • How to achieve dynamic page break in Smart form

    Hi
              1.How to achieve dynamic page breaks in Smart forms.
               2.What are the various table types in Smart forms.
    Regards

    <i>Dynamic page break : </i>
    create a node of type COMMAND and in its attributes check "Go to new page".
    <i>There are Tables and Templates in smart forms :</i>
    Use node type <i>Template</i> to display a table whose layout and size (number of lines and columns) is determined before the runtime of the print program else use <i>Table</i>.
    Take a look at <a href="http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf">SAP Smart Forms (BC-SRV-SCR)</a>
    Regards

  • Copy of Smart form templates

    hi experts ,
    is it possible for copying the template of a smart forms to another smart forms ?
    regards
    chinnaiya

    Hello,
    If you want to copy and paste the template of one smart form to another smart  form, i don't think it is possible.
    You will have to re-create the template in the smart form. it's a few minutes job. Just take the template as reference and create it in the smart form.
    Regards,

  • How to draw vertical lines in SMART FORMS

    Hi Guys,
    Can anyone please let me know how to draw vertical and horizontal lines in smart forms, i have to do this in the secondary window.
    thanks,
    Ramesh

    Hi Ramesh,
    In the window output options you have option of check box to get lines.
    Then you need to give the spacing for vertical and horizontal.
    Another option is putting a template on window and getting the boxes, but it is quite little bit complex.
    Put the cursor on the WINDOW in which the lines you want.
    Right click on it>create>complex section.
    In that select the TEMPLATE radio button.
    Goto TAB TEMPLATE.
    Name: give some name of line.
    From: From coloumn.
    To: To coloumn
    Height: specify the height of the line.
    Next give the coloumn widths.
    Like this you can draw the vertical and horzontal lines.
    If the above option doesnot workout then u can try the below option also
    any how you can draw vertical and horizontal lines using Template and Table.
    for Template First define the Line and divide that into coloumns and goto select patterns and select the required pattern to get the vertical and horizontal lines.
    For table, you have to divide the total width of the table into required no.of columns and assign the select pattern to get the vertical and horizontal lines.
    if this helps, reward with points.
    Regards,
    Naveen

  • Smart form-table header-box

    Moved to correct forum by moderator
    Hello All,
    in my smartform iam displaying the data by looping a table. i ahve put a header inside loop.
    and for each new sales order , ia m going explicitly to new page, and when more number of items are there, that can fit in one page, then the smartform implicitly going to new page.
    my problem is, when smart form implicitly going to new page, the MAIN WINDOW is not called, so my header is not displayed. iam displaying this header using a template.
    the other windows, like date etc...are displayed, even if it goes to new page implicitly.
    is there any way i can show the header (in template), in page that called implicitely.
    Thanks in advance
    Best Regards,
    Amarender Reddy B
    Edited by: Matt on Dec 17, 2008 9:59 AM

    >
    Amarender Reddy Busireddy wrote:
    > Hello chenna
    > thanks for your answer
    > can you let em know, how to check that, i am getting that check box in display mode, even if enter the smart form in change mode.
    >   i tried many ways but i could not make that check box editable
    Thats because your table is not in the MAIN window I suppose. Keep your table in the MAIN window of the smartform and then Chenna's solution would work fine.
    Vishwa.

  • 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.

  • Problem in designing tag in smart forms

    HI gurs,
           i want to design tag for pp module with some fields like
    profile no, order qty, sales order no, cut length etc.
    i want to take print that tag with data.
    for that i need to design in module pool or smart form or both.
    In my knowledge,
    i design tag in smart form,
    write print program in se38,
    then throw call function SSF_FUNCTION_MODULE_NAME
    i called that form in program.
    but if  i called fm_name through pattern
    1) i got error Function FM_NAME not found
    2) in smart form ,
          form interface->import
            i declared itab type plaf
         window->template-> loop->
        i declared
               itab into itab
    but error is
    itab is neither specified under tables nor is it defined as an internal table
    any one correct me.
    Thanks & Regards,
    vino.
    Edited by: vino_abap on Feb 8, 2011 6:05 AM

    Hi,
    1. I think you should change the declare of ITAB from tab IMPORT to tab TABLES: ITAB LIKE PLAF.
    2. After that generater your form after call SSF_FUNCTION_MODULE_NAME
    DATA: l_fname     TYPE rs38l_fnam.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'FORM NAME'
        IMPORTING
          fm_name            = l_fname
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        MESSAGE s999 WITH 'Cannot find form to print'(005).
        EXIT.
      ENDIF.
      CALL FUNCTION l_fname
        EXPORTING
    *----- your input parameter
        TABLES
    *------ your input table parameters
        EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
      IF sy-subrc EQ 4.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Above is just an example.
    Regards,

  • URGENT: REGARDING SMART FORM CALLING FROM REPORT

    HI,
    I had made a report in which i have to display the output in smart form ,the problem is this i had delclared only 1 INTERNAL TABLE and i dont know how to display it in the smart form as i am new to it .
    if help me out with solution ,he or she will be definately rewarded.
    regards,
    ric.s
    Edited by: ric .s on Dec 21, 2007 10:22 AM

    Hi,
    You need to craete a SMARTFORM using transaction SMARTFORMS. In this trasaction under FORM INTERFACE give the variable which would be passed from your program.
    Then use these variables and pass the information in Windows which you will create in your smartforms.
    When you activate your SMART form it will create a Fucntion Module whihc you need to call from your report program.
    Please go through the information given in thread :
    http://help.sap.com/saphelp_nw2004s/helpdata/en/16/a369b1800e4bdda978ee0fe3b7bd2c/frameset.htm
    /community [original link is broken] hreadID=187587&messageID=2096976#2096976
    /community [original link is broken]threadID=187587&messageID=2096976#2096976
    Refer to the following:
    http://esnips.com/doc/7e67af5c-6188-4252-8613-41816756d560/from-sappres.pdf
    http://esnips.com/doc/58566115-54a4-4405-8872-8de952e245e5/smartform.pdf
    http://esnips.com/doc/2276d194-dc47-4b1e-9c14-7af0ffe923ca/smartforms-xsf-output.pdf
    http://esnips.com/doc/13b7ae7a-b32c-4b96-b588-881859d4ac99/Template,Table,Loop,Command-in-Smartforms.doc
    http://esnips.com/doc/97acb00a-e513-4611-91f0-c626f460bfc5/Smart_Form_Overview.pdf
    http://esnips.com/doc/77a981b9-8fe3-4fbb-8101-67745c1fe60c/SMART-FORMS_shail.ppt
    Smartforms Step by Step...links
    Smartforms Step by Step...
    http://www.sapgenie.com/abap/smartforms_detail.htm
    Smartforms
    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
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    This would give you information about smartform.
    Though the info is bit extensive but will surely help you.
    Reward if u find this useful.
    Regards,
    Lalit

  • How to use Read_text in Smart Forms for printing Header Texts

    Dear ALL,
    I want to print Header Texts in SmartForms, For that
    I am using T/Code VL02N .. and choosed  Header ..
    got this details...  from Text Header.
    Text Name       :0080000441
    Language         :EN
    Text ID             :Z002
    Text Object       :VBBK.
    So in Smart forms Under Template i have created a text and Program Code .
    Inside that I have used this below code .
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    *CLIENT= SY-MANDT
    ID = 'Z002'
    LANGUAGE =  SY-LANGU
    NAME = NAME
    OBJECT = 'VBBK'
    TABLES
    LINES = IT_TLINE
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    NOT_FOUND = 4
    OBJECT = 5
    REFERENCE_CHECK = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS = 8.
    IF SY-SUBRC 0.
    CLEAR IT_TLINE.
    ENDIF.
    Kindly suggest me, Where  to declare the variables and loops for using this Read_Text Syntax in Smartforms .
    Response to this will be highly appreciated........  
    Regards ,
    Vinoth.

    hi
    good
    please check this code
    CONSTANTS:
    *For text reading like in LCNMMFTX / FORM SET_CONTROL_TEXT
               text_id  like thead-tdid     value 'MATK',
               text_obj like thead-tdobject value 'AUFK  '.
    data tlines like tline occurs 0 with header line.
    data tdname like thead-tdname.
    data tdheader like thead.
    if not it_proj-ltxsp is initial.
    refresh tlines.
            tdname = sy-mandt.
            tdname+3 = it_proj-rsnum.
            tdname+13 = it_proj-rspos.
            tdname+17 = it_proj-rsart.
            call function 'READ_TEXT'
                 exporting
                    id        = text_id
                    language  = it_proj-ltxsp
                    name      = tdname
                    object    = text_obj
                 importing
                    header    = tdheader
                 tables
                    lines     = tlines.
                exceptions
                   not_found = 01.
    thanks
    mrutyun^

  • How to add empty rows in table in smart form

    how to add empty rows in table in smart form?
    plz help me regarding this
    send me ur queries to [email protected]

    You will need to add some extra rows to the internal table that your table is displaying.  Use a program node to append additional rows with a key but no argument.
    Alternaively a template may me more suitable for your requirement than a table.
    Finally, please do not include you e-mail address in your question.  Your question and the answers provided to it are for the benefit of everyone in the Community.
    Regards,
    Nick

  • 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

  • Dynamic graphics in Smart Forms

    Dear All:
    I have a requirement in my SMARTFORM page development that i have to place a dynamic graphics and printout.
    Does anyone know how to control the dynamic graphics in Smart Forms?
    Any help whould be highly appreciated.
    Many thanks in advance.
    Regards,
    Elvis

    Hello,
    You can call the graphic dynamically as per your requirement by calling the Graphic dynamically, For ex: Name of the graphic: &WA_ITAB-FIELD1& ( which is a field of IntTab ITAB taken into Work area WA_ITAB ).
    Also please note that you cannot print / overlay text in a diamond, perhaps you can have a work around to print the graphic and beside the graphic you print the Customer short name. for this you can either define a table / template.
    Hope this helps you.
    Best Regards,Murugesh AS

  • How do you convert Smart Forms to Interactive forms

    I believe it is possible to convert SAP Smart Forms to Interactive Forms.
    Has anyone done this? If so could you tell me the steps?
    Thanks
    Patrick

    Let me add that the settings of the wizard that come up are the SAP-recommended ones. They refer to the parts of Smart Forms that migrate relatively easily.
    SAP-internal experience over the last 3 years has shown that in most cases Smart Forms are very complex, and that it is therefore easier and less time-consuming to
    1. analyze the Smart Form carefully
    2. separate each business form into a separate form template
    3. re-create the Smart Form in the Interactive Forms solution from scratch.
    The hardest thing to overcome within SAP's development community (though very, very important!) was to discard the Smart-Forms- or SAPscript-minded approach to form design/development, and instead accept a new approach.
    Best regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • ERecruiting : Smart form for Correspondence activities

    Dear Experts,
    I have a question regarding the corresponding activitiy smart form customisation.
    Till enhancement Package 3, we could customize the smartform in 2 ways
    HTML editor
    Changeable Letter Sections
    But in Enhancement package 4, there is only the changeable letter section option available. So, if we have implemented earlier using HTML editor, how will this be taken care for the changeable letter section.
    Should the smartforms be converted first ?
    Any info how the corresponding activities template is handled in Ehp4 will be very helpful.
    Many thanks,
    Sowmya

    Hi Sebastian/Sridhar,
    Thanks a lot for your inputs.
    I have a further question regarding the same topic.
    Client is not very happy with the editor which is currently available(Ehp4) to change the correspondence letters. There is limited formatting options(font change, colour change etc) which was available in the HTML editor in Ehp3.
    I understand this is because in the WD4A UI,it is based on the FormattedTextEdit element.
    In BSP, for the HTML editor, the BTF editor is used.
    My question would be,
    Can we still not use the HTML related smartform in EHp4. an idea would be to use a BSP page from the WD4A page to bring up the smartform in the BTF editor? Is this feasible when storing the changes to the smartform?
    Else, if we have to compulsorily convert the smartforms to changeable letter section, can i still somehow call the BTF editor through a BSP page & make and save the changes?
    From your experience, what seems like a doable solution?
    Thanks & Regards,
    Sowmya

Maybe you are looking for