Smart form Template

Hi Experts,
By mistake i have done the changes in Quality and saved and activated, then only i  came to know changes are made in Quality. Then I have done the changes in Development, and moved tr to Quality.
In development Template size is correct and fits in Window and i can see the preview properly.
But in Quality it is giving error, Template is not fitting in window, then i checked the Template, It is different from Dev.
Now i tried to go to change mode in Quality, but it is not allowing. How it was allowed earlier iam not getting idea.
Can any one help me, how i can resolve my problem.
Thanks in advance,

Hi,
Are you you have moved the DEV version to QUAL while the smartform was just activated.
Activate the smartform and transport it again.
If you transported an only saved version then it becomes not active in destination system.
Hope this works
Gr., Frank

Similar Messages

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

  • Smart form template size problem!!!

    Hi Experts,
    Now I met a pronlem about smartforms template. the cell in the template is set to 16CM width(which is enough) and height is only 3.5MM.
    and I define the sytle with font is 8pt.
    I input the text for the template and all check is fine. but the text cannot display when i test it. even i change the style font to 6pt, 5pt, 4pt, 3pt, 2pt... the text still cannot display.
    but when i change the template cell from 3.5MM to 4.5MM, it works fine and displayed the text.
    it seems the min hight of temlpate cell should be 4.5MM.
    doed anyone knows it? or give me some offical explanations? Thanks!

    hi,
    maybe you can check the lines per inch in the style. Mostly it is set to 6 lpi.
    Increase to 8.
    Hope it works.
    Gr., Frank

  • Merge cells between 2 rows in a smart form(template)

    Hi ,
    I need to merge two cells between 2 rows of a template.
    Like the first cell is a big one 10cm height and has two adjacent 5cm cells beside it.
    Can anyone tell me if this is possible.And if Yes ,How?
    Merging cells between columns work,but i am not able to do it betweeen two rows.
    I had some Options that i treid and ruled out are
    Since it is flowing data i cant use multiple windows and so the template needs to be in my mainwindow.
    I cant use multiple main windows also .
    This merging doesnt work in table also.
    Regrads,
    Sai.

    Well I dont know if i am not clear in my question.
    Let me articulate.
    It not the conditional display of rows taht i want to acheive.
    Its  merging cells between two rows.
    Like say first a cell of height 10 cm shoudl filled with text (say 'AB')spanning full 10 cm.
    And then adjacent to this 10cm cell , there shoud be two cells of say 5cm one below each other
    with say 'A' on the top cell and 'B' on the bottom cell.
    So you have one big 'AB' (10cm cell) and then beside this you have ' A' and 'B' one below each other.
    Like shown below the Bold 'AB' spans 10 cm from top to bottom ,beside this AB is A in the top 5cm cell and
    B in the bottom 5 cm cell.
    ABA
            B
    Regards,
    Sai.

  • How to assign standard texts assign dynamically to smart forms

    Dear Experts
    I need your help in adjusting the smart form texts dynamically. I will explain you the situation please revert me your valuable answers.
    1. I am integrating 12 smart forms using same program.
    2. Out of 12 smart forms 4 forms are having similar kind of template. Client is requesting like create one smart form template.
    3. By creating the standard texts you can assign the standard texts into smart form during runtime dynamically.
    4. Maintain all standard texts for smart forms in another custom table, during run time of the program you can assign the standard texts to smart form.
    5. Here my question is how to assign the standard texts to template texts dynamically ?
    Please revert me your suggessions.
    Thanks for your support.

    Hi Indra neel  ,
    You are maintaining all the standard texts in custom table right, u need to get standard text based on condition which works for your smartform
    than create text module in smartforms and change that to include text and give the variable name or internal tbale with field name in that text name fields and press (>) button and give the remaining fields in that than that will work dynamically

  • 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

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

Maybe you are looking for