Skip to Content
author's profile photo Former Member
Former Member

smartforms special formatting

Hi there,

at one of our customers we created an invoice form using smartforms. They used to have a sapscript form for the invoice. There they used to include the character format in the material text - e.g. <H>Water pump</> - which led to a specially formatted output - in this case in bold print. They had nothing to do but to print this text in the form using an ordinary variable &VBDPR-ARKTX&.

Now they want me to achieve the same using smartforms.

Using these format characters in a long text (like VBBP 0001) results in a correct output - but in a short text it won't work.

Has anyone of you a clue on how to do it?

Best regards from Germany,

Ingolf Dresp

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Dec 01, 2005 at 08:18 PM

    I'm under the assumption that you can do the same in Smartforms, You need to create a character format, you do this in the SMARTFORMS transaction, first create a style, Now under character formats, create one. Now you can use this character format in the SMartform code just like in the SAPscript.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      right, but our customer wants to be able to have the text formatted dynamically - THEY want to insert the formatting commands in the text so that they can determine the look of it in every single sales document position.

  • author's profile photo Former Member
    Former Member
    Posted on Dec 02, 2005 at 09:21 PM

    Hi Igolf,

    If you want to try-out all the various formats for your text, then you need to create those character formats in your 'styles'.

    Select the text, and choose the character format you want to apply.i.e similar to having as <B>&VBDPR-ARKTX&</>.

    In you case, check if you declared H as Character format BOLD?

    Hey, its possible to have the formatting in the text itself, only when, you define the same character formats(same name and format) e.g: H-Bold, I-Italic etc

    so, your text will be 'Material <H>Office clips</> are used <I>extensively</> in ofice.'.

    Regards,

    Raj

    Message was edited by: Rajasekhar Dinavahi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2005 at 06:36 AM

    Hi Ingolf,

    1. define ur style in Output options tab.

    2.when u use character format <H>Water pump</> also specify paragraph format which is created in style.

    It's working fine.

    If it solve ur problem,Plz rewards point.

    Regards,

    Digesh Panchal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2005 at 08:23 PM

    Hi

    Write the content in text , Mark the text and select the reqruied format from the character formats.

    Apart from this you have styles to which you can create using tcode SMARTSTYLES.

    Regards

    Kalpana

    Message was edited by: Kalpana Tyagi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2005 at 03:26 PM

    Hi,

    In smartforms you have to just select the Paragraph format and required Character format from the list box which you will see in the text editor of the text element.

    By selecting the formats which you have created in the "smartstyle" and write the text which you want to display.

    If its clear assign app. points.

    Regards,

    Suman

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.