Save spool pdf to server

Hi
I have created a program, that can merge a service order and an invoice into one pdf., and then download it into my local drive (C:/).
1) The spool from the service order is converted into otf.
2) The spool from the invoce is converted into otf.
3) The otf data from both service order and invoice will be collected into one table.
4) and 5)
Then I call the FM: CONVERT_OTF_2_PDF
and then cl_gui_frontend_services=>gui_download
Above will download the file to my local drive.
But how to download to a library on my SAP server (found in AL11).
At the momenet I just got a lot of lines with informations about Type/Font/Subtype/LastChar/FirstChar etc. in my file on the server.
There is no pdf file, even that the name of the file is 1234_1233.pdf
I am doing as described in 1) + 2) + 3)
and then callling FM "CONVERT_OTF", from where I got the value from the importing parameter BIN_FILE (lv_pdf_file)
open dataset fnam for output in binary mode message msg.
transer lv_pdf_file to fnam.
close dataset fnam.
Anybody who can help, how to get my pdf downloaded into the server?
Thanks,

The problem was, that it is not possible to see the pdf directly from transaction AL11.
I used the transaction CG3Y to move the file from the server to my desktop, and there I can see the pdf file.
Solved
Thanks for the input.

Similar Messages

  • Save editable pdf on server side

    Hiii Friends ,
    I have create editable pdf . Can I save this pdf on server side.
    Thanks

    Hiii Paul ,
    I have an another question. As I told ,I have PDF form created in Adobe LiveCycle Designer.
    I put on Submit button connect to my server URL .
    Now when I access this form , on web-server , It give warning each time
    Acrobat is attempting to connect my server url.
    If you trust the side , choose allow
    Can I block this warning message.
    Thanks

  • How to move PDF file from Spool to Application Server?

    How to move PDF file from Spool to Application Server?
    Cannot use RSTXPDFT4 because that converts OTF to PDF and the file is already PDF.
    RSTXPDFT5 doesn't work. It picks the file up and assigns it a 'text' type and outputs a 1 line txt (1kb in size) on the server with the spool number in it!
    The program which outputs the file to the spool, in the first place, uses adobe forms and outputs to a printer of type PDF.

    Hi Gemini ,
    Please refer the below links.
    [http://sap.ittoolbox.com/groups/technical-functional/sap-hr/convert-a-spool-to-pdf-and-save-on-application-server-in-background-720959]
    [http://www.sapfans.com/forums/viewtopic.php?f=13&t=325628&start=15]
    Edited by: Prasath Arivazhagan on Apr 13, 2010 4:48 PM

  • SPOOL PDF to application server

    Hi
    I want to write the spool pdf of a form to application server.
    I am using 'convert_spool_to_pdf' FM and getting data in an internal table.
    The data in this internal table is of different format, I am not sure how to write this data format to application server.
    Please help.
    Regards
    Manu

    This has been asked and answered before...did you search?  PDF data is in binary format, so you need to adapt accordingly...

  • How to store PDF spool in Application server.

    Hi,
    I have a requirement to send Print form spool in Application server.
    For converting OTF format we have CONVERT_OTFSPOOLJOB_2_PDF.
    How to convert and store Interactive print forms spool number(PDF type) in application server.
    Thanks in advance.

    Hi,
    I have a requirement to send Print form spool in Application server.
    For converting OTF format we have CONVERT_OTFSPOOLJOB_2_PDF.
    How to convert and store Interactive print forms spool number(PDF type) in application server.
    Thanks in advance.

  • How to use cfdocument  create a PDF file and save the file in server?

    Hi,
    I want to use cfdocument to create a PDF file and save it in
    the server for other people to download,can you give me a idea how
    to do this.Thanks.
    <cfdocument format = "PDF" pagetype="A4"
    orientation="portrait">
    </cfdocument>
    Mark

    Hi
    <cfdocument filename="" format = "PDF" pagetype="A4"
    orientation="portrait">
    </cfdocument>
    Give the physical path to the filename. You have write
    permission for this folder to create a PDF file.

  • TURBOTAX 2014 CD DOES NOT PERMIT OFFLINE PRINT OR SAVE TO PDF.  YOU CAN ONLY SAVE TO PDF OR PRINT IF ONLINE.  BIG SECURITY ISSUE.  INTUIT IN WSJ ARTICLE BLAMES APPLE, SAYING APP STORE SOFTWARE RESULTED IN THIS.  TRUE?

    Starting this year, Turbotax CD/download versions will not permit people to print tax forms when offline. If you try to print while not connected to the Internet, you receive the warning “There was a problem connecting to Intuit’s Secure Print Service.  Please check your Internet connection or try again later.”  Indeed, Paragraph 9 of the Intuit Software End User License Agreement states:  "You may save your return as a PDF file and understand it may be processed on Intuit servers, not as part of the Software."
    Even if you wish to protect your data by not exposing it to the Internet, Turbotax will not let you without sharing your entire return first with them.  They prohibit you from only printing locally on home, cable-connected printers.
    The result of this is that people who tried to be safe by never going online with tax data, are this year being forced by Intuit software to expose all their sensitive tax information files to the Internet and Intuit print server, even though they do not wish to. Turbotax is putting you at risk.
    On Feb 19 the Wall Street Journal quoted an Intuit spokesperson blaming Apple:  According to Julie Miller, an Intuit spokeswoman, TurboTax made the change “because the Mac product requires a special, third-party code library to support offline printing.” And she says, “based on Apple App Store guidelines, we could no longer distribute the third-party library with our software.”   She said the change in the TurboTax Mac software was first made for 2013 tax returns, but last year customers had the option of printing returns without being connected to the Internet.
    So is Apple to blame that I now have to expose my sensitive tax data to Intuit just to be allowed to save to PDF on my hard disk?  And it's all Apple's fault?
    Can anyone clarify this?

    Thank you for this an the other posts.  Particularly for Barney,
    I have just discovered that Turbotax actually permits you to print (and save to PDF) documents from the Help
    Center built into the program, even when you are OFFLINE.  Works just like normal printing is supposed to.  It just won't let you print actual tax forms. So I guess they were willing to violate Apple’s rules when you print information from their help center offline, but you just can't do the same with your own tax forms.  Clearly this shows that what Intuit told Forbes was a fabrication.
    They do in fact have the proper code in the program for printing and saving to PDF.  They just deny you usage of that code for printing your tax returns, which they want to copy.  I don’t think there can be any doubt about what they are doing.  Surely they are not deceiving apple by allowing the limited print function?
    We can only hope that a brave journalist will challenge them on this, since Intuit will not respond to customers.
    Thank you for any views on this points.

  • Background report save as PDF or excel

    Hello Guru's,
    I have a requirement my user execute one report in background now the output is appearing in ALV
    He wants now that is output should save as PDF or excel & send email to respective persons.
    Can we do this if yes please guide.I will be executing report in background.
    Regards
    Edited by: ABHUT on Oct 13, 2008 10:40 AM

    get them spool no and pass it to standard  report  RSTXPDFT4
    to convert to pdf and for sending mail use f.m
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
          document_data = doc_chng
          put_in_outbox = 'X'
          commit_work = 'X'
          TABLES
          packing_list = objpack
          contents_txt = objtxt[]
          contents_bin = so_ali[]
    *contents_hex = so_ali[]
          receivers = reclist[]
          EXCEPTIONS
          too_many_receivers = 1
          document_not_sent = 2
          document_type_not_exist = 3
          operation_no_authorization = 4
          parameter_error = 5
          x_error = 6
          enqueue_error = 7
          OTHERS = 8.
    shan.

  • "Save As PDF" in Safari only Results in "Error While Printing"

    Hi, first time poster. I searched through the forum and didn't find anything like my problem specifically on topic. I still Hope this isn't being redundant with anything else that has been posted.
    Problem:
    When I go to Print->Save as PDF the normal dialogue comes up without a problem. Its when I click on the save button that I an error saying "Error While Printing" pops up. Pulling up the console nets me with the following:
    5/25/08 11:36:12 AM Safari[95216] Printing failed because PMSessionEndDocumentNoDialog() returned -30871.
    And from CUPS:
    I [25/May/2008:11:35:06 -0700] Listening to ::1:631 (IPv6)
    I [25/May/2008:11:35:06 -0700] Listening to ::1:631 (IPv6)
    I [25/May/2008:11:35:06 -0700] Listening to 127.0.0.1:631 (IPv4)
    I [25/May/2008:11:35:06 -0700] Listening to /private/var/run/cupsd (Domain)
    I [25/May/2008:11:35:06 -0700] Loaded configuration file "/private/etc/cups/cupsd.conf"
    I [25/May/2008:11:35:06 -0700] Using default TempDir of /private/var/spool/cups/tmp...
    I [25/May/2008:11:35:06 -0700] Configured for up to 100 clients.
    I [25/May/2008:11:35:06 -0700] Allowing up to 100 client connections per host.
    I [25/May/2008:11:35:06 -0700] Using policy "default" as the default!
    I [25/May/2008:11:35:06 -0700] Full reload is required.
    I [25/May/2008:11:35:06 -0700] Loaded MIME database from '/private/etc/cups': 52 types, 49 filters...
    I [25/May/2008:11:35:06 -0700] Loading job cache file "/private/var/spool/cups/cache/job.cache"...
    I [25/May/2008:11:35:06 -0700] Full reload complete.
    I [25/May/2008:11:35:06 -0700] Cleaning out old temporary files in "/private/var/spool/cups/tmp"...
    I [25/May/2008:11:35:06 -0700] Listening to ::1:631 on fd 4...
    E [25/May/2008:11:35:06 -0700] Unable to bind socket for address ::1:631 - Address already in use.
    I [25/May/2008:11:35:06 -0700] Listening to 127.0.0.1:631 on fd 6...
    I [25/May/2008:11:35:06 -0700] Listening to /private/var/run/cupsd on fd 8...
    I [25/May/2008:11:35:06 -0700] Resuming new connection processing...
    *What I've Tried*
    I haven't had any luck with the solutions others have posted online (like Little Snitch being a culprit) when I've searched for either the "Save As PDF", "Error While Printing", or the console log error. I've run the printer reset function in system preferences and I've never had any printer installed on the system.
    I should note that prior to any of these problems with Safari, I installed the Firefox 3 RC1. I've since uninstalled it, because I was suspicious of it having an effect (being a little buggy as an RC). Removing it with AppCleaner hasn't changed the problem.
    Thanks all,
    -d

    I could print/save as .pdf until I did my latest software upgrade. Now I get "error while printing", and have been unable to find a solution. this is quite a problem for me, because I do a lot of research on the Web and have saved my results for years in pdf. Have you found a solution?
    Best regards,

  • Is possible in acrobat reader fill in and save interactive PDF created with LiveCycle Designer?

    is possible in acrobat reader fill in and save interactive PDF created with LiveCycle Designer?

    Hi,
    Only if the form has been Reader Enabled before it is sent out to the user with Reader.
    There are two ways of Reader Enabling the form. One using Acrobat Standard v9 or Acrobat Professional v8 (both have license restrictions). The other is to use LC Reader Extensions ES2, which is a server product (additional costs).
    Some info here:
    http://www.assuredynamics.com/index.php/2010/11/using-livecycle-forms-in-acrobat-and-reade r/
    A search of the forums for "Reader Extensions" or "Reader Enable" will give more information.
    Hope that helps,
    Niall
    Assure Dynamics

  • "Save as PDF" hangs Finder

    My colleague is trying to save PDFs from Word 2011 using our office letter template, by using either Print>Save as PDF, and using Word's own Save As>PDF.
    The PDFs that this produces seem to be corrupted, as when opening them using either Adobe Acrobat or Preview, Finder uses 100% CPU power (in Activity Monitor).
    When I open the documents he has created using the template, or use the template to create a new letter from scratch, I can create PDFs just fine. If he makes a new document without the template, he can create working PDFs as well.
    We are opening the templates and documents from, and saving to, a server.
    We've tried re-installing Mac OS X to no avail.
    Anybody have a clue what could be happening?
    Computer details: Macbook Pro, Core 2 Duo 2.53ghz, Mac OS 10.6.7

    No, that didn't work either.
    I actually managed to get it working by re-saving the template as a .dot-file instead of dotx. That enabled my colleague to save as a non-corrupted PDF. Weird...
    I just hope the problem won't return... Keeping my fingers crossed
    Thanks for your reply.

  • Save as pdf deleted bookmarks when combining pdf-files

    Hello,
    when I save several books each to a pdf-file with save as pdf (or printing to .ps and converting afterwards), the bookmarks are deleted when I combine the pdf-files with Acrobat. Only one bookmark for the 1st. file exists in the new pdf-file.
    The reference of the bookmarks in the original generated file is e.g. "g3.619626".
    These references are not anymore available in the combined files.
    I've tried several settings before saving as pdf but nothing helped.
    Ther are no problems of combining ordinary pdf-files with bookmarks if they are generated by other programs then Framemaker.
    I need to combine files as well within a book, as "save to pdf" is not able, to generate one file with different pages sizes. I then need to generate a separate pdf-file of the pages with the for e.g. bigger page size and combine it afterwards.
    In that project I'm working there will over all something between 1000 and 1500 pages from maybe 10 books with hunderts of bookmarks plus additionally separete pfd files to combine. So it's not an option to treat every bookmark before combining the pdf-files.
    My system is FM11.02.384 / Acrobat Pro 11.0.3 / Windows 7 64 Bit

    Never having had a need to do it, and Adobe documentation for Acrobat being what it is, I can't tell if AcroPro is supposed to be able to merge bookmarks when merging PDFs. It would be an unsurprising feature, and you do say it works on PDFs generated by means other than FM.
    Here's a hack that might work, if the variable-page-size rendering turns out to be out of reach. You can batch* this.
    Open each component PDF and re-save it with some otherwise harmless optimization (or even none). This will probably cause AcroPro to re-write the internal structures of each PDF, which might then be amenable to merged bookmarks when you re-open them for merging.
    * We do a similar thing for a slightly different problem. We have a software-in-a-box XML publishing app that, at just some seats, is generating PDFs that are tagged for byte serving (fast web view), but are not in fact encoded for it. This causes AcroReader plugin and entire browser crashes for web end users. The s/w vendor can't even tell us where the option is for controlling that feature, because they get the PDF gen code from some other 3rd party. So we routinely batch process all generated PDFs, with, oddly enough, NO "commands" selected. The re-save alone fixes it.

  • PB 12.5.1 Web Forms save as PDF

    I'm having trouble creating PDF files in a Web Forms app deployed to a new server. I've done this successfully a few times using apparently identical configurations, so I'm not sure what's going on. Facts about the situation:
    1. PB Classic 12.5.1 Web Forms target
    2. IIS 7.5 on a remote Windows Server 2008 R2 server
    3. Ghostscript 8.71
    4. To determine whether Ghostscript was the problem, I installed a Win32 version of the PB app on the IIS server computer and tested. SaveAs() works as expected in the Win32 target.
    5. To determine whether file system permissions were a problem, I used the Web Forms app to SaveAs() a text document and performed the DownloadFile(). The file downloads as expected.
    6. It is the SaveAs() function call that is failing. The line
    dw_report.SaveAs(<filename>, PDF!, FALSE)
    returns -1
    Thanks in advance for any suggestions...

    Ronnie,
    Here is some code that I use in a webform application to create a PDF file and send it as an attachment. Remember that you have to do MapVirtualPath so you can find the file after you do dw_1.saveas...
    Also, when I had trouble it was because I named my printer 'Sybase Datawindow' instead of 'Sybase Datawindow PS'.
    Chris Pollach recently posted some great step by step installation procedures for 32 and 64 bit machines.
    Best,
    Paul
    //Email Datawindow Saved As PDF Button
    long random_number
    string random_number_string
    randomize( cpu() )
    random_number = rand(9999)
    random_number_string = string(random_number)
    string  user_id
    user_id = trim(email)
    string bodytext
    bodytext = 'Dear XXX, ' + '~r~n' + '~r~n' + 'Please find attached the XXX report in PDF format.' + '~r~n' + '~r~n' + 'Thank you,' + '~r~n' + '~r~n' + 'XXX' + '~r~n' + '1-888-888-8888'
    string filename
    string filepathname
    //create the path to use LATER for the attachment
    #if defined PBWEBFORM then
    filepathname = MapVirtualPath("c:\XXX-Detailed-" + trim(report_name) + "-" + random_number_string + ".pdf")
    //create the path and filename to use NOW and save the file in the virtual directory
    filename = "c:\XXX-Detailed-" + trim(report_name) + "-" + random_number_string + ".pdf"
    long returncode
    returncode = dw_1.SaveAs(filename,PDF!,false)
    if returncode = 1 then
    string subject
    subject = "XXX Report-"+report_name
    string fromaddresstext
    fromaddresstext = "[email protected]"
    System.Net.mail.MailMessage message
    message = create System.Net.mail.MailMessage
    message.subject = subject
    message.body = bodytext
    System.Net.Mail.MailAddress fromaddress
    fromaddress = create System.Net.Mail.MailAddress("[email protected]", "XXX Operations")
    message.From = fromAddress
    System.Net.Mail.MailAddress toaddress
    message.To.Add(user_id);
    System.Net.Mail.Attachment attach
    attach = create System.Net.Mail.Attachment(filepathname,"application/pdf");
    //Helper.Mail.AddAttachment(message, attach)
    message.Attachments.Add(attach);
    System.Net.Mail.SmtpClient smtpclient
    smtpclient = create System.Net.Mail.SmtpClient
    smtpclient.host = "xxx.xxx.com"
    smtpclient.port = 25
    //smtpclient.send(message)
    TRY
    smtpclient.send(message)
    CATCH (System.Net.Mail.SmtpException ex )
    MessageBox( "SMTP Error", "Sorry. There is a problem sending the XXX email. " + ex.Message )
    END TRY
    mle_1.text = "XXX Report has been emailed to : " + user_id
    else
    mle_1.text = "Sorry, there was a problem generating the file."
    destroy message
    destroy smtpclient
    end if
    #end if

  • Preflight keeps saying  "Unable to save the PDF File after post processing"

    I'm at a loss how to overcome this. Spent almost a whole day, together with another person, trying to fix it with no success!
    I use Adobe pro CC on a PC
    I usually receive pdf files from this one client who edits and formats a book in Mac Pages. Up until a few days ago I had no problems converting the client's pdfs into pdf/x3, but the last three versions of the latest file have stumped me.
    Just to test, I first just tried to convert the file (33MB), unchanged, to pdf/x3 using the save as other option - message reads  "the document has been saved, however, it could not be converted according to the selected standard profile: convert to PDF/X. Please use preflight with the profile "Convert to PDF/X" in order to identify those properties of the document which prevent it from being compliant to this profile"
    if I then choose under Profiles - convert to PDF/X3 - it says no problems found, and appears to have saved the file. If I try to save again as a pdf/x3, just to make sure, it then tells me it's not pdf/x3 compliant
    OK - so then I go back to preflight - and choose the standards function - then pdf/x3, then continue with the default colour profile. About halfway through the conversion, at the point of saving the file,  I get the message "unable to save the pdf file after post processing"
    So far I've had no luck figuring out what this is.
    I then choose the option of "verify compliance of ppdf/x3" - message reads "pdf/x3 version key (GTS_PDFXVersion) missing", and "Trapped key not true or false"
    Help!! How can I be sure the file converted / or not?
    kim

    Yes I was/am aware of Preflight's inability to play nicely over cloud technologies in certain cases, especially wrt Standards technologies, this will be partially addressed in an upcoming version of Preflight without saying too much.  But the same thing could theoretically have happened if the file was also located on another local network client or server.  Leaving aside the argument that this may violate the Acrobat User Agreement - since purchasing the software, the user agrees to employ its functionality on a single host system and precludes host-client-based scenarios - this simply is not a supported use, meaning the user may not have expectations that it will work at all, if the applications requirements are not observed.  There do exist server-solutions for Preflight files within networks, but Acrobat and by extension Acrobat Preflight is not one of those solutions, and (still) belongs in the single host-based desktop environment.
    However most (99.9%) functions within Acrobat <-> acrobat.com file exchange are supported, file syncing across multiple devices will soon be supported, but Standards compliance is still admittedly a problem at this point.  Some testing has been done using 3rd party cloud technologies starting with enterprise-based solutions, such as Office 365, and this will continue to ramp up to include other 3rd party products.
    As for the second point, Preflight will usually change the PDF version to be complaint, are you saying that it was unable to do so in this case?  It seems that this error should have popped up during the normal Preflight conversion attempt.  Personally I think solving a workflow problem using the print path is a little bit of a heavy-handed approach, but if helped and the results are acceptable, then that is good.  Since that path is non-existent on a Mac, as one needs to Save as Adobe PDF from the Print dialog's PDF drop-down menu, I am assuming your workflow involved file creation on a Mac, then further processing on Windows using the PDF printer.  I am wondering if a simple resave/Save As... to PDF with overwrite on a Mac, or Preflighting the file using a PDF version compatibility profile before the PDF/X conversion would have helped.  Since there are such a multitude of methods that a PDF can be created, there are also many ways within Acrobat that a user can shape the file to be compatible with the expected workflow, ie, 'many ways to skin a cat', without being morbid.

  • Using "save as" in Adobe Reader to save a PDF document in Alfresco

    Is it possible to use the "save as" option in Adobe Reader to save a PDF file directly in Alfresco?

    This is the scenario:
    When I open any PDF document, there is only one option to save this document: "save a copy". What I am looking for is a way to connect with Alfresco server in order to choose my target folder inside Alfresco and then save the document in it.

Maybe you are looking for

  • NVIDIA GeForce 8800 GS in iMac White

    Hello, is posible "NVIDIA GeForce 8800 GS" in my iMac 2.16 GHz Core 2 Duo 24" (MA456LL)? I dont have guarantee.

  • Invincible 3D Model

    Dear all, I'm still a newbie on NI Insight, but when I tried to use it last weekend, here are some difficulties I encountered: 1. Whenever I load an example file that has 3D model in the layout, the model does not appear. I could see the colorbar on

  • [SOLVED] X server doesn't start correctly: Connection to X server lost

    I was trying to configure wine on my x64 system and suddenly X shutted down. There is nothing helpful in xinit output, only line "xinit: connection to X server lost". I've got nVidia GeForce 9800 GT, and i'm using nvidia driver. I tried using nouveau

  • To reinstall Essbase server

    We would like to reinstall Essbase server to fix a server performance issue.Can we keep all App and Db to do this or is it necessary to delete all app before?Nota: Essbase 6.5.1 on windows NT 5 environmentThanks in advance

  • CFGrid onError not working correctly

    Hi All, I have a CFGrid, format type is 'html' and its bound to a javascript function to populate it. The javascript function in turn calls a cfc via ajax, which calls a back end and the grid gets populated. Works lovely, except if there is an except