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

Bold longtext doesn't show bold in Smartform

Hello experts,

In our work order (shop paper) operation long text, the user can highlight a partial line of text as bold or underline to emphasize one aspect in the text. It appears properly in IW32/33.

When I check the text with function module READ_TEXT, the highlighted text has <H>......</> around it.

The shop paper is printed as a Smartform with the longtext printed using Include Text with text key from TDNAME, TDOBJECT, TDID and TDSPRAS and a particular paragraph format from Smartstyle. This works very well except that the highlighted text is not in bold. The actual <H>,</> do not print.

How can I get Smartform to recognize the <H> or <U> formatting commands.

We are on ECC6.

Thankyou in advance.

Ron

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2010 at 07:30 AM

    well the smartstyle assigned to your smartform has to know the character format H to be able to react on it.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 07, 2010 at 11:31 PM

    Hi Ron,

    I've never faced to format when use READ_TEXT.

    But if you use include text and want it bold or emphasis you can create a paragraph format in smartstyles then pass to include text node Std paragraph (general attributes).

    regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 08, 2010 at 02:17 AM

    Hello,

    Please review SAP note 742662 point 7 which explained the behaviour.

    7. Opening an existing ITF text with MS Word in edit mode and leaving

    it without any changes made to the text may lead to changes in ITF

    due to conversion to RTF and back. The user will be prompted to save

    the changes although no action in MS Word has been taken. Known

    reasons for this are for example:

    - Combined character formats in ITF, e.g. bold and italic, will

    be displayed correctly in MS Word but the conversion back to

    ITF will skip one of the formats

    Regards,

    David

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2010 at 02:41 PM

    Creating an 'H' character format in the Smartstyle solved the problem. Now I'll do the same for 'I' Italics and 'U' Underline.

    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.