Is it possible to download pdf from spool in smallest form
Hi Gurus,
our customer wants a report that has many columns, so I create a report with line size 1023. But also they want to download it to a pdf form, so I send the report to spool and download it to pdf form by running standard report RSTXPDFT4. But pdf form takes only little part of the report, many columns can't seen in it. Is there any way to take it in smallest font or any other thing that I can take all the columns or print columns in other page??
thanks..
Hi,
Implement SAP note #1226758. Ensure that you make the setting below in SPAD as decribed in the note:
'SP01: Number of Columns for List Display from Format'.
This should ensure that the wide format is used for the PDF also.
Regards,
Aidan
Similar Messages
-
How to download pdf from application server
hi all,
anybody has code to download pdf from application server to presentation server.
right now i get the pdf file on to the desktop but i get error on opening.
gui_download gives error if i use xstring.
pl advice.
thanks.
sap fan.Hi,
use the below code to download file from app server to presentation server
PARAMETERS: S_file TYPE SAPB-SAPPFAD
default '\folder1\abc,pdf'.
PARAMETERS: t_lfile TYPE SAPB-SAPPFAD
default 'c:\temp\xyx.pdf'.
START-OF-SELECTION.
CALL FUNCTION 'ARCHIVFILE_SERVER_TO_CLIENT'
EXPORTING
path = source_file
TARGETPATH = target_lfile
EXCEPTIONS
ERROR_FILE = 1
OTHERS = 2
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How to download data from spool to excel file
Hi,
I have requirement like....i need to download data from spool to excel file.
Please let me know the process how to download...
<removed by moderator>
<removed by moderator>
Thanks,
Khasimsa
Moderator message: please (re)search yourself before asking, do not assign priorities, do not offer re-ward
locked by: Thomas Zloch on Sep 8, 2010 1:18 PMHi try this way..
*FM called that returns the Spool Request Number data into and internal table
CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
EXPORTING
rqident = p_spool "Spool Request Number
first_line = 1
TABLES
buffer = it_spool_xls "Internal table that will have the Spool Request No data
EXCEPTIONS
no_such_job = 1
not_abap_list = 2
job_contains_no_data = 3
selection_empty = 4
no_permission = 5
can_not_access = 6
read_error = 7
OTHERS = 8.
*To convert the spool data into excel format
CALL FUNCTION 'SO_RAW_TO_RTF'
TABLES
objcont_old = it_spool_xls "Internal table having spool data
objcont_new = it_xls_spool. "Int table having Excel format data converted from Spool data
"call GUI down Load by passing it_xls_spool
Prabhudas -
I have Adobe Acrobat version 11.0.0 installed with Adobe CC. I cannot download PDFs from the internet (in this case from PubMed National Library of Medicine). If I try to do this I get a popup message saying that "ADOBE ACROBAT NPAPI PLUG-IN, VERSION 11.0.0 NEEDS YOUR PERMISSION TO RUN. I DON'T KNOW HOW TO GIVE THIS PERMISSION OR WHAT TO DO. CAN YOU PLEASE HELP?
What buttons do you get to click on with this message? What browser are you using (e.g. Safari, Chrome, Internet Explorer...)
-
%pdf error in downloading pdf from Function module
Hi,
I am trying to download pdf from a LinkToaction UI element.
I recieve %pdf" error when trying to download using below code. from backend perspective ABAPer said they are able to download PDF from ABAP program. Lokks like I am doing some mistake somewhere in below code.
From the backend, pdf is coming in a table in the form of SOLI-Text Line (TLine - SO_TEXT255)
In webdynpro I am tried to take each line from that table and attched to a IWDResource as below.
Please correct me if anything wrong here to get out of %pdf" error.
IModel_Pdf_FileNode Model = wdContext.nodeModel_Pdf_File();
IPDFElement pdf = wdContext.nodePDF().currentPDFElement();
if (Model != null && Model.size() > 0)
ByteArrayOutputStream baos = new ByteArrayOutputStream(1024);
try {
for (int i = 0; i < Model.size(); i++){
IModel_Pdf_FileElement Element =
Model.getModel_Pdf_FileElementAt(i);
baos.write(Element.getLine().getBytes());
IWDResource resource =WDResourceFactory.createCachedResource(
baos.toByteArray(),
"Test",
WDWebResourceType.PDF);
pdf.setBinaryResource(resource);
Thanks
PraveenThanks for the sample. I use version NWDS7.0 and I don't find IContent type in my NWDS after re-organizing import statements.
currently I use below code to get the PDF on click of LinkToaction UI element (After I set the pdf from backend above part of the code).
{code
IWDResource pdfResource = wdContext.nodePDF().currentPDFElement().getBinaryResource();
String pdfURL = pdfResource.getUrl(WDFileDownloadBehaviour.OPEN_INPLACE.ordinal());
IWDWindow window =
wdComponentAPI.getWindowManager()
.createNonModalExternalWindow(pdfURL , "Test");
window.show();
{code}
Currently above code giving %pdf" error when clicking LTU UI elemnt.
Please suggest How I need to adjust your sample in my case.
Thanks
Praveen -
Is it possible to download songs from itunes directly on to usb as mp3
Is it possible to download songs from itunes direct to usb as mp3
If you are referring to the iTunes Store, then no, because all songs they sell are in AAC format. You can buy MP3s from other online stores, such as Amazon MP3.
-
Determine size of pdf from spool
All,
does anyone know how to determine size of pdf from spool.
i'm using RSPO_RETURN_ABAP_SPOOLJOB to get pdf file, but i want to know its size.
any idea?Assume the PDF data is in internal table gt_messg_att.
MOVE p_spoolno TO lv_spoolno.
* CONVERT THE SPOOL TO PDF
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = lv_spoolno
no_dialog = lc_no_dialog
* DST_DEVICE =
* PDF_DESTINATION =
IMPORTING
pdf_bytecount = lv_bytecount
* PDF_SPOOLID =
* OTF_PAGECOUNT =
* BTC_JOBNAME =
* BTC_JOBCOUNT =
TABLES
pdf = gt_pdf_output
EXCEPTIONS
err_no_otf_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_dstdevice = 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
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
* Transfer the 132-long strings to 255-long strings
LOOP AT gt_pdf_output INTO wa_pdf_output.
TRANSLATE wa_pdf_output USING ' ~'.
CONCATENATE v_buffer wa_pdf_output INTO v_buffer.
MODIFY gt_pdf_output FROM wa_pdf_output.
CLEAR wa_pdf_output.
ENDLOOP.
* TO CONVERT THE DATA INTO PDF FORMAT ELSE THE PDF FILE
* WON'T OPEN & REPORT WOULD GIVE A MESSAGE THAT
* THE FILE IS DAMAGED & COULD NOT BE OPENED
TRANSLATE v_buffer USING '~ '.
CLEAR : wa_messg_att,
gt_messg_att.
DO.
wa_messg_att = v_buffer.
APPEND wa_messg_att TO gt_messg_att.
SHIFT v_buffer LEFT BY 255 PLACES.
IF v_buffer IS INITIAL.
EXIT.
ENDIF.
CLEAR wa_messg_att.
ENDDO.
ENDIF.
* Get size of attachment
DESCRIBE TABLE gt_messg_att LINES lv_cnt.
READ TABLE gt_messg_att INTO wa_messg_att INDEX lv_cnt.
lwa_doc_data-doc_size = ( lv_cnt - 1 ) * 255 + STRLEN( wa_messg_att ). -
I am unable to download pdfs from the web into my downloads folder
Since i did the new update on firefox (8-14?) I am unable to download pdfs from a website into my downloads folder. When I choose to view a pdf in a window, I get a blank window with the urlxxxx. pdf in the top...but a blank window. This is a change in the functioning of my browser since the update... i have changed nothing on preferences or anything
I am able to download pdf's into my downloads folder from safari, but really don't want to change all my bookmarks etc from firefox to start using safari. Am on a Mac OS 10.7.4
thanksHi Matt_G
nope...didn't help. When I typed in pdf into the search bar, nothing came into the content window.
thanks for any further assistance you can provide...really hate to have to use safari instead of firefox
trish.painter -
How do I keep downloaded pdfs from automatically opening in Acrobat on a MAC?
I am downloading pdfs from FETCH on a MAC and they are automatically opening in Acrobat. How do I download and not have them open? There are literally hundreds of them.
Thanks,Hi Brian,
The Safari web browser contains a feature, enabled by default, which causes all files considered "safe" to be automatically opened once they have finished downloading. Safari considers the following file types to be safe:
- Pictures
- Movies
- Sounds
- PDF files
-Text documents
- Disc images (.dmg files)
- Other archive types
Although it can be convenient while enabled, this can be a very dangerous feature when it comes to your security. It can be disabled in a few easy steps.
> Open your Safari web browser by clicking on the Safari icon in the dock.
> Click on Safari in your Safari menu, located at the top of your screen. When the drop-down menu appears, choose Preferences.
> Select the General tab from the Preferences window, which is now overlaying your browser window.
You will now see a check box labeled "Open 'safe' files after downloading", located near the middle of the Preferences window. If this box is checked, click on the check mark and verify that it is no longer active.
Click on the red circle/x located in the top left hand corner of the Preferences window to complete the process. You will now be returned to your main browser window.
Hope this helps.
Regards,
Rave -
Is it possible to download software from the Adobe site which will enable me to use the raw processor in Elements 9, to work on images shot with a Nikon D800 DSLR?
The D800 is not on the list of supported cameras for the Camera Raw 6.5 update, bur the D80 is:
http://www.adobe.com/special/photoshop/camera_raw/Camera_Raw_6.5_ReadMe.pdf -
I cannot download pdfs from FireFox on a Mac
Up until just a few days ago I could download pdfs from websites through Firefox. As far as I know I did not upgrade or change anything. I followed all of the tutorials, the Troubleshooting Information tips, deleted profile.ind files, added the PDF viewer 0.6.39 and that does not work.
I am on a Mac, OS 10.6.8
Firefox 17You can disable the Adobe Reader plugin in Firefox (Tools > Add-ons > Plugins) and use the external Adobe Reader application or Preview application instead.
*Firefox > Preferences > Applications > Adobe PDF document : Use Adobe Reader
PDF files may also be found under another entry like Portable document.
*https://support.mozilla.org/kb/change-firefox-behavior-when-open-file -
In the modern world why is not possible to download apps from foreign countries whilst in the uk...!?
Because apps are licensed for sale only in specific countries by the developers, and for iTunes Store and credit card security and anti-fraud purposes you need an AppleID and billing address in the country you are buying from.
Just because it is a digital download does not mean licensing and local commerce laws and taxes do not apply, like they would to a physical item. -
Recently started using a Macbook Pro, formerly ran Firefox on a PC. Installed Acrobat and it works fine, and will download pdfs from internet fine, UNLESS it is from certain sites, that as near as I can tell have in common that I needed a password to get in (eg, Bank, insurance company). At this sites I can't download a pdf file, and am told that an "unknown error" occurred and I should try saving directly link to the disk. But this doesn't work either, it just wants to save a .cgi file, not the pdf. Any suggestions greatly appreciated.
Did you try to save that cgi file and give it a .pdf file extension?
-
Is it possible to download images from an Olympus OMD EM-1 into CS5.1 on a Vista machine? If it is, how do I do it?
It looks like that camera requires Camera Raw 8.3 or higher, which will not work with PS CS5. You would need to download the dng converter and convert your files to a camera raw of 6.x for you to open them.
-
Is it possible to download photos from Gallery (Mobile Me)?
Is is possible to download photos from the Mobile Me Gallery onto the iPad?
I installed the Mobile Me Gallery application but it seems it only allows me to view photos-not download them.
I then went to the Gallery web site and same-I can only view photos.Just to add my 2 cents. I
f you are viewing the Gallery and see a picture you want. Hold your finger on the screen until you get the message to "save image or copy" select save image and it will be placed inside your photo app.
Maybe you are looking for
-
hi -- I've developed some Crystal Reports for a client. I work on my own machine, not on their network. When the client runs the report, they get the message "Invalid printer; the default printer will be used." I don't recall them having this problem
-
After replacing hard drive and using recovery disks to restore to factory settings, I cannot get Window Updates. Even if I change the settings in Windows Update in control panel, it stays red with an x in the shield.
-
Create,move Oracle Retail Merchandising system Database users to IOD
Hi All, RMS v12.0.6; OS: AIX 5.3 64 bit Could anyone please let me know the following: 1.What's the process to create,move Oracle Retail Merchandising system Database users to IOD? 2.In R12, is "appsweb.cfg" located in FORMS_WEB_CONFIG_FILE is used f
-
Where does destination country info come from on SD Billing ???
On our SD invoice - in the lower portion of Item Details tab - I can see the first field as DestCtryOrde - this shows the value CA or Canada When I check my SD order - nowhere do I find the field Destination Country ( I have also checked sold-to a
-
Where can I find training in the Peoria, IL area?
Where can I find training on my new MacBook Air in the Peoria, IL area?