Font attributes of a text element in a smartform

Hi Folks,
I have a text element in a smartform for whic I am using a Smartstyle to set the font size,style etc.
In the text editor I have it like this-
k1 Net Quantity:&itab-quantity&.
k1 is the paragraph format I had declared in the smartstyle with fontsize 14.
Net Quantity is hardcoded in the text editor.
Now I want to set a different font size  only to the &itab-quantity&.How to achieve this.
Thanks,
K.Kiran.

Hi Folks,
Got the Solution,We can do it by declaring a character format with a different font size.
k1 Net Quantity: <c1>&itab-maktx&</>
c1 is the new character format with a font size that applied only to maktx if given the above way in the text editor.
Thanks,
K.Kiran.

Similar Messages

  • How to Remove Blank spaces in the text elements for a smartform

    Hi All,
    Can any one please help me out to remove the blank spaces in the text elements.
    We are printing Labels using the Zebra Printer and we have rotated the windows to 90 degrees.
    We are able to see out text and barcodes. But the issues is when we are printing the label. We are getting spaces in the Text and in the Text elements fields. I have tried to give &g_name(C)&. But it is not working even i worked with style sheet spaces no luck.
    Currently out text and fields are printing like this
    s h r i y a n
    material number
    1111  -001  -000
    They should print like
    shriyan
    1111-001-000
    According to the ZEBRA suggestions we are using the font helve.
    Plase help us it is very urgent.
    Reward point will be given.
    Thanks

    Hi,
    Just use Condense g_name inside the program lines.
    Just to see how it behaves put a hard breakpoint.
    Break Username. and check the condense statement.
    condense <your field> no-gaps.
    Create program lines ahead of printing. give the field you want to condense in the input and output parameters of the program lines.
    Use condense inside the program lines.
    Thanks,
    Vamshi.

  • Problem in line items(text elements printing) in smartform

    Hi all
    Here iam printing line item data in invoice form
    around 7 fields(text elements) iam having  the fileds are displaying one by one
    I need to diplay all 7 fields one after another with some gaps in the same line
    can u please let me know how to do it with text elements
    thank you

    Hi,
      create a table. In once line type(Line type 1)  create 7 different cells (Columns) for a single row.
    For eg:
    Line typ1 :  cell1 cell2 cell3 cell4 cell5 cell6 cell 7.
    cell1 : &mara-matnr&
    cell2 : &mara-ersda&.
    like soon in 7 different cells.
    Br,
    Laxmi.

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

  • 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

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

  • 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

  • Navigational Attribute as Text Element

    Hi...
    I have a report which shows list of Titles in the first column and the corresponding amounts based on several account and profit center restrictions in the further columns. 
    Titles basically are movie names.
    Titles have navigational attributes like Video Release Date, Theatrical Release Date. These navigational attributes can be displayed in the report. But, the user doesn't want to display them in the report. He wants them to display them as the text elements.
    As we are neither using a filter nor variable on these navigational attributes, these are not being shown as text elements.
    Is there any way, I could show these navigational attributes for a given title as text elements?
    Thanks,
    Sai.

    Ok, let's make this simple. I have a Title: 9381780, which has navigational attribute, Theatrical Release Date: 01/09/2004.
    In my query definition, I have this title restricted by this value 9381780 and the navigational attribute in the rows panel.
    Now, the query displays me the both the Title and it's navigational attribute as columns in the report.
    But, if u see the text elements, I see only Title: 9381780, because it's a filter.
    I cannot see the navigational attribute, Theatrical Release Date: 01/09/2004 in the text elements because it is neither a filter nor a variable.
    I want to display this navigational attribute, Theatrical Release Date: 01/09/2004 in as a text element.
    Hope I made it clear.
    Thanks,
    Sai.

  • How to change general attribute of text element

    hi
    who now how to change general attribute of text element on screen dinamically? I wish to change text value dinamically for example.

    Hi Denis,
    I am not too sure on what you want.
    If you require that the text value be different based on some conditions you can declare as many text elements as conditions and call the relevant text element.
    But I dont think that you can assign dynamic texts to a single text element.
    Regards,
    Saurabh

  • Gumbo text elements and embedded fonts

    Hi again,
    ok I found the solution. The first time, I searched in the "CSS Advanced Selectors" spec document for the solution and I found nothing about it. Then I had the "great" idea to look in the only right place which is of course "Text Primitives (TextBox, TextGraphic, and TextView)". There I found the hint about "DefineFont4" which, with some search, led me to the solution:
    1. Add the new property "cff: true" in the "@font-face" css block
    2. Set the property fontLookup="embeddedCFF" for the text element
    et voilà!
    I hope this will save somebody else some time!
    Haykel Ben Jemia
    Allmas
    Web & RIA Development
    http://www.allmas-tn.com

    OK,
    I have given up messing with stylesheets, trying display:
    block, inline, different ways of formatting the XML, messing with
    XML.ignoreWhiteSpace, and XML.prettyPrinting etc.
    I went down the route of encodeURI, using a RegExp to strip
    out all tabs, linefeeds and carriage returns. This now gives
    consistent results for all situations, even embedded and none
    embedded fonts.
    e.g.
    _text:String = TEXT FROM XML, HTML TEXT etc
    var st:String = encodeURI(_text);
    var pattern:RegExp = /(%09)+|(%0A)+|(%0D)+/g;
    st = st.replace(pattern, "");
    st = decodeURI(st);
    YOUTEXTFIELD.htmlText = st;
    The <p> tags still behave as a <br/> tag, but you
    can add an extra <br/> to simulate a paragraph.
    Here is the example again with the updates,
    Hope this helps someone

  • Web Application: Display attribute in text element

    Dear all,
    we want to display an display attribute (0RESP_PERS as of 0COSTCENTER) in the header area of an web application. Therefore I tried to use an text element. I'm able to display the cost center itself, but haven't found the opportunity to display the related responsible person.
    Any ideas?
    Thanks in advance.
    Best regards,
    Daniel

    Hallo Daniel
    were you able to solve your problem?
    I have the same requirement  - display the cost center owner (attribute) of a cost center (characteristic) in a web template. I'm using NW2004s with the BI 7.0 front end tools.
    Thanks in advance.
    Best regards,
    Jürgen

  • Change font color in the Text Field of a Popup Key LOV

    Hello,
    I have a question concerning Popup Key LOV.
    I want to change the font color in the Text Field of the Popup Key LOV Item.
    I searched the forum but I cannot find an answer about this! Although I searched the CSS and the Popup Key LOV Template, but I do not know where to modify the font color.
    Has anyone an idea how to solve that problem?
    Regards,
    Tim

    Hey,
    thank for your reply!
    I use style="color:#000000;" and it work in Firefox, but not in Internet Explorer 7.0!
    And that is not the first time, that there are differences in displaying those tags in the HTML Form Element Attributes and in css files, etc.
    Does anybody know I to solve that?
    Thank you,
    Tim

  • Text elements not centered anymore once project goes live

    Hi guys,
    I've discovered Edge Animate a few days ago and I really love that it looks and feels a lot like After Effects - you should exchange and implement some functions of EA to AE (i.e. the curves easing options) & vice versa though
    What I went through, until know
    First of all, I am a Worpdress user using a responsive theme and the Edge Suite plug in.
    I've created a typo animation using a custom licensed web font and it took me a while to get it to work properly - the web-kit generated by the myfonts.com kit builder didnt' work with EA, so I had to let fontsquirrel create one instead. Now, the SVG font file gets exported upon export, but the EOT, WOFF and TTF files don't - not sure if it's a bug, but it's an easy thing to copy the files via FTP to the "../uploads/edge_suite/project/..." folder in order to fix this.
    My Problem
    After uploading the animation to my server via the Edge Suite plug in, approx. 50% of the text elements are not in the right place anymore. The affected elements are all offset by a fixed amount of pixels vertically, while they actually should be centered. When I run the HTML file of the exported web animation locally, everything's fine though.
    The problem occurs in Chrome, Safari, Firefox and on the iPhone.
    Has anyone experienced a similar issue?
    Will

    It seems like it is related to Wordpress or the Edge Suite plug in.
    HTML
    I've uploaded the animation (using web publishing) to a folder on my server, and everything is fine.
    Wordpress
    I have analysed the code of the animation being rendered on my Wordpress site, but the CSS coordinates all correspond to the parameters inside EA.
    I've also installed the Edge Suite plug on a different Wordpress installation (a complete different site) of mine, and the results are even worse. It seems like the origin of some elements is being tossed around space.
    That said, I'm clueless.

  • E-Recruiting: New Text element on WebDynpro page of External candidate

    Hi,
    I have a requirement to add a new text element on the personal data tab of the candidate profile. I have tried this through application configuration method, but the existing Text elements are not sufficient to accomodate the text matter that i need to insert.
    I want some additional elements where they can accomodate my new text.
    Is there a possibility of doing this without making the compeonent a 'Z' one?
    Thanks,
    Suresh

    Hi Suresh,
    Yes there is one possibility to do this .After you accomodated the new text thru the component config and
    if you are still left with the text which needs to be added then create an enhancement and add an text element and bind it to the attribute just below the text element required and in the modify view method of the view bind the text to the attribute.
    All this has to be done thru enhancement in the std component.
    Thanks & Regards,
    Dipu.B

Maybe you are looking for