In SAP 4.6c In classical reports output how to change Font size and Font type
Dear Experts,
In SAP 4.6c, in classical and interactive reports output how to change font size and font type.
Regards,
Zaker.
These are HTML formatting questions. Nothing to do with the Oracle SQL and PL/SQL languages.
With old-style HTML, the font size and family are set using the font tag.
With modern style HTML, that is done using cascading style sheets (CSS).
Your favourite search engine will turn up tons of information on both.
Similar Messages
-
Can we change font size and font type in reports
Hi All Technical/Functional Masters,
We are developing some transactional reports in ISU. this report has 20 columns to be printed. On screen, display is not a problem but client has a requirement to download this report in PDF format and wants to print on A4-paper in Landscape. Although we have managed to accommodate all the columns on A4 paper but have to compromise with font size that are very small and not visible. If we download the report in excel format we are able to maintain the font size 8 and accommodate all columns after little format but same in PDF is a problem.
Can anyone tell whether we can increase the font size and change font type(from SAP standard to 'Arial') before sending the output in PDF ? Is there any property or utility that can be changed or used for this purpose.Function Module : CONVERT_ABAPSPOOLJOB_2_PDF
Include : THSTXWFPL
for modify font size
decrease fontsze foncharacter will increase
fontsize = 120. <-- Change
fontsize = 100. or fontsize = 80
Depend on your logon lang. My case logon 'TH' or 2. I modified font ZCORDIA (refer CordiaNEW thai font)
if is_cascading is initial.
case language.
when '0'. "Serbian
font = 'COURCYR'. devtype = 'SAPWIN'.
when '1'. "simpl.Chinese
font = 'CNHEI'. devtype = 'CNSAPWIN'. cjklang = 'X'.
when '2'. "Thai
font = 'THDRAFT'. devtype = 'THPDF'.
font = 'ZCORDIA'. devtype = 'ZMTHSWNU'.
font = 'THANGSAN'. devtype = 'ZPDFUC'.
when '3'. "Korean
font = 'KPSAMMUL'. devtype = 'KPSAPWIN'. cjklang = 'X'.
when '4'. "Romanian
font = 'COURIER'. devtype = 'I2SWIN'.
when '5'. "Slovenian
font = 'COURIER'. devtype = 'I2SWIN'.
when '6'. "Croatian
font = 'COURIER'. devtype = 'I2SWIN'.
when '8'. "Ukranian
font = 'COURCYR'. devtype = 'SAPWIN'.
Add font Cordia Thai
SE73 --> Fon familia --> ZCORDIA
Load Font Cordia thai to system
SE38 --> RSTXPDF2UC
load CORDIA.TTF
SE73 --> printer font --> 'ZMTHSWNU'
Add ZCORDIA font and copy AFM Metric from = 'THDRAFT'. devtype = 'THPDF'.
Modify AFM
example
*----- OLD--
StartFontMetrics 2.0
sapFamily ZCORDIA
sapHeight 000
sapBold false
sapItalic false
StartCharMetrics 0183
WX 0500 ; N space ;
WX 0500 ; N exclam ;
WX 0500 ; N quotedbl ;
WX 0500 ; N numbersign ;
WX 0500 ; N dollar ;
WX 0500 ; N percent ;
WX 0500 ; N ampersand ;
*--NEW--
StartFontMetrics 2.0
sapFamily ZCORDIA
sapHeight 000
sapBold false
sapItalic false
StartCharMetrics 0183
WX 0375 ; N space ;
WX 0375 ; N exclam ;
WX 0375 ; N quotedbl ;
WX 0375 ; N numbersign ;
WX 0375 ; N dollar ;
WX 0375 ; N percent ;
WX 0375 ; N ampersand ;
Result : decrease space between character. Then Your PDF will have BIGGER FONT.
Rdgs,
Suwatchai -
Classic report output to image format
Hi Guru's
Please Help me out.
Bussiness users want to convert Classic report output to any of the Image format(e.g. Bitmap, jpg. etc.....) and then store in MIME Repository.
Please help me in this regards
Thank you,
Arbindhi arbind,
u can follow up wd SAP NOTE 1219077 ,
OR can follow d link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do
it will gv u idea about the similar problem
hope it helps u ...
regards,
prashanti -
Download a classical Report output to excel
Hi All,
We have a requirement to download the output of a classical report into a Excel sheet and it should be in the same format as the report output.We don't just want to dump the internal table data into excel but need to display the classical report outputas it is in the excel sheet.
Regards,
AshishHi there,
I am not sure on your requirement, but if you want to write a program that manipulates Excel, you can choose to use OLE objects. Below is some sample code.
REPORT ZTEST_EXCEL.
INCLUDE ole2incl.
DATA: application TYPE ole2_object,
workbook TYPE ole2_object,
sheet TYPE ole2_object,
cells TYPE ole2_object.
CONSTANTS: row_max TYPE i VALUE 256.
DATA index TYPE i.
DATA: BEGIN OF itab1 OCCURS 0, first_name(10), END OF itab1.
DATA: BEGIN OF itab2 OCCURS 0, last_name(10), END OF itab2.
DATA: BEGIN OF itab3 OCCURS 0, formula(50), END OF itab3.
*START-OF-SELECTION
START-OF-SELECTION.
APPEND: 'Peter' TO itab1, 'Ivanov' TO itab2,
'=Sheet1!A1 & " " & Sheet2!A1' TO itab3,
'John' TO itab1, 'Smith' TO itab2,
'=Sheet1!A2 & " " & Sheet2!A2' TO itab3.
CREATE OBJECT application 'excel.application'.
SET PROPERTY OF application 'visible' = 1.
CALL METHOD OF application 'Workbooks' = workbook.
CALL METHOD OF workbook 'Add'.
* Create first Excel Sheet
CALL METHOD OF application 'Worksheets' = sheet
EXPORTING #1 = 1.
CALL METHOD OF sheet 'Activate'.
SET PROPERTY OF sheet 'Name' = 'Sheet1'.
LOOP AT itab1.
index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
SET PROPERTY OF cells 'Value' = itab1-first_name.
ENDLOOP.
* Create second Excel sheet
CALL METHOD OF application 'Worksheets' = sheet
EXPORTING #1 = 2.
SET PROPERTY OF sheet 'Name' = 'Sheet2'.
CALL METHOD OF sheet 'Activate'.
LOOP AT itab2.
index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
SET PROPERTY OF cells 'Value' = itab2-last_name.
ENDLOOP.
* Create third Excel sheet
CALL METHOD OF application 'Worksheets' = sheet
EXPORTING #1 = 3.
SET PROPERTY OF sheet 'Name' = 'Sheet3'.
CALL METHOD OF sheet 'Activate'.
LOOP AT itab3.
index = row_max * ( sy-tabix - 1 ) + 1. " 1 - column name
CALL METHOD OF sheet 'Cells' = cells EXPORTING #1 = index.
SET PROPERTY OF cells 'Formula' = itab3-formula.
SET PROPERTY OF cells 'Value' = itab3-formula.
ENDLOOP.
* Save excel speadsheet to particular filename
CALL METHOD OF sheet 'SaveAs'
EXPORTING #1 = 'c:\temp\exceldoc1.xls' "filename
#2 = 1. "fileFormat
* Closes excel window, data is lost if not saved
* SET PROPERTY OF application 'visible' = 0.
Edited by: Thung Yuen Yap on Aug 10, 2010 1:52 PM -
Change font size and layout of reports in Report painter
Hi,
I want to change the print layout and the fonts of reports created in Report Painter.
In the print output i am getting 40% of the total screen
My requirement is to increase the font size and the print layout to fullscreen so that the report layout fits to the page.
Kindly help.
ParinHi,
Well i generate a report which has two three columns.....
1) Description
2) Column 1 for fiscal year 2009
3) Column 2 for fiscal year 2008 for comparison
Here after these columns we have unformated space as a column.
Now we tried to hide this column but the system is not allowing to hide this.
How can we remove this unformatted column/space from the print output.
Thanking you,
Parin -
How to change the input and output schema in BPEL process
hi',
Please tell me how to change the input and output schema in BPEL process after the process is made.
thanks
YatanIf your intention is just changing the content you are passing to bpel/returning from bpel
Here is another way
just update your default created xsd files with new elements, update wsdl elements in message definition and chnage bpel code to reflect new elements in activities
Regards,
Praveen -
Formatting problem when downloading classical report output to excel sheet.
Dear Experts,
My classical report o/p looks like:
SI Name ID
1 xyz 11
2 abc 22
3 eet 33
4 jnc 44
When I download the same to a excel sheet from List->Save->file->Spreadsheet and save it.
The formatting looks like this:
SI Name ID
1 xyz 11
2 abc 22
3 eet 33
4 inc 44
That is the heading and column entries are in different columns.
There is no GUI_Download used.
Kindly help what may be the issue.Hi,
In the report output the formatting looks fine. It is exactly below the heading. But only when I save it to excel, this alignment issue is coming. Even the columns after this column are are properly aligned and there is no issue at all. Only this column in the middle has issue. -
Classical Report Output...
Hi Experts,
I have made one classical report whose output is coming upto 4-5 pages depending on user input. But when we will take the printout of this, user want that print to be on only single A4 size paper...Please guide me..
Thanks in advance...
Best Regards,
VinayakHi,
Please go through the below link or else search for Classical report with multiple pages output.
[http://www.scribd.com/doc/7366175/02-ABAP-Book-Intelli-Reports]
[Change of Normal Classical Report to ALV Report;
Regards,
Vijaya Lakshmi.T -
Displaying pages in classical report output
Hi all,
I am developing a report. In the report output I am displaying 4 lines. When I click on 1st line then list will display but on the second page after the intial output page and when I click on 2nd line then list will display on the third page after the second page.
My requirement is when I click on each line it will display the related page.
I can get the page and page line by the syntax:
read line 1 of page sy-index.
But how to display this one.
Suggest.
Thanks
Sanket sethihiii
for selecting lines like you gave in example..you can use
AT LINE-SELECTION.
CASE sy-lilli.
WHEN '5'.
logic for display page 2nd.
WHEN '6'.
logic for display page 3rd.
WHEN '7'.
logic for display page 4th.
WHEN '8'.
logic for display page 5th.
ENDCASE.
regards
twinkal -
How can a classic report be filtered using one select item and dynamic action?
APEX 4.2.1
DB 11g
I have a page with 4 reports on it. The top report is an interactive report and the following 3 are classic reports. The users would like to be able to use a select list to filter the 3rd report by PO line number without refreshing the entire page.
After verifying that the report is set to allow partial refreshes, I took the following steps
1. Created a PO Line select item (p_po_line_select) in the same report region
2. Added p_po_line_select to the report query
3. Created a dynamic action on p_po_line_select with 2 true actions
1. Set value (p_po_line_select)
2. Refresh report region.
The Set Value dynamic step was not working; I would get an out of memory error at line 2, memory stack error, or the value did not get saved to session state depending on the settings I selected. I was able to get it working with the following set:
1. Action = Set Value
2. Set type = PL/SQL Expression
3. PL/SQL Expression = :p_field_does_not_exist
4. Page items to submit = blank
5. Selection Type = Item(s)
6. Item(s) = p_field_does_not_exist
p_field_does_not_exist does not exist as a page or application item which leads me to believe that this is a bug and I am just lucky that it worked. I would rather know how to do this properly. Can someone please provide a link to a working example of how this should be done or state which settings are wrong?
I was able to reproduce the issue in the following app
http://apex.oracle.com/pls/apex/f?p=4500:1000
workspace = occam
user test/apex1
Thanks,STOP POSTING DUPLICATE THREADS.
If you have additional information, continue the discussion by posting it as a follow-up on the original thread: What is the proper way to filter classic report using just an LOV select field with dynamic action? -
Need to change font size and style in output of report
hi experts,
im having a requirement of changing the font size in the output of report ( alv grid display).
regards,
andrews.hi rob,
When i execute the report i want in the output of the report (alv grid display report)
regards,
andrews. -
Delivery report output for'Ship-to party address and Sold-to party address'
Hi Experts,
We have an report output generated upon delivery creation.
We need print following fields:
Ship-to party #
Ship-to party Name
Ship-to Party Address
Sold-to party #
Sold-to party Name
Sold-to Party Address
As per i understand, we could get those field according to partner function....
So experts, could please advise me from which table and field and logic to get above information....
Thank you very much!!Hi,
Are you changing partner details in delivery document?
This partner address details will be updated in VBPA table.
E.g change the partner street no. in delivery document manually.
Now goto VBPA table, enter correspondence sales document number for that delivery and execute.
Click on partner function AG / WE get the address number (ADRNR) .
Now goto ADRC table, enter this address number in ADRNR field and execute. you will get partner details.
Regards,
Chandra -
Report page scaling/zoom for paper size and field width?
Are there ways to design a report, or programmatically set a report to dynamically resize based on factors such as paper size (A4 vs. Letter vs. Legal), orientation (portrait vs. landscape), and field width (e.g fields grow and shrink based on data)? We are looking at ways to dynamically choose paper size and scale. This would be similar to how Excel files can adjust for printing depending on paper, and PDF files can zoom in/out for paper size.
Thanks,
KyleWe don't want to add fields dynamically at runtime. Instead we want to automatically resize fields at runtime to properly fit data on the page. Currently with our 400 reports, data fields have gotten longer over the years so important data is being truncated. We'd like it if fields could properly grow/shrink/scale so that the data is always valid. We'd like it if the user flips from portrait to landscape, the field widths automatically grow to use the entire page. Or, if a user goes from Letter to A4, pagination still works properly and the fields get slightly wider to fit the A4 standard.
What we don't want is to have a version of the report for portrait Letter, portrait A4, portrait Legal, landscape Letter, landscape A4, landscape Legal, etc. It would be a support nightmare.
I don't know if it is possible, but I'm hoping it is. Thanks for the help.
Kyle -
How to change the width and height of the visible part of the of the report
I have define a report with paper size 'Letter', orientation 'landscape' and 30 columns. Dynamically I am changing width of columns and suppressing many columns of the report.
Mostly using first 16-20 columns and others get suppressed.
Now problem is that when navigating the report thru crystal viewer, a huge blank spaces getting display on right of the report. When we take jump to some part of report thru navigation tree, the whole report gets shifted to left and only blank part is visible and it is required to scroll left.
Even printing is not working correctly.
Is there any way to change the width and height of the visible part of the report in the viewer thru .net classes? Setting the width and height of the report in Load event handler doesn't help.
Example: CrystalReportViewer1.Width = 200; - is not helping.
Is there any other solution?
Please let me know.
Thanks
Mahesh PatelHi Yogesh,
Your suggestion 'reportDocument.PrintOptions.PaperSize=PaperSize.PaperLedger;' along with 'PaperOrientation' setting as follow works fine. I tried to switch between Landscape and Portrait depending on report width.
reportDocument.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
But problem with crystal viewer remain as it is.
While navigating report thru crystal viewer, when we take jump to some part of report thru navigation tree, the whole report gets shifted to left and it is required to scroll left.
Thanks for your very good suggestion.
Mahesh Patel -
How to change font size and style in Oracle Report Builder 6i?
Hi,
is it possible to change the font size or style in a chart?
how???
if I mark the chart and change the font maybe to tahoma, there's no change visible and the value will be set to arial directly.
any tips?
thanksSame situation for report parameter input value font. What ever we do , it is still Arial and size 10.
Maybe you are looking for
-
Graphics bug on Win and Linux ?
Hi all,I have a graphic problem. I have created a JFrame and I have added him a JPanel (1) that it has as Layout a BorderLayout. To this JPanel (1) I have added another JPanel (2) that it has as Layout a GridLayout and a JLabel that I have used as St
-
Install oracle 11g r2 on client
HI Folks, please specify a good link to install oracle 11g r2 on client machine on windows xp and also steps how to install Thanks in advance Edited by: newbie on Feb 14, 2011 9:20 PM
-
I updated my 2012 iMac to Maverick as I wanted the dictation app in it. However, it contains a wierd version of iPhoto and I originally lost all my 6500 photos! I read some threads and managed to retrieve 4500 but have lost all the latest from 2012 o
-
Why do songs not load on the itunes store?
Everytime I click on an artist or search the itunes store I get a blank screen. P.S: AppIe Devs, if there is anything I can give you to track this bug (if it is a bug), just tell me the file you need (and where to find it) and I will send it over to
-
I use my apple I'd to sign into iCloud and it says - unsupported apple I'd this apple I'd cannot be used to sign into iCloud? Please help