Text elements in smartforms

Hi guys,
I am working on a smartform. I wanted to know how do i put a checkbox in my text element in my smartform?
Please help me out on this.
Thanks and regards,
Frank

Change the editor to 'PC Editor' and take the menu.
Include -> Characters -> SAP Symbols
Or
In a window u create a text element..
Then in the Properties of the text element there is tab with WEB PROPERTIES.. In that give a field name and the Input type ( list box will be there ) , give it as check box ,,
Thats it!! u will have a check box in that text element !!!!!!
No need to upload anything, just use SAP symbols.
For unmarked checkbox create a new text field and add symbol <727> in it.
For marked checkbox, use symbol <697>.
They do not show on print preview, but you can see them on paper or for example on .PDF output.
You can see a list of SAP symbols in transaction SO10, menu path Insert / Character / SAP symbols.
you can check the symbols using SO10. insert->character ->SAP symbols.
there you can see all the symbols and their representation.
Reward points if it is useful...
reward if it helps u...

Similar Messages

  • How to change the font size of text element in smartform

    Hi
    i want to know how to change the font size of text element in smartform
    regards
    Gincy

    Hi
    You can create Smartstyles, in which you can define paragraph formats for texts and character formats for character level changes.
    Paragraph format ---> alignment, font size etc
    character format for ---> superscript, subscript.
    After creating, in your smartform, there will be a option in the text element to enter a style.
    You give the created style and you can use the paragraph and character formats i that style.
    Hope this is clear..
    Regards
    Sekar

  • Text element in smartforms

    Hi guys,
    What is the use of text elements in smartforms? I am getting confused. For texts, we generally use text modules rite? So what is the difference between the two. Wehn am i to use text element and when am i to choose text module. Please explain me in detail
    Regards,
    Prem

    Hi,
    Text Elements (locally in form)
    To include data from the form interface (data from application tables) or system data (date, time) into the text, use system fields or user-defined fields in the text When processing the form, SAP Smart Forms replaces these fields with the corresponding values
    Text Modules (for reusing texts)
    You can use text modules to store texts that frequently appear in your forms which is stored centrally in the system. This detaches text maintenance from form maintenance, with the result that you do not need to call the Form Builder to edit individual texts.

  • Space left in the printout after hiding the text element in smartform

    Hi
    In my smartform there is space left in the printout after hiding the text element with condition.
    Is there any way by which we can remove the space in the smartform,
    Thanks
    Ank

    Hi ,
    I am displaying the text in table with two columns and in one column i am giving the text elemnt and in other the value.
    I had given the condition that if the data is not present then the text elemnt should not be shown in the form .My form is working perfectly except that its leaving the space for that text element.
    thanks
    Ank

  • Merge two text elements in smartform

    Hi Experts,
    Can I merge the 3sno(invisible) and total amount text field? The client wants to merge those and display total amount in the center.
    I have to disappear the line between these two and put the total amount in the left. But that doesn't look nice. Can I merge the two so that total amount can be displayed in the center.
    Regards
    Mani

    Hi ,
    You need to create a Line_type for that , and to assign you type of line to the footer of your table
    Go to detail ( as shown in picture ) ==> specify the size and number of fields ==> type you footer's line with the created Line_type , refer to the attached
    Best Regards

  • How to separate two fields in Text element of Smartform??

    Hi,
    I am trying to separate two fields by a space, for example &WA_ACC-G_L_ACCT& &GV_ACCT_TXT&, but evry time I save the smartform the space disappears and output is continous like 56000Product Materials.
    The desired Output I am looking for is something like 
    56000  Product Materials.
    How do I do this ??
    Thanks

    Hi ,
      U can try what Narendra has said ,if u are not able achieve then do this :
    Create constant c_space type char1 value space
    and try printing it between ur variables, ur problem is solved this way
    Reward if u find it useful
    Regards
    Sapsurfer

  • Smartforms  text element alignments

    Hi Experts,
    In my text element in smartforms, I need to provide some fixed space between two columns as below.
       txt1                                   txt2
    123456.00                         $6789.0
    But if value in coulmn1  is nil,  then column2  goes to left i.e the alignment  is disturbed as below:
    txt1                        txt2
                             $67898.0
    I cannot put template as i need to provide page protection.
    Pls suggest.
    thanks
    Dan

    Hi,
    U define a paragraph format in SMARTSTYLES with 2 TABS, then print the variables (text1, text2) with that Paragraph format.
    Eg:
    P1  &text1&,,&text2&
    The 2 comma's respresent a TAB, by doing like above it will freeze the space for each variable.
    OR
    define a template, split into 2 columns...drop Text1 in column1, text2 in column2..
    Hope its clear
    Regards,
    Pavan

  • In Footer text elements are spliting in smartform

    Hi,
    In smartform, I am using text elements for printing gross / net totals in the Main window -> Table -> Footer. Now problem I am facing is all the set of elements are breaking from page to page. I want it print in one page with out any page break. How should I do that. Please suggest.
    Thanks
    Ram

    Hi,
    In the footer text , in the output options tab ..there is a check box "Page protection".. Check that..
    Documentation for "Page protection"
    In some cases you may want to avoid that text is divided by a page    
    break. Therefore, you can protect text sections with a page protection.
    Thanks,
    Naren

  • Issue with if condition in smartform text elements

    Hi all.
    iam having a problem in smart forms
    itab has 3 fields
    id   matnr    werks
    1 a p1
    1 b p2
    1 c p3
    2 b l1
    2 c l2
    3 q u1
    3 l u2
    i neead output like in the smart form
    -id = 1-
    a p1
    b p2
    c p3
    -id = 2-
    b l1
    c l2
    -id = 3-
    q u1
    l u2
    I have aloop in main window
    itab into wa_itab.
    then i have program lines
    iam writing any perform statment insted iam write the code in here
    input paramters wa_itab-id
    output paramters id
    i declared id type zabc-id under global data in global definations
    CLEAR : ID.
    ON CHANGE OF WA_itab-ID.
    *BREAK point.
    ID = WA_ITab-iD.
    ENDON.
    after the program lines i have a text
    /: if &id& ne ' '.
    ---id = &id& ---
    /: endif
    &wa_itab-matnr&  &wa_itab-werks&
    now i see the output
    -id = 1-
    a p1
    -id=-  i don't need this (&id& has no value)
    b p2
    -id=-  i don't need this
    c p3
    -id = 2-
    b l1
    -id=-  i don't need this
    c l2
    -id = 3-
    q u1
    -id=-  i don't need this
    l u2
    I checked my code if two items have same id the id has no value and you can see the output also
    but for some reason its still goinng into the if condition
    And also is there away that i can debugg my text elements like in scripts. my break point doesn't take me to the text elements
    Thanks

    1. Move only the ID into one internal table say i_id,
    2. Now in your smartform,  create a table and loop at i_id into wa_id.
    3.Print your ID in a text, &wa_id-id&
    3. Now in main area  of the table Create a loop with the internal table you mentioned above with 3 elements, say, i_data into wa_data  give CONDITION as wa_data-id = wa_id-id.
    4. Print your other values &wa_data-matnr& &wa_data-werks&
    5. outside main area, clear the work areas.
    This should work fine as i use the same logic in one of my current developments!!!

  • Smartforms,How to display different standard Text in a Text element.

    In smartform,if I want to according to the different conditions,display one of the serveral different standard Text objects which all  maintained in SO10 in a same text element,how to do it?
    if i put them in serval text elements, each condition only display the corresponding text element,but the text content can not display in the same position.
    Is there anyone can tell me?
    thanks.

    use Alternative to control it no problem
    for example you want to display the different SO10 to same position TEMPLATE's row 1 col2
    TEMPLATE1
    Alternative case1
    YES
    INCLUDE TEXT1(display SO10) [set output option line1 column2]
    NO
    Alternative case2
    YES
    INCLUDE TEXT2(display SO10) [set output option line1 column2]
    NO
    Alternative case3
    every case your SO10's text is always display at line2 column2
    just try to test it ,you can know

  • Need info about text elements used in Smartform / Sapscript

    Hi experts
    I am working on Smartform / Sapscript i am facing the problem mentioned below
    I want the info regarding all the text elements used in Form / Script
    Can u please suggest me the name of table
    I have already used STXH table but it is not giving me the all text elements
    I mean i want that if i enter some formane ...i should get all the text elment contained in it
    Plz help me
    Thanks

    Hi Gaurav,
        Try out the fn module "READ_TEXT".
    Hope it helps you.
    Regards,
    CS.
    Note: Reward points if helpful.

  • Smartform u0096 SO10 Vs Text Elements for Lang translation

    Hi,
    I have lot of text elements to be created in smartform, which needs to be translated in different languages. I would like to know the best approach. Is it better to create S010 objects and have them maintained in different language or is it better to maintain as text elements and then get them translated via SE63.
    Can some please suggest the best approach with reason for the same?
    Thanks,
    Vimal

    hi
    It is better to create in SO10 because if you want those elements in feature for any other purpose you can directly use those text elements.
    regards
    sreelatha gullapalli

  • Smartform problem with text element

    Hi,
    In smartforms text element, we have this variable; &V_TEXT2(L)&.
    My question is, what does the 'L' means there? what is it's purpose?
    when we pass on numeric values into it, it's converted to something else. It does not show the correct output.
    example:
    v_text2 = 6245183
    shown on the report is HEIS57YR18MO3 DY.
    thanks!

    Freishz,
    Please refer below link.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
    page 72.
    Regards,
    Anmol Saxena.

  • How the text elements of the SMARTFORMS can generate a field?

    Hello guys
          I have got this problem of not getting the value of the fields from the smartform. i wrote the text element to populate the field by inserting as the following &IV_BID_HEADER-PROCESS_TYPE& first it comes with the shaded background but after i activate the smartform  the shaded part will gone and it remain as &IV_BID_HEADER-PROCESS_TYPE&  which basically cannot populate any value.
    can anyone help me on this,to keep the field remain shaded at the background which basicallly can populate the values of the fields.
    Thanks

    Hello,
    Please click on "FIELD LIST on/off" or ctrlshiftf4 and then drag and drop the same from the left bar.
    First find whether you have declared the value in Global Variables OR in Import/Export Interfaces.
    Hope this was helpful.
    Cheers,
    Suvendu

  • Smartforms - Change a text elements character Format

    Hello,
    I need to modify a Smartform by increasing the font size on some text elements.  When I highlight the text element to change and then click the dropdown for Character Format I can click the format I would like but it never changes.
    I've also tried resetting the character formats but it always gets back to it orginal size/settings.
    How can I change the character format in a text element?
    Thanks,
    Matt

    It appears I have to delete the field then change the character format to the font I want and finally drop the field back into place on the screen.
    If there is another way to do it, I never found it.
    Switching to the classic editor may work as well.  Worth trying.
    Thanks,
    Matt

Maybe you are looking for