Change font in an Abap report
We'd like to change the fonts in an abap report that must print on screen, we tried to use the PRINT-CONTROL FUNCTION but seems good only to print on the printer
I agree with Naveen , However there is a small trick here if you can show the data in your report witht he entire line painted in Yellow , then it appears to be bold when you take the printout. Well , i have learned this in version 4.0B and whenever there was summary report or subtotals i used to paint that strip with colour yellow when you take printout it appears bold.
Thanks ,
Vievk.
Similar Messages
-
hi all,
is it possible to increase font size in abap reports.
i am trying to print a Zreport which is having line size of 325 . so i decided to print on A3 landscape . it seems to be printing very small size ,cannot be readable! . in this case i have to increase the font size of the output.
is their possibilities to do.
reply asap,
regards
vijayHi Vijay,
You can increase the font size during printing dynamically. In the Device Types -> formats, which ever format you are using, you can ask your Basis person to edit the format and increase the font size. Also the page setup like portrait, landscape, CPI, etc can be done there itself.
See the below link it will help...
http://www.sap-img.com/basis/how-can-i-print-a3-format-in-sap.htm
Regards,
P. Kumaravel. -
Hi Can any one help in creating a New Change history log for ABAP Report
SE38, put your cursor on an empty line within the source code editor, and click the pattern button. In the dialog, select the radiobutton for Pattern and enter the name of the pattern and click the green check. The wizard will then be triggered. Using the ABAP Report Wizard This first screen of the wizard is simply for information purposes.
How to create that log. How to Enter our user defined into SAP. I mean how to create and get our own one in other patterns F4 helpHi Mohan
To create a custom patter please go through the following Menu option in SE38,
Utilities --> More Utilities --> Edit Pattern --> Create/Change/Delete/Display Pattern.
Hope this helps !
Regards
Ranganath
PS : Reward points for all useful answers ! -
How do you change fonts in an HTML report?
Hello all,
I need to create a report from a test that I've written, and my only feasible option is HTML. Unfortunately, I know next to nothing about HTML, so I'm using the LabView VI's to build the report.
In the attached VI, I've written a program that simply plops a couple lines of text down and saves it in the HTML format. The color, font style, font type all seem to work fine, and when I change them I see the changes reflected in the HTML document. The size, however, doesn't change.
What I need to do is have the ability to have different lines of text be different sizes, or even 1 word in a sentence be a different size.
How do I do this?
What am I doing wrong?
Any help would be greatly app
reciated!
Dave Neumann
[email protected]
Attachments:
htmltrial.vi 78 KB
111.html 1 KBDear Dave,
The setting of the size is working but your parameters are inadequate for a HTML document.
The reporting VIs are generating HTML which is decrepated. It generates a FONT tag with a size attribute with "30pt" and "10pt" as you have set in the Set Report Font parameters. The HTML standard allows only values of "1" to "7". The standard works with relative sizes so a "pt" does not apply to it. "1" is the smallest size and the actual displayed size depends on the setting of the browser. In MS IE you can set it under View>>Size to one of five degrees.
If you would use "5" and "7" instead of "10pt" and "30pt" you will see the text in different size.
Your values are coerced to 7. That's why you see something you didn't expected.
Unfortunatly
I have no experience with the reporting VIs. I'm not sure if they can use the style sheet formatting which will allow font sizes measured in points.
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions -
How to change font size in Interactive report
Hi I am using Apex 4.02 version I need to get all reports into single page but it displayed excess the page limit. Example If report having more than 15 columns it should display in single page so I tried "break" option in all report column headers still it exceed the page. Can any one help me for this ..?
How to reduce the font size or table width in Interactive report?
Thanks
Edited by: Sara254 on Jul 9, 2012 11:29 PM
Edited by: Sara254 on Jul 9, 2012 11:30 PMHi,
you can do this in your style sheet.
Look for class .apexir_worksheet_data and change the font-size. -
Change font size in Z-Report created from template
A Z-report is being created from template which uses WWI.INI file integration to generate the report in Microsoft Word. In that report the text from phrases is passing over the specified text box. So all the phrases are not displayed.
Now user either want the size of font to decrease or change the size of the box.
We are going ahead with changing the font size. To do so we are editing the template in CG42. Is this approach is correct or we can change the font size from somewhere else??. If yes ,then how to proceed ??
Your help will be greatly appreciated as I am new to EHS and have very limited knowledge.Hello Aasim,
Just try it out
If you are afraid to destroy something on the WWI template create a copy of the template and do your testing there....
Read the SAP help on WWI.
Can I edit font in the Microsoft Word file which is generated after I click "Document (F7)" button??
Yes you can.
If yes , then suppose I change the font size in a text box there.Does the font of phrase's text also changes accordingly when the report is generated.
Yes.
And does that change is for all the phrases in that text box ( since no. of phrases varies according to the specification)???
Yes it will change the font size for all phrases in that text box.
There is an option in WWI where you can change the text size dynamically if the text is in a real text box.
However I'm currently not sure if this works for all kind of WWI templates or only for labels.
Hope this helps
Mark -
Changing font color in a report using SQL query for APEX 5.0
Hello,
I am testing APEX 5.0 in my testing environment to see if I can migrate my internal apps from 4.2 to 5.0.
How can I change the font color in a field based in the SQL query? I know how to do it in 4.2 but I can't find the same in 5.0.
Thanks,Well, I used to put the html tags in the select as text getting the color value depending a CASE , then I had to change the Display attribute for the column in the report as "Display as text (espace special characters...)".
I found an old post here: https://tylermuth.wordpress.com/2007/12/01/conditional-column-formatting-in-apex/ and this method still worked for me in APEX 5.0
Thanks anyways -
How do i change font in new abap editor
I had read the old thread that use Ctrl+scroll mouse but i think it just zoom in/zoom out.
When i activate it or change to another program, it's back to small font again.
Thanks in advanceHi,
try the below steps,
1. Click 'Customize local layout' button in tool bar (Alt+F12)
2. Select font.
here you can change the font, but it affect all the area in the layout.
Regards,
Boobalan S -
Change the font size in the ABAP report
Dear all,
Does anybody know how to change the font size in abap report.
Regards,
LukeHi,
Font size in ABA reports can be changed using PRINT-CONTROL COMMANDS. Here i provide you the code and description of using print commands to change the font size.
Be aware that the PRINT-CONTROL is not supported in SAP Enterprise 4.7
For your information, SAP cannot provide any support to error caused by print control command
(see SAP OSS notes 66478).
* Parameters for function below should be taken from your printer
* configuration in SAP - check SPAD transaction -
* standard print control
* print-control position 1 function: 'CI006', 'SF015'.
* Submitted by : SAP Basis, ABAP Programming and Other IMG Stuff
* http://www.sap-img.com
REPORT ZFONT NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
* Start of print-control
NEW-PAGE PRINT ON.
PRINT-CONTROL FUNCTION 'SF000'.
WRITE: / 'This is CPI 20'.
SKIP.
PRINT-CONTROL FUNCTION 'SF020'.
WRITE: / 'This is CPI 6'.
SKIP.
PRINT-CONTROL FUNCTION 'SF008'.
WRITE: / 'This is CPI 12'.
* Depending on your SAP printer device, this may also work
PRINT-CONTROL FONT 1 LPI 6.
* you can try to change font and LPI numbers
WRITE: / 'font 1 lpi 6'.
PRINT-CONTROL FONT 2 LPI 6.
WRITE: / 'font 2 lpi 6'.
PRINT-CONTROL FONT 3 LPI 6.
WRITE: / 'font 3 lpi 6'.
* End of print-control
NEW-PAGE PRINT OFF.
*--- End of Program
Hope this solves your problem.
Thank you,
Pavan. -
Hi ,
I want to know how to change font size in ABAP list report.
I want to enlarge the font size.
I have tried print control but it doesn't work.
I have also tried line size and line count
but it can only reduce the font size .
Thanks.
JohnHi Kong,
Try with following example:
REPORT ZFONT NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
NEW-PAGE PRINT ON.
PRINT-CONTROL FUNCTION 'SF000'.
WRITE: / 'This is CPI 20'.
PRINT-CONTROL FUNCTION 'SF020'.
WRITE: / 'This is CPI 6'.
PRINT-CONTROL FUNCTION 'SF008'.
WRITE: / 'This is CPI 12'.
PRINT-CONTROL FONT 1 LPI 6.
WRITE: / 'font 1 lpi 6'.
PRINT-CONTROL FONT 2 LPI 6.
WRITE: / 'font 2 lpi 6'.
PRINT-CONTROL FONT 3 LPI 6.
WRITE: / 'font 3 lpi 6'.
End of print-control
NEW-PAGE PRINT OFF.
End of Program
thnks
Anurodh -
Changes made in the web report selection scree do not appear on webpage.
Hi
I want to add 2 checkboxes on a web page of a report. I have done the changes in R/3 ABAP report (Added checkboxes on selection screen) and also released the report for internet using SMW0 transaction. But these two checkboxes are not appearing on the web page in internet explorer.
Whenever I try to access the URL
http://www.abc.com/scripts/wgate?~service=webrfc&_FUNCTION=WWW_GET_SELSCREEN&_REPORT=ZWR_PO_DELIVERY&_TEMPLATE=po_selscreen
it redirects it to the URL below
http://www.abc.com/scripts/po.asp?SESSION=PRD:ebgwebap:0000.00f5.7e1af317.e4db&SELD_EINDT_LOW=26.04.2008&SELD_BEDAT_LOW=01.04.2007&SELD_BEDAT_HIGH=26.02.2008
What should I do so that these two checkboxes would start appearing on the webpage?
Edited by: Pratiksha Parab on Feb 26, 2008 11:28 AMthats difficult to say without seeing the code in the template.
when you dont supply any _tempate value in the url, the system by default uses
WEBREPORTING_SELSCREEN template.
your po_selscreen may be a copy of this and modified to change the look and feel or something like that. compare these two and see whats causing the selscreen from appearing completely -
Need knowledge on sap upgrade 4.7 to ecc 6.0 in abap reports and sap query
please give me some ideas and useful links on sap upgrade 4.7 to ecc 6.0 in abap reports and sap query
Hi Jaya,
Not very clear with your question.
Are you looking for changes in areas od ABAP reports & SAP query when we upgrade SAP from 4.7 to ECC 6.0 ??
If the response is YES, then please refer to SAP solution browser www.sapsolutionbrowser.com
Define source release and target release .
You will get module wise details on new features for target release.
Hope this helps.
Regards,
Deepak Kori -
Bold character and font change in some portion of report
Hi All
while printing a tax certificate, i want some portion of data bold and some portion condenced. is it possible in abap report. i dont want to use sap script or smart forms for this report. kindly reply soon.
thanx/regards
manjitHi Ranjan,
You don't have a whole lot of print options with Reports.. you can get what you need to some extent using the
PRINT-CONTROL option on the REPORT statement. Please check theSAP Help for additional info.
Check this program also...
REPORT ZFONT NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
Start of print-control
NEW-PAGE PRINT ON.
PRINT-CONTROL FUNCTION 'SF000'.
WRITE: / 'This is CPI 20'.
SKIP.
PRINT-CONTROL FUNCTION 'SF020'.
WRITE: / 'This is CPI 6'.
SKIP.
PRINT-CONTROL FUNCTION 'SF008'.
WRITE: / 'This is CPI 12'.
Depending on your SAP printer device, this may also work
PRINT-CONTROL FONT 1 LPI 6.
you can try to change font and LPI numbers
WRITE: / 'font 1 lpi 6'.
PRINT-CONTROL FONT 2 LPI 6.
WRITE: / 'font 2 lpi 6'.
PRINT-CONTROL FONT 3 LPI 6.
WRITE: / 'font 3 lpi 6'.
End of print-control
NEW-PAGE PRINT OFF.
End of Program
Cheers,
Simha. -
Changing font in classical report
hi,
can we change the font of the output in a write statment?how?
thx & regards,
balaji.sNot possible in classical report
check this option....
Be aware that the PRINT-CONTROL is not supported in SAP Enterprise 4.7
For your information, SAP cannot provide any support to error caused by print control command (see SAP OSS notes 66478). * Parameters for function below should be taken from your printer
configuration in SAP - check SPAD transaction -
standard print control
print-control position 1 function: 'CI006', 'SF015'.
Submitted by : SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com
REPORT ZFONT NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
Start of print-control
NEW-PAGE PRINT ON.
PRINT-CONTROL FUNCTION 'SF000'.
WRITE: / 'This is CPI 20'.
SKIP.
PRINT-CONTROL FUNCTION 'SF020'.
WRITE: / 'This is CPI 6'.
SKIP.
PRINT-CONTROL FUNCTION 'SF008'.
WRITE: / 'This is CPI 12'.
Depending on your SAP printer device, this may also work
PRINT-CONTROL FONT 1 LPI 6.
you can try to change font and LPI numbers
WRITE: / 'font 1 lpi 6'.
PRINT-CONTROL FONT 2 LPI 6.
WRITE: / 'font 2 lpi 6'.
PRINT-CONTROL FONT 3 LPI 6.
WRITE: / 'font 3 lpi 6'.
End of print-control
NEW-PAGE PRINT OFF.*--- End of Program
Regards
Vasu -
Change font color in reports depending on condition
I have an application that generates a number of new records at
the click of a button, which the user can then modify through
several report-form links. My users have requested that the data
appear in one color in the reports if they have not yet updated
the records, and that they change color, permanently, when
updated. I'm not sure how to accomplish this. I do well with
PLSQL, but I think this is probably a Javascript issue(?) - or
is it possible to specify font color of a report when you call a
URL?
Any ideas anyone?Thank you, both Michaels. I was excited. I was sure this would
work, so I added the updated_by fields to all my reports (they
should be useful anyway). I worked on a couple of other issues
related to this, and returnred this morning to add the HTML font
tags to my report queries. I CAN'T MAKE IT WORK! I've attached
my code, and error message. Any thoughts on what I'm doing
wrong? Thanks.
(Note: The query works fine without the HTML tags.)
My code:
select '<font color=red>'||activity.act_text||'</font>' act_text,
from Activity, survey, temp
where activity.survey_id = survey.survey_id and
survey.survey_id = temp.survey
Error message:
Unable to describe SQL statement. Please correct it (WWV-13010)
Invalid SQL statement: SELECT '<FONT
COLOR=RED>'||ACTIVITY.ACT_TEXT||'</FONT>' ACT_TEXT, FROM
ACTIVITY, SURVEY, TEMP WHERE ACTIVITY.SURVEY_ID =
SURVEY.SURVEY_ID AND SURVEY.SURVEY_ID = TEMP.SURVEY (WWV-13005)
ORA-01001: invalid cursor (WWV-11230)
ORA-00936: missing expression (WWV-11230)
Failed to parse as MCHBGA - SELECT '<FONT
COLOR=RED>'||ACTIVITY.ACT_TEXT||'</FONT>' ACT_TEXT, FROM
ACTIVITY, SURVEY, TEMP WHERE ACTIVITY.SURVEY_ID =
SURVEY.SURVEY_ID AND SURVEY.SURVEY_ID = TEMP.SURVEY (WWV-08300)
I appreciate your help. I'm tearing my hair out.
Karli
Maybe you are looking for
-
Activation date just came, and went..
Hi all, It's kind of ironic that I decided to come back to BT because I had had enough of Sky. Being increasingly disgruntled with the service that Sky was providing over the last year (I had both line rental and Broadband with them), I literally cou
-
My Apple TV is suddenly not working. I have tried the trouble shooting suggestions of restarting, upgrading the system, checking everything etc, but to no avail. When I do a system test, all is ok, but I just cannot download /view my purchase - I ge
-
File transfers from external to mac osx laptop
I accedently deleted an albulm in Iphoto and it is on my WD external drive which was backed up several days before this occured however I had 2 libraries the album was in Library 1 and I do not want all of the photos just the albulm and I have all my
-
MSI Bundle error message: Access Token cannot be null
Hi I deploy Lotus Notes client to all workstations, but some workstation return the error message "MSI_Unknow_Error{Access Token cannot be null}",What reason will cause the error ?? Anyone seem the similar problem ? wyld
-
Hi, I'm using the following code to send the output of the scipt as a PDF attachment in mail. An exception 4(<b>operation_no_authorization</b>) is getting raised in SO_NEW_DOCUMENT_ATT_SEND_API1. Can anybody tell why this <b>operation_no_authorizatio