on 02-23-2009 4:58 PM
Hi all,
I am facing an issue with the webgui:
When I am using it for transaction PZ02 or PZ03, the font of normal editable text fields is ARIAL (which is correct). However, every editable text field which only contains numbers is displayed in font monospace.
First I thought that I have to configure the corresponding dynpro of each service, but the settings for text fields with numbers or texts are the same.
I am using SAP ECC 6 (SP 14) and EP 7.
Thanks for any help.
Best Regards
Philipp
Hello Philipp,
Using a monospace font is the best way to guarantee that labels and non-edit fields will not be truncated when displayed in a browser.
Edgar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Philipp,
There is no "easy" way to change this behaviour (meaning there is not a parameter setting that can reverse this.) I'm sure there is a way to change it though if you change the css file, but that would be a customization and risks the display of the text. You'll have to search for the class that the monospace font is occurring in for you and change it to whatever font family you like. Good luck.
Edgar
Hi Philipp,
Can you let us know how you could acheive it? what code you customized? I have a similar requirement.
Thanks for the help.
Regards,
Ravikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
I have done the following changes:
1. In SE80 open Internet Service "WEBGUI"
2. Open the template "GUI_PRINTLABEL" in "WEBGUI -> Thema DM -> HTML-Templates"
3. Find the following code:
if (^~object_name[~index].monospace == "X")
monospace = "font-family:monospace; ";
else
monospace = "";
end;
4. Replace it with the following one:
monospace = "";
5. You also have to edit the template GUI_INPUT.
If you have any more questions, let me know.
Best Regards
Philipp
Hi, I have customized the code and Monospace is not appearing anymore.
Best Regards
Philipp
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 | |
6 | |
6 | |
6 | |
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.