on 08-24-2009 2:04 PM
Hi,
I have an Adobe based form for correspondence in SAP Learning Solution. That form contains a textfield which is binded to a context element that holds some text. That text containes several line breaks. However, in the textfield on the form those line breaks are not displayed.
The textfield is set to allow multiple lines which it actually does. But it just breaks the lines at the edge of the field and not where the line breaks in the text are.
Any clues how to get the line breaks correctly?
Hi,
I think the margins are ok. I guess its somehow that the textfield does not catch the formatting of the text.
Meantime I switched the field format to Rich Text (it was plain text before) and the data format in the binding to XHTML.
The text itself come from the context which is reading the data from an HR Infotype. The text is edited in an editor without any control characters. The same text is displayed properly in a BSP application so there should be some line breaks as I said.
I even added
<br />
to the text to force a line break. In the BSP application I can see that as a additional line break but in the adobe form it just displays
<br />
within the text.
Edited by: Stefan Zeißig on Aug 25, 2009 9:43 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Simple as that: in the editor for the context field the text looks like that:
Unit 1 Course Overview
Unit 2 Overview of Personnel Development
Unit 3 Setting up the Qualifications Catalogue
Unit 4 Creating & Evaluating Profiles
Unit 5 System Settings for Qualifications & Requirements
Unit 6 Career Planning
Unit 7 Succession Planning
Unit 8 Development Plans
Unit 9 Appraisal Systems
However, on the adobe form the textfield shows this:
Unit 1 Course Overview Unit 2 Overview of Personnel Development
Unit 3 Setting up the Qualifications Catalogue Unit 4 Creating & Evaluating Profiles
Unit 5 System Settings for Qualifications & Requirements Unit 6 Career Planning
Unit 7 Succession Planning Unit 8 Development Plans Unit 9 Appraisal Systems
As I said, even if I put XHTML control characters in the editor to force a line break it does not show in the form. Instead it just puts the string
<br />
into the text so it does not even recognize it.
Hi,
that 2nd scenario looks interessting. Unfortunately my form is created in the background and sent directly via email to the end user. I cannot expect the end user to push a button to see the correct formatting.
Anyway, meantime I got an answer from SAP saying that the behavior of this particular textfield is not an error but actually standard. The text for that field is pulled from a database table. Obviously that table holds the actual content and the control characters for the format in different fields. SAP developers found it should be sufficient just to pull the content without the format.
In fact that means we would have to change the form interface and the data gathering methods completely.
Of course, I also got SAP's #1 answer to OSS messages: Its not maintenance but we can do that on a project basis for you.
just check the margins of the page and the subform are same. also if you can give eg then it would be better to understand your problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.