How to display 'page border' in PDF output file - RTF file contains border
I have a simple RTF file which has 2 fields
The RTF file has image and page border. When I preview as a PDF file (through BI publisher desktop), I can see image and fields merged properly. But I don't see the page border
Does anybody know why it's not disaplying page border?
Any help is much appriciated
Thanks,
Kavitha
Hi,
Apparently, it's a bug based on the following thread. Workaround would be to use table as border.
Re: Pls Help.
regards,
Rownald
Similar Messages
-
How to display page numbers in report
hi all,
i would like to know how to display page numbers in this format " 1 of 5" in the report.
Any help would be much appreciated.
thanks
seemaHi,
Check this too...
Page No. in ALV output
If you query is solved, kindly close the thread.
Regards,
Anjali
Message was edited by: Anjali Devi Vishwanathan -
How to display the fields in ALV Output without using Field catalog?
How to display the fields in ALV Output without using Field catalog?
Could you pls tell me the coding?
Akshitha.Hi,
u mean without building field catalog. is it? I that case, we can use the FM REUSE_ALV_FIELDCATALOG_MERGE.
data: itab type table of mara.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = sy-repid
i_structure_name = itab
CHANGING
ct_fieldcat = lt_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
*Pass that field catalog into the fillowing FM
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_grid_title = 'REPORTING'
is_layout = gt_layout
it_fieldcat = lt_fieldcat[]
tables
t_outtab = itab. -
How to delete pages in a pdf file with mac OSX Mavericks?
Indeed i don't have Pages options in my tools window... Is that normal for the mac version? Please it's urgent...
Sorry, it was my fault. When I searched on the Internet, I was reading the Acrobat help pages, without knowing it, because in my research I wrote "how to delete pages in a pdf file with Adobe reader", i was just automatically redirected toward Acrobat help but i didn't notice.
So no incorrect information exist in the Reader Help pages. -
How to get Page Count of pdf in Document library in EventHandler
Hi,
How to get Page Count of pdf in Document library once uploaded has been done and i would like to update the page count value in document library column of the corresponding file.
I should achieve it in Event handler.
Which even should i use, either ItemAdded or "ItemUpdated "?
Thanks & Regards
Poomani Sankaran.Hello,
If you are looking for file download or view count then event handler will not work. You need to enable the analytic report to your site. Once you enable it then you can see the report within a browser or you can also create custom webpart to show count
of specific file.
http://blogs.msdn.com/b/ecm/archive/2010/05/03/web-analytics-in-sharepoint-2010-insights-into-reports-and-metrics.aspx
http://sharepoint.stackexchange.com/questions/34611/count-of-files-under-a-folder-in-a-document-library
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
How to assign a calculation to a variable in RTF file ?
Hello,
I am performing a series of if-end if statements to calculate the "Days_Late" --
<?if:DAYS_LATE < 0?> <?xdoxslt:round((sum(if:DAYS_LATE ) div count(PAYMENT)),0)?> <?end if?>
<?if:DAYS_LATE = 0?>***<?end if?>
<?if:DAYS_LATE >= 0?> <?xdoxslt:round((sum(if:DAYS_LATE ) div count(PAYMENT)),0)?><?end if?>
I would like to assign the above code to a variable and use that variable in the following logic <?xdoxslt:ifelse(VARIABLE>0,round(VARIABLE),-1*round(xdoxslt:abs(VARIABLE)))?>
to perform a round_up function ("Symmetric" rounding). Oracle doesn't have a function for this yet ..
How can I make this assignment directly in the .rtf file ?
Thanks,
ATPHello all,
I did not want to change the data (sql).
Also, I did try to make it run using the xdoxslt:set_variable () function and xdoxslt:get_variable() function. However, this was not required and was making it more complex than required.
It is now solved using a formula for symmetric rounding (rounding away from 0) :
<?xdoxslt:ifelse(VARIABLE),-1*round(xdoxslt:abs(VARIABLE))?>
I substituted the VARIABLE with my calculation : (sum(DAYS_LATE ) div count(PAYMENT))
Thanks a lot for the answers and offers to help -
How to create a page break in PDF output
Hi there
Does anyone know how to create a page break in the PDF output when using the EXPORT TO PDF command?
I can create a page break using the page-break-after/before HTML stylesheet command, but this is not "interpreted" when the PDF is generated, and I am required to print each table in my web template on a new page.
Please ... been searching for ages for a solution to this and can't find anything.
Cheers,
AndrewTry posting in the iWorks forum.
https://discussions.apple.com/community/app_store/iwork_for_ios -
How to display clear screenshots in PDF when default Acrobat page resolution is 110 ppi?
I want screenshots captured on my 96 ppi screen to display clearly in the PDF. But the Acrobat default page resolution display is configured to 110 ppi, not to the system setting of 96 ppi.
1) Why is the Acrobat default display 110 ppi and not 96 ppi?
2) If all Adobe Acrobat and Reader users open PDFs with the default Acrobat setting, how should screenshots taken on a 96 ppi screen be resized to display clearly?
ThanksThe concept of matching pixels in a bitmap photo to the user's display doesn't exist in PDF. Pages have physical dimensions, not pixel values, so they will always end up being resampled.
-
How to display Page numbers in XMLreport(on PDF)
hi all,
we have a requirement where we need to display page numbers(e.g.page 1 of 10),on an XML report.
can anybody suggest me the solution.Hi,
Check this too...
Page No. in ALV output
If you query is solved, kindly close the thread.
Regards,
Anjali
Message was edited by: Anjali Devi Vishwanathan -
How to display the data in PDF format : problem is splitting into 2 lines
Hi ,
I developed one report which downloads the data into PDF format and saved in C drive but my problem is
in my program : Line size of the report is 255 in PDF it is splitting into 2 lines. it has to show in a single line. how to do it. how to reduce the width of the output? i am sending my code below. anybody can suggest me how to do it. if possible please send me the code.
my code:
report zmaheedhar.
maheedhar-start
TABLES : vbak.
parameters : p_vbeln type vbak-vbeln.
data : begin of itab occurs 0,
vbeln type vbak-vbeln,
ERDAT type vbak-erdat,
ERZET type vbak-erzet,
ERNAM type vbak-ernam,
ANGDT type vbak-angdt,
BNDDT type vbak-bnddt,
AUDAT type vbak-audat,
VBTYP type vbak-vbtyp,
TRVOG type vbak-trvog,
AUART type vbak-auart,
AUGRU type vbak-augru,
GWLDT type vbak-gwldt,
SUBMI type vbak-submi,
LIFSK type vbak-lifsk,
FAKSK type vbak-faksk,
NETWR type vbak-netwr,
WAERK type vbak-waerk,
VKORG type vbak-vkorg,
end of itab.
maheedhar-end
DATA: pripar TYPE pri_params,
arcpar TYPE arc_params,
lay TYPE pri_params-paart,
lines TYPE pri_params-linct,
rows TYPE pri_params-linsz.
DATA: val(1), val1(1).
*---> Local Printer Name defined in SAP, Change NHREMOTE to your local printer
DATA: dest TYPE pri_params-pdest VALUE 'ZNUL'.
DATA: name TYPE pri_params-plist VALUE 'Testing'.
DATA: i_pdf TYPE STANDARD TABLE OF tline.
DATA: spono TYPE tsp01-rqident.
maheedhar-start
top-of-page.
write: 'Sales Document' , 'C Date', 'Entry time', 'Created By','Quotation date',
'Date','Document Date','SD document category','Transaction group','Sales Document Type',
'Order reason'.
start-OF-SELECTION.
select vbeln ERDAT ERZET ERNAM ANGDT BNDDT AUDAT
VBTYP TRVOG AUART AUGRU GWLDT SUBMI LIFSK
FAKSK NETWR WAERK VKORG from vbak
into table itab
where vbeln = p_vbeln.
maheedhar-end
--- Retreive local printer details
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = dest
no_dialog = 'X'
immediately = ' '
IMPORTING
out_archive_parameters = arcpar
out_parameters = pripar
valid = val
valid_for_spool_creation = val1
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*-- Set Spool printer details w.r.t local printer
pripar-prdsn = 'DSN'.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
in_archive_parameters = arcpar
in_parameters = pripar
no_dialog = 'X'
list_name = name
IMPORTING
out_archive_parameters = arcpar
out_parameters = pripar
valid = val
valid_for_spool_creation = val1
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc EQ 0.
---> Triggers the spool creation in the sense all the write statements from hereon will be written to spool instead of screen
NEW-PAGE PRINT ON
NEW-SECTION
PARAMETERS pripar
ARCHIVE PARAMETERS arcpar
NO DIALOG.
ELSE.
WRITE:/ 'Unable to create spool'.
ENDIF.
*--- Output statements
*WRITE:/ 'First Line', 'mahee','lklk','kikik','lokiuj','fffff','kijuyh','fgfgfgfg','gtgtgtgtgtgtgtgtggggggggggggggggggggggggggggggg'.
*WRITE:/ 'Second Line'.
LOOP at itab.
write: itab-vbeln,
itab-ERDAT,
itab-ERZET,
itab-ERNAM,
itab-ANGDT,
itab-BNDDT,
itab-AUDAT,
itab-VBTYP.
ENDLOOP.
"---> Close spool
NEW-PAGE PRINT OFF.
spono = sy-spono.
Convert ABAP Spool to PDF
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = spono
no_dialog = 'X'
TABLES
pdf = i_pdf
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
Download PDF contents to presentation server
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'c:\test.pdf'
filetype = 'BIN'
TABLES
data_tab = i_pdf
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
thanks,
maheedharhi tripat,
actual problem is what u said it is decreased the wiidht of the output.
now the output is:
Sales Document C Date Entry time Created By Quotation date Date Document Date
SD document category Transaction group Sales Document Type Order reason
62741 07/29/1996 11:54:38 DARLENE 00/00/0000 00/00/0000 07/29/1996 C
actual output is:
output should come in a single line. it is splitting into 2 lines.
thanks,
maheedhar -
How to Display Page Numbers in RTF Template
Greetings to all,
We have a requirement in which we have to display the Page numbers on the output PDF.
The scenario is , if the PDF contains10 pages,then on Pages , it should show Page 1/10,Page 2/10 etc.
And If the output exceeds to more than 1 page, then on each page except the last one it should display "Continued" in the footer.
Any comments on this would be of great help.
Thanks,
SachinHi Sachin,
I have emailed you back the modified template, I have changed the following:
What have I done in the template then?
* Moved the Group: G_HEADERS place holder inside the <?start:body?> place holder.
* Inserted a Section Break (Next Page) after the <?end body?> place holder for the main report. This creates what looks like a 3rd page
* Added <?start@last-page-first:body?><?end body?> as the only thing on the 3rd page. The resets the headers and footers for the last page, so we need to declare the headers again. If the last page is actually the first page, then the first page will take the formatting of the last page.
* Removed the "continued" from the Native Word footer and put it underneath the <?end body?> placeholder of the main template on page 2
Let me know if you have any further issues.
Rgds,
Cj -
Special character displaying as ? in PDF output
Hi,
I am generating BI publisher report through Oracle application.
My Pdf output is ok for Finnish and German language. But for polish font I am getting ? in PDF output. When I open XML file it says
" The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
An invalid character was found in text content. Error processing resource"
In database Polish font is stored perfectly.
I tried this <?xml version="1.0" encoding="UTF-8" ?> for generating XML. But I did not work.
I do not know what is the problem. Please help me.
Regards,
Faiyazcreate or edit xdo.cfg file.
For XML Publisher Desktop it is ( in my case) c:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\config\.
Find section fonts, add your font, that support polish. like that
<font family="Times New Roman" style="normal" weight="normal">
<truetype path="C:\WINDOWS\Fonts\times.ttf" />
</font>
For XML publisher is Note:399518.1. I think it can help you. -
How to display the data in PDF format
hi all,
i will give input in my selection screen and i will execute my report then it has to display data in PDF file in some directory (like c or d directory). i refered existingthreads . most of then saying using spool req we can download pdf file i.e. not my requirement. my requirement is when i click on execute button it has to display the data in pdf file with headings.
Anybody can send me the sample code please.
thanks,
maheedharHi Easwar,
i am sending my code. in this one records is splitting into 2 records.
report zmaheedhar.
maheedhar-start
TABLES : vbak.
parameters : p_vbeln type vbak-vbeln.
data : begin of itab occurs 0,
vbeln type vbak-vbeln,
ERDAT type vbak-erdat,
ERZET type vbak-erzet,
ERNAM type vbak-ernam,
ANGDT type vbak-angdt,
BNDDT type vbak-bnddt,
AUDAT type vbak-audat,
VBTYP type vbak-vbtyp,
TRVOG type vbak-trvog,
AUART type vbak-auart,
AUGRU type vbak-augru,
GWLDT type vbak-gwldt,
SUBMI type vbak-submi,
LIFSK type vbak-lifsk,
FAKSK type vbak-faksk,
NETWR type vbak-netwr,
WAERK type vbak-waerk,
VKORG type vbak-vkorg,
end of itab.
maheedhar-end
DATA: pripar TYPE pri_params,
arcpar TYPE arc_params,
lay TYPE pri_params-paart,
lines TYPE pri_params-linct,
rows TYPE pri_params-linsz.
DATA: val(1), val1(1).
*---> Local Printer Name defined in SAP, Change NHREMOTE to your local printer
DATA: dest TYPE pri_params-pdest VALUE 'ZNUL'.
DATA: name TYPE pri_params-plist VALUE 'Testing'.
DATA: i_pdf TYPE STANDARD TABLE OF tline.
DATA: spono TYPE tsp01-rqident.
maheedhar-start
top-of-page.
write: 'Sales Document' , 'C Date', 'Entry time', 'Created By','Quotation date',
'Date','Document Date','SD document category','Transaction group','Sales Document Type',
'Order reason'.
start-OF-SELECTION.
select vbeln ERDAT ERZET ERNAM ANGDT BNDDT AUDAT
VBTYP TRVOG AUART AUGRU GWLDT SUBMI LIFSK
FAKSK NETWR WAERK VKORG from vbak
into table itab
where vbeln = p_vbeln.
maheedhar-end
--- Retreive local printer details
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = dest
no_dialog = 'X'
immediately = ' '
IMPORTING
out_archive_parameters = arcpar
out_parameters = pripar
valid = val
valid_for_spool_creation = val1
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*-- Set Spool printer details w.r.t local printer
pripar-prdsn = 'DSN'.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
in_archive_parameters = arcpar
in_parameters = pripar
no_dialog = 'X'
list_name = name
IMPORTING
out_archive_parameters = arcpar
out_parameters = pripar
valid = val
valid_for_spool_creation = val1
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc EQ 0.
---> Triggers the spool creation in the sense all the write statements from hereon will be written to spool instead of screen
NEW-PAGE PRINT ON
NEW-SECTION
PARAMETERS pripar
ARCHIVE PARAMETERS arcpar
NO DIALOG.
ELSE.
WRITE:/ 'Unable to create spool'.
ENDIF.
*--- Output statements
*WRITE:/ 'First Line', 'mahee','lklk','kikik','lokiuj','fffff','kijuyh','fgfgfgfg','gtgtgtgtgtgtgtgtggggggggggggggggggggggggggggggg'.
*WRITE:/ 'Second Line'.
LOOP at itab.
write: itab-vbeln,
itab-ERDAT,
itab-ERZET,
itab-ERNAM,
itab-ANGDT,
itab-BNDDT,
itab-AUDAT,
itab-VBTYP.
ENDLOOP.
"---> Close spool
NEW-PAGE PRINT OFF.
spono = sy-spono.
Convert ABAP Spool to PDF
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = spono
no_dialog = 'X'
TABLES
pdf = i_pdf
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
Download PDF contents to presentation server
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'c:\test.pdf'
filetype = 'BIN'
TABLES
data_tab = i_pdf
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
thanks,
maheedhar -
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 to sort page order in pdf file
how do I rearrange page order in pdf file
Hi rainbowbowral,
To reorder pages, you need the full version of Acrobat. If you'd like, you can download a free 30-day trial from www.adobe.com/products/acrobat.html.
Best,
Sara
Maybe you are looking for
-
NEF file opening in CS5 as a smart object
My CS5 recently started opening up all my Nikon raw files as smart objects. I don't want that. How do I make it stop? This never happened before nor am I aware of me changing any of the settings. Any help would be great. Thanks
-
Hello. I have a defective 5G ipod, the click wheel is peeling off. I requested a "repair" and the box came this morning. What i'm wondering before I Pack it up is #1. How long will it take #2. Will they actually "repair" the click wheel, or send me a
-
Please, please, please, please change my name from <null> to [b]Martin Malmstrom When I login I see "Welcome, null (Sign Out)" top left. Under my user settings the name field is empty, and I cannot change it. The main reasons for the change is that i
-
Archive Utility Quit Unexpectedly
Every time I try to unzip a file using Archive Utility, it says "Archive Utility Quit Unexpectedly". No, relaunching it does not do anything. I have restarted my computer to no prevail and several things I've tried on the internet do not work. Curren
-
Catch client disconnect without sending data?
I am writing a Java Servlet and I need to know if the client has disconnected (pushed the stop button, closed the browser, etc) without sending data. Basically, I need to call socket.isOutputShutdown() on the connected socket. However, the Java Servl