PDF's on the Server

HI Gentlemen,
If I deploy my application with 10gAS on a 9i Server, and send a report output out of Forms 9i via RUN_REPORT_OBJECT() to "MYFILE.PDF" and want to deliver it subsequently thru WEBUTIL to the user who initiated it from his client browser, does the filename cause any collision, if multiple users generate the file simultaneously? Or are the sessions on the server also quite independent from each other?
Thanks, kind regards from
Miklos HERBOLY

A SOAP webservice would be the best way I can think of.
Just realize that any function that attempts to connect to a remote server for any reason will prompt the user to allow the connection. There is no way around that. If they choose not to allow the connection, you will not be able to retrieve the version number.

Similar Messages

  • Save the report in PDF format on the server: is it possible?

    Hi all,
    Is it possible to save the report in PDF format on the server?
    In other words, in a web application:
    1) the user requests a report
    2) the report produced in PDF format, is saved on the server, where is the Java Reporting Component
    3) the report, in PDF format, is sent to the client's user
    Thanks a lot

    PrintOutputController.export, get the byte stream, save on server.
    Sincerely,
    Ted Ueda

  • How to download a pdf file from the server from an strut application?

    Hi,
    I wan to download a pdf file from the server side to local system. Please help me how i use the down load option.

    Read up on the Struts download action [1].
    And next time, please post in the relevant forum, one of the web-tier ones [2].
    [1] http://wiki.apache.org/struts/StrutsFileDownload
    [2] http://forum.java.sun.com/category.jspa?categoryID=20
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • How to Generate PDF file on the server

    Hello Everybody !
    I Need to generate a PDF File on the server, and I'm usin the command :
    "OPEN DATASET p_path FOR OUTPUT IN BINARY MODE message l_verro .
           LOOP AT t_lines.
             TRANSFER t_lines-tdline TO p_path.
           ENDLOOP.
           CLOSE DATASET p_path.  "
    The File was generated, but is corrupt . Don't Open the file, It's wrong.
    When I use the function GUI_DOWNLOAD the file is generated  right. But in the server not.
    Can someone help me please ??
    Best Regards,
    Wagner Duarte

    Hi.
    did you check this post?
    Download PDF File to SAP Application Server
    It doest the same as you are asking.
          " Write PDF Binary Data to App Server
        OPEN DATASET lv_filename FOR OUTPUT IN BINARY MODE.
        IF sy-subrc = 0.
          LOOP AT lines INTO ls_data.
            TRANSFER ls_data TO lv_filename.
          ENDLOOP.
        ENDIF.
        CLOSE DATASET lv_filename.
    Regards
    Miguel

  • How can open a html, pdf files from the server (c:\foldername\filename)

    Hi all,
    I am developing an application. in this app i have to implement RMI.
    My problem is this, How can a client open a files from the server.
    all the html, pdf files are stored in the server's directory like C:\audit\filename.
    There is a folder on the server's C directory which contains all the html , pdf files.
    please tell me how can a client open a file from the server using RMI.
    Please send me the solution as soon as possible.
    Thanks & Regards
    Bhavishya

    That's doing it the hard way. Why not use HTTP or FTP?

  • Export of PDF errors after the PDF generates on the server (File I/O error)

    We have Crystal 9 reports engine, developed with VS2003, which is being called from a VS2008 web app on a 32-bit server. The reports have been working okay, unless the file is of size > 600K. Then, right after the PDF is created in the C:\Windows\Temp, the export fails to display it on the screen, throwing the following error:
    Error in File C:\WINDOWS\TEMP\temp_c2e5676e-7d48-413e-9dca-fd2615f236c6.rpt: File I/O error.
    at [1].[1]D(Int16   , Int32   ) at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export() at commisionstatement.CommissionStatementPDF.Page_Load(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain()
    The issue is quite frustrating as it doesn't indicate what the cause of it is. It is not clear whether this is a timeout issue and what Timeout setting applies. The report objects have a default CacheTimeOut set as CachedReportConstants.DEFAULT_TIMEOUT. How long is this? is there any other setting on the server that can overwrite this timeout? What does the Export method need in order to find and pull the file on time?
    Note that the report generates on the server and if it's not too big, will display on the Client's browser.
    Your help will be greately appreciated.
    Thank you,
    Sonya

    Hi David,
    So we were finally able to test with the increased timeout, which we set to 5 min:
    <httpRuntime
                executionTimeout="300"
                maxRequestLength="4096"
                useFullyQualifiedRedirectUrl="false"
                minFreeThreads="8"
                minLocalRequestFreeThreads="4"
                appRequestQueueLimit="100"
                enableVersionHeader="true"
            />
    Unfortunately, now we started getting other errors, related to the limit of the licenses:
    A Crystal Reports job failed because a free license could not be obtained in the time allocated. More licenses can be purchased direct from Crystal Decisions or through the Crystal Decisions Online Store.
    According to page 8 of the article below, we should be able to purchase more such licenses free of cost:
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/7006fc4c-6a1e-2b10-8ea8-9019b136fa90?quicklink=index&overridelayout=true
    Could you let us know how to proceed in order to obtain the licenses?
    Thank you,
    Sonya

  • Sing a PDF document on the server side

    Hi all, i make on the server side a pdf document automaticly with php. Now I want make an script or a programm that automaticly signs my pdf dokumets.
    Do anyone know more about this scripts or programms in Java, that is running on a server?
    Best regards
    Nikolay

    When I sing, it is usually Girls On Film or Hungry Like The Wolf but I know that Percy Blakney has a fondness for Haircut 100.
    Hope That Helps.
    Oh, and by the way, try doing a search on Google. You'll get quite a few results back for Java and PDF, tovarisch.

  • Opening a PDF residing in the server

    Hi,
    I have a WD application and there is pdf file placed in the same server of the client where SAP is there. I have to open that file from on click of a hyperlink from my application . Please suggest some way to do that.

    Hi Ashu,
    You need to make use of the interactive form UI element to display PDF in WD.
    On action method of hyperlink read the file from app server using open dataset command. convert the file content into XSTRING and then pass this XSTRING to PDFSOURCE attribute of interactive form UI element.
    You can place this ITF UI element on a view and navigate to that view.
    Thanks,
    Abhishek

  • **** Editing and Saving an Adobe Form on the Server ****

    We are trying to achieve the following:
    1. Generate 3D PDF from VRML (Done)
    2. Embed the 3D PDF into a PDF Template and save it on the Server as an editable .pdf file
    3. Then, the user must be able to open the Editable PDF inside a web browser such as IE.
    4. The user must then enter data in some fields (Text field, drop down etc) and save it.
    5. The save action must save the data in a database and importantly, the PDF itself as .pdf file on the same server location. The updated PDF file on the server location must be available for further editing and vieweing in the updated state.
    Questions:
    1. Do the ADOBE Livecycle APIs support such a feature?
    2. Is there a code sample for the same?
    3. IF we cannot save the PDF with the updated data back to the server, then is there a way by which we can dynamically associate a PDF template with the user given data, generate it and render it using Livecycle Java APIs at runtime?
    Thanks
    Ram

    Yes. This is possible through an API. See the API Quick Start code for Forms ES at
    http://help.adobe.com/en_US/livecycle/9.0/programLC/help/000162.html#1548277
    There are different methods of submitting data from the client (xml, http post, xml+xdp, and pdf). You can extract the data server side, insert the data to database, merge the data with a form and save the form on the server.
    Steve

  • Need to find attachment (PDF) for contract on server

    Hi
    Weare using SAP e sourcing 5.1/ CLM 2.0. We have created master agreement and now in contracts tabs using upload document we have uploaded a pdf document. However we are not able to locate that PDF document on the server on which SAP E Sourcing/ CLM is installed.
    Can somebody plz provide some pointers on where the contract attachments are stored on the server.
    Thanks
    Shobha

    Hi Baski,
    Thanks for your quick reply, i checked in the database in attachment table in the table just mentioned BLOB. can you please tell me what is BLOB. is it possible to access pdf file in BLOB.

  • Send PDF form to e-mail as attachment with a PHP script on the server

    Hi,
    For several days I've been searching though the internet looking for a solution, a quite simple one in my opinion, but I got a little desperate not getting any result I want.
    Okay. The Situation.
    I have a PDF form to order sandwiches and drinks.
    The PDF has serveral area's and columns where customers fill in the amount of the products they would like to order.
    At a position of a field, the kitchen can almost blindly see what products a customer ordered.
    Therefore, when someone fills in the form, I want to send the filled PDF by e-mail to the kitchen's e-mail adress. And important: the PDF in the kitchen's mailbox should be completely identical to the form the customer filled in.
    So, I have an Order button in my form. I set the action as 'Submit a form'.
    In the settings under 'Enter a URL for this link' I used just some PHP mailer script I also use on my website contact form.
    IF I check 'HTML' under 'Export Format' the PHP mailer works fine. I receive an HTML e-mail listed the ordered products.
    BUT
    I do want the original filled PDF in my mailbox instead of an HTML e-mail.
    So, for 'Export Format' I checked 'PDF The Complete Document'.
    But then my PHP mailer script doesn't work anymore.
    It gives errors like 'no valid e-mail adres' , etcetera etcetera.
    Who has a solution?
    Who has a working standard PHP script for me what just sends the kitchen an empty mail with the original PDF as attachment?!
    There is no need to use any database or other more complex functionality. Just mail the filled PDF.

    You can submit whole PDF format as long as you enable usage rights on the PDF.
    Normally Adobe Reader users can only submit the data, XFDF, FDF, XDP, XML.
    To enable usage rights on the PDF you will need to use Adobe Acrobat Std/Pro.
    As for the PHP Script; it depends on your PHP web server capabilities.
    The script will be slightly different, if the server uses PHP Mail or PHP PEAR.
    Just attach the submission to an email and send.
    If the client is submitting the form from a standalone pdf reader app, you can also respond with a success or failure FDF \status message; otherwise, you can redirect to a success / failure URL.
    For more information and online examples:
    http://www.pdfemail.net/examples/

  • I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server wher

    I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server where the PDFs open fine) I get an error 'There was an error processing a page. Invalid function resource' The other one just doesn't open at all. Can anyone help with this please?

    Hello,
    Are the pdf linked correctly in the website? Is this a public website? If yes, please post the link here.
    ~Deepak

  • Regarding the uploading the pdf file to the application server

    hi,
    iam getting this error while uploading the pdf file to the applicatioin server.
    "There was an error while trying to parse an image"
    to convert smartform into PDF file we ll use convert_otf FM.
    If see that FM data ll be stored in it_tline structure ok.
    For sending to application server we ll use
    OPEN DATASET p_arch for OUTPUT IN TEXT MODE ENCODING DEFAULT IGNORING CONVERSION ERRORS.
      LOOP AT it_tline.
      TRANSFER it_tline to p_arch.
      ENDLOOP.
      CLOSE DATASET p_arch.
    Ok
    For getting data from internal table we ll use
    OPEN DATASET p_arch FOR INPUT IN TEXT MODE ENCODING DEFAULT IGNORING CONVERSION ERRORS
    do.
      READ DATASET p_arch INTO it_tline.
      if sy-subrc = 0.
        APPEND it_tline.
        ELSE .
          exit.
          endif.
      enddo.
    CLOSE DATASET p_arch.
          LOOP AT it_tline.
        TRANSLATE it_tline USING '~'.
        CONCATENATE wa_buffer it_tline INTO wa_buffer.
      ENDLOOP.
      TRANSLATE wa_buffer USING '~'.
      DO.
        i_record = wa_buffer.
        APPEND i_record.
        SHIFT wa_buffer LEFT BY 255 PLACES.
        IF wa_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Attachment
      REFRESH:
        i_reclist,
        i_objtxt,
        i_objbin,
        i_objpack.
      CLEAR wa_objhead.
      i_objbin[] = i_record[].
    Create Message Body
    Title and Description
      i_objtxt = 'COMMERCIAL INVOICE'.
      APPEND i_objtxt.
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
      READ TABLE i_objtxt INDEX v_lines_txt.
      wa_doc_chng-obj_name   = 'COMMERCIAL INVOICE'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr  = 'COMMERCIAL INVOICE'.
      wa_doc_chng-sensitivty = 'F'.
      wa_doc_chng-doc_size   = v_lines_txt * 255.
      CLEAR i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num   = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num   = v_lines_txt.
      i_objpack-doc_type   = 'RAW'.
      APPEND i_objpack.
    Attachment
    (pdf-Attachment)
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num   = 0.
      i_objpack-body_start = 1.
      DESCRIBE TABLE i_objbin LINES v_lines_bin.
      READ TABLE i_objbin INDEX v_lines_bin.
      i_objpack-doc_size =  v_lines_bin * 255 .
      i_objpack-body_num  = v_lines_bin.
      i_objpack-doc_type  = 'PDF'.
      i_objpack-obj_name  = 'COMMERCIAL INVOICE'.
      i_objpack-obj_descr = 'COMMERCIAL INVOICE'.
      APPEND i_objpack.
    BREAK-POINT.
      IF it_adr6[] IS NOT INITIAL.
        LOOP AT it_adr6 INTO wa_adr6.
          CLEAR i_reclist.
          i_reclist-receiver = wa_adr6-smtp_addr.
          i_reclist-rec_type = 'U'.
          i_reclist-com_type = 'INT'.
          APPEND i_reclist.
        ENDLOOP.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data = wa_doc_chng
            put_in_outbox = 'X'
          TABLES
            packing_list  = i_objpack
            object_header = wa_objhead
            contents_bin  = i_objbin
            contents_txt  = i_objtxt
            receivers     = i_reclist.
      ENDIF.
    The above error I am getting.
    Please give your suggestions
    Thanks in advance

    U can use this code
    Reward if useful
    REPORT  ZMN_PDF_UPLOAD.
    data: begin of itab occurs 0,
    field(256),
    end of itab.
    data: dsn(100) value '\usr\sap\DEV\DVEBMGS00\work\testpdf',
    length like sy-tabix,
    lengthn like sy-tabix.
    call function 'GUI_UPLOAD'
    exporting
    filename = 'c:\temp\test.pdf'
    filetype = 'BIN'
    importing
    filelength = length
    tables
    data_tab = itab.
    open dataset dsn for output in binary mode.
    loop at itab.
    transfer itab-field to dsn.
    endloop.
    close dataset dsn.
    clear itab.
    refresh itab.
    *To crosscheck if it went well
    open dataset dsn for input in binary mode.
    do.
    read dataset dsn into itab-field.
    if sy-subrc = 0.
    append itab.
    else.
    exit.
    endif.
    enddo.
    call function 'GUI_DOWNLOAD'
    exporting
    filename = 'c:\temp\testn.pdf'
    filetype = 'BIN'
    bin_filesize = length
    importing
    filelength = lengthn
    tables
    data_tab = itab.
    *Or
    *Use the TCode
    *CG3Z or CG3Y
    *for downloading to Application Server.

  • How to archive billing docs in PDF format on the application server?

    Hi,
    I want to archive billing docs in PDF format on the application server.
    Formerly on our SAP system, Archivelink was set up to archive these documents to an HTTP content server. Since we no longer have this server, I want to adapt it to simply output the PDFs to a filesystem on the application server. I have tried to reconfigure the content repository (tcode OAC0) without success.
    Am I on the right track?
    If so, which document area, storage type, etc should I use?

    Hi Slath,
    from DMS point of view you may use the storage category 'DMS_C1_ST' and the content repository 'DMS_C1' as a kind of template. The document area for DMS storage categories has to be maintained as 'DMS'.
    Best regards,
    Christoph

  • View the pdf stored in content server

    Hello,
    Can I open a pdf available in content server from web? This web based application is non SAP aaplication.
    The content server is connected to my SAP system and by using FM ALINK_RFC_DOCUMENTS_GET I get the required link.  I am not sure how can I open this link from ouside SAP system( in SAP system pfd can be open using FM OBJECT_DISPLAY_CONNECTIONS).
    I have also gone through the below SAP link also but no luck.
    http://help.sap.com/saphelp_nw70/helpdata/en/9b/e8c18ceaf811d195580000e82deb58/frameset.htm
    Thank you,
    Bhavana

    Hi
    I'm not sure you can use this URL outside your SAP System and open it without providing any kind of security credentials.
    Anyway what you could do is use ALINK_RFC_TABLE_GET to get your PDF in binary format and compose it in your Web Application
    Regards

Maybe you are looking for

  • How do I download a .exe file on my macbook pro?

    I am trying to download a .exe file -- I just switched to a macbook pro from a PC.  help!

  • ICC profiles assigned to text?

    CS5 (patched to 7.03), Mac OS 10.6.7 Hi Everyone, My production coordinator made a PDF of my magazine for the printer yesterday and when he ran it through PitStop, several errors turned up to the effect of text having an ICC profile assigned to it. T

  • Yosemite: Thumbnails not visible in Finder

    I ran into a strange problem immediately after updating to Yosemite. I have a 2014 mbp dual-video, 16 gb ram. In any folder on my drive icons are not visible. They are there, I can drag and copy-paste folders and files, but the finder only shows a bl

  • Element 9 replacement

    wil purchase and ownload of elements 12 anhd premiere 12 copy old info from elements nine files into new product.?

  • E50 Goes to Loud speaker (IHF) mode automatically ...

    Hi, I have a problem with my E50 which is some thing like this, During call waiting (While I am receiving a second call, when I am already on a call) the incoming audio is switching to loud speaker automatically with out any commands. Then I can not