RFC pdf download with a datatype SO_TEXT255 datatype: Issues

Hi,
I imported an RFC in webdynpro java which returns me an PDF file in a table with datatype set as S0_TEXT255.
when executed the model, Model PDF size always returns zero. as a result of of this I could not check the condition and unable to
download the pdf.
if (model.size>0){
//createResources(set pdfline = model pdfline);
//download
Please suggest any approach in geting the pdf. I tried everything I can.
Thanks and Regards
Praveen
Edited by: Praveen kumar Kadi on May 16, 2011 11:17 AM

What I would like to do is remaster the album and prepare the artwork then place the mp3's and artwork in a folder which will then be zipped rady for download.
In the page where you want do have the download link just write "Click here to Download" or whatever, select it, open the inspector, go to the link tab, check the "Enable as a Hyperlink" Link to "A file" select the zip containing the album. Then save and the zip file gets integrated into the Domain file (where iWeb stores its files). Now, when you publish to a folder the zip file gets published into this folder too so all you have to do is link it as I said and then upload the content of the folder to a server. People will then just have to click on the download link and download will start.
I don't really want to start a .mac account because I don't want to commit to a continuous monthly fee, so I guess I would need to buy a domain name and some hosting.
You might find a free host which gives you enough space for the album to be uploaded without having to pay anything.
Try one of these
http://www.275mb.com/
http://www.free-webhosts.com/webhosting-01.php
or search with Google
Would I then be able to design a simple site with iweb and upload to this external host (i.e. a host other than .mac)?
No problem, to publish go to File and select "Publish to a folder". You will then be able to upload that folder to a server using an FTP application. FTP means "File Transfer Protocol" it's an application for uploading your website to servers.
Here are two links to two (I think mostly used) freeware such applications
http://captainftp.xdsnet.de/cftp/download.html
http://cyberduck.ch/
I am pretty clueless with web design which is why the convenience of Apple software really appeals to me.
Yes it does, it couldn't be any easier.
Recap: find a free host which gives you enough space to upload the album and allows FTP upload. And you're almost done...
Regards,
Cédric

Similar Messages

  • Strange problem of Pdf downloading  with Web Dynpro

    Hi, experts, I have to setup a project to realize pdf downloading with web dynpro. But unluckily, I have tried all the methods in this froum ,there's really strange problem .Because when I click the link of Download UI link, there's no reaction at all, I really don't know why.Below is the codes I used , can anyone help me ? thank you very much!
    public void wdDoInit()
        //@@begin wdDoInit()
              IWDAttributeInfo attInfo =
                   wdContext
                        .currentContextElement()
                        .node()
                        .getNodeInfo()
                        .getAttribute(
                        "Pdfsource");
              ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
              IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) type;
              binaryType.setFileName("test.pdf");
              binaryType.setMimeType(WDWebResourceType.PDF);
              try {
                   int length =
                        (int) wdContext.currentPdfdownloadElement().getBin_Filesize();
                   byte b[] = new byte[length];
                   b = wdContext.currentPdfdownloadElement().getBin_File();
                   wdContext.currentContextElement().setPdfsource(b);
              } catch (Exception ex) {
    "Pdfsource" is the context value attribute of type binary.And Bin_File is the xstring type parameter from my RFC contains pdf content.
    I used two views and one customer-controller . I put some value in the first view to set search condition.and the second then appears and have the download UI element. Are there any additional codes I should use? pls help!

    Hi Hao,
    Try this out
    Suppose the file name is test.doc in c drive in server
    create a context attribute filedata of binary type
    bind it to data property
    write the following code
    try
       File input = new File("C:
    test.doc");
       int length =(int)input.length();
       //Create a byte array b to hold the file
       byte b[] = new byte[length];
       FileInputStream in = new FileInputStream(input);
       //Reading the file to a byte array b
       in.read(b);            
       in.close();
       //Setting the data from the byte array to the context element.
       wdContext.currentContextElement().setfiledata(b);
    catch(Exception ex)
      wdComponentAPI.getMessageManager().reportSuccess("Error in File 
      IO"+ex.toString());
    // Structure information of the context attribute
    IWDAttributeInfo attinfo = wdContext.getNodeInfo().getAttribute("filedata");
    IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType) attinfo.getModifiableSimpleType();
    // Default File name which appears when opened on client machine
    binaryType.setFileName("testing.doc");
    //Explicitly setting the file type
    binaryType.setMimeType(WDWebResourceType.DOC);

  • I can't complete any PDF downloads with Adobe Reader

    I had Adobe Reader X with this problem then uninstalled X, then installed Adobe Reader XI and still I can't complete any PDF file downloads on Explorer with Windows 8 with out the explorer downloader document page crashing. Then some times when I have the option to "save to" the PDF doc to a download file I can open it from there. Most all existing PDF files open fine.

    UPDATE!!!!
    I had to fix it my self!!!
    No more than just one person (thanks) tried to help me out!
    I FIXED IT....
    The problem was you could say a self conflict of Adobe reader. The software would not shut down any instances. It just would not quit, weather I had turned off my PC or otherwise. If I tried to run a instance of Adobe reader then failed, then tried again, the number of times I tried would still continue and would not stop when trying to "End Task" with the "Task Manager" in the "processes" section, then when I did succeeded inaddition to "Processes" was more in the "Details" section of "Task Manager" that would not stop!!
    I down loaded "Acrobat Cleaner" and ran it immediately selecting Adobe Reader to be removed, after startup of my PC and it removed all installations.
    I then proceeded to find all other "Adobe Reader" downloaded files and just dragged them to the Recycle bin.
    That then gave me the chance to do a very clean install, and it worked with out faltering.
    If you are having any major problems, do a clean out of Adobe Reader of all old versions and install the one that suits your computer.
    Acrobat Reader now loads very fast, like I mean very fast!!

  • Unexpected change in opening pdf downloads with 37.0.1

    This is my first time asking a questions, so I may not be doing it quite right. Anyway, after downloading the update to 37.0.1, viewing pdfs became different. I now get a separate download window (which I didn't get before) and when I go to the downloaded pdf file, I now have to answer several questions before I'm able to get the Reader to run. I believe pdfs used to just open up automatically in a new tab without having to do anything. Is there a way to restore that behavior? Thanks for your help.

    Please try the following and see if it works:
    1. Go to the firefox preferences by typing "about:preferences" in the location bar.
    2. Choose the "applications" tab on the left.
    3. Type "pdf" in the search box that appears.
    4. You should get something similar to the attached screenshot. Click on the dropdown menu, and choose "Preview in Firefox" as the action.

  • My Macbook Air is stopping a few seconds into videos (e.g. Youtube and BBC iPlayer) and is doing the same thing with PDF downloads not

    My Macbook Air is stopping a few seconds into videos (e.g. Youtube and BBC iPlayer) and is doing the same thing with PDF downloads which are only partially downloading then stopping. I changed some security settings yesterday but don't think I touched anything else. Can anyone help?

    My Macbook Air is stopping a few seconds into videos (e.g. Youtube and BBC iPlayer) and is doing the same thing with PDF downloads which are only partially downloading then stopping. I changed some security settings yesterday but don't think I touched anything else. Can anyone help?

  • What to do? When on a site with a PDF download I wish to open, the site commences to open in a new Tab but the information does not come through? This happens on all sites. The advanced Java Script is disabled.

    When on a site with a PDF download I wish to open, when I click on download the site commences to open in a new Tab but the information does not come through? This happens on all sites. The advanced Java Script is disabled. The new tab will sometimes flash black then go white with nothing else happening or just go white & nothing else?

    I had the same problem and also had PDF Download 3.0.02 installed. By removing this addon I can now select a PDF document which then opens up a normal Open With/Save dialogue allowing me to open the file or save it. Hope this helps.

  • I bought several eBooks for Adobe PDF download. Am I able to download with the adobe program that I

    I just purchased a library worth of eBook downloads from the Nonviolent Communication Academy bookstore.  I chose Acrobat PDF download, but do not know how to be sure that the books have been downloaded and saved.  Do I have the Adobe program necessary to contain several eBooks?  Once I close the download page, I cannot have access to it again.  So, now or never.  There is a storm here and with my luck the electricity will go out. Please assist me.

    Which Adobe application are you trying to use?

  • Pdf files download with .file extension thus wont open as a pdf

    Hi , when I try to download a pdf document with Firefox, the file downloads but add a .file extension thus wont open as a pdf.
    I do not know if this is relevant but if you try to get the file to open with adobe viewer by telling the pc to open this type of file always with adobe viewer, nothing happens the tick box is greyed out, however if I double click the adobe viewer icon it will quite happily open the downloaded file as a pdf

    The next time you download, STOP, and double check the full name of the file.
    Firefox would not change the file name. But an add-on could.

  • Spool to PDF - Problems with downloading PDF file when converting with job

    Hi all!
    I've got a problem. I've got a program that writes a smartform into the spool. After that, I am using the function modules RSTS_GET_ATTRIBUTES and CONVERT_OTFSPOOLJOB_2_PDF to convert it into PDF. I retrieve a internal table with the binary content for the PDF file. Now i can download the file to the desktop by using the method cl_gui_frontend_services=>gui_download.
    But there is a problem: when the spool excesses 99 pages, the function module CONVERT_OTFSPOOLJOB_2_PDF asks the user via popup if the PDF should be created in background. If the user commits, the internal tables that should contain the binary PDF data is emtpy. A background job writes the binary data into the spool. The user has got an empty file that will be generated by cl_gui_frontend_services=>gui_download.
    So, is it possible to suppress the popup to create the PDF allways online? Or how can I write the PDF file if there will be create any spool id in background? You'll find my current code below.
    * Prüfen ob es die übergebene Spoolnummer überhaupt gibt
      SELECT SINGLE * FROM tsp01 INTO ls_tsp01 WHERE rqident = id_spoolid.
      IF ( sy-subrc <> 0 ).
        cf_error = 'X'.
        EXIT.
      ENDIF.
    * TemSe-Objekte speichern sequentielle Daten. Ein TemSe-Objekt kann aus
    * mehreren Teilen bestehen. Dieser FB ermittelt die wichtigsten Attribute
    * eines TemSe-Objekts. Falls das Objekt aus mehreren Teilen besteht, werden
    * die Attribute entsprechend zusammengefaßt.
      CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
        EXPORTING
          client        = ls_tsp01-rqclient
          name          = ls_tsp01-rqo1name
          part          = 1
        IMPORTING
          objtype       = ld_objtype
        EXCEPTIONS
          fb_error      = 1
          fb_rsts_other = 2
          no_object     = 3
          no_permission = 4
          OTHERS        = 5.
      IF ( sy-subrc <> 0 ).
        cf_error = 'X'.
        EXIT.
      ENDIF.
      IF ld_objtype(3) = 'OTF'.
        lf_is_otf = 'X'.
      ELSE.
        lf_is_otf = ' '.
      ENDIF.
      IF ( lf_is_otf = 'X' ).
    *   Konvertiere OTF-Spoolauftrag nach PDF
        CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
          EXPORTING
            src_spoolid              = id_spoolid
            no_dialog                = ' '
    *        pdf_destination          = 'T'
          IMPORTING
            pdf_bytecount            = ld_numbytes
            pdf_spoolid              = ld_pdfspoolid
            btc_jobname              = ld_jobname
            btc_jobcount             = ld_jobcount
          TABLES
            pdf                      = lt_pdf
          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.
        IF ( sy-subrc <> 0 ).
          cf_error = 'X'.
          EXIT.
        ENDIF.
      ELSE.
    *   Konvertiere ABAP-Liste-Spoolauftrag nach PDF
        CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
          EXPORTING
            src_spoolid              = id_spoolid
            no_dialog                = ' '
          IMPORTING
            pdf_bytecount            = ld_numbytes
            pdf_spoolid              = ld_pdfspoolid
            btc_jobname              = ld_jobname
            btc_jobcount             = ld_jobcount
          TABLES
            pdf                      = lt_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.
        IF ( sy-subrc <> 0 ).
          cf_error = 'X'.
          EXIT.
        ENDIF.
      ENDIF.
      WHILE ( lf_file_ok = '' ).
    *   Die in der Tabelle lt_pdf enthaltenen Binärdaten werden nun in eine
    *   Datei geschrieben. Da alle übergebenen Tickets in die gleiche Datei
    *   geschrieben werden, kann der im Speicher gehaltente Protokolleintrag
    *   gelesen werden
        CALL METHOD cl_gui_frontend_services=>gui_download
          EXPORTING
            bin_filesize              = ld_numbytes
            filename                  = cd_filename
            filetype                  = 'BIN'
    *    append                    = SPACE
    *    write_field_separator     = SPACE
    *    header                    = '00'
    *    trunc_trailing_blanks     = SPACE
    *    write_lf                  = 'X'
    *    col_select                = SPACE
    *    col_select_mask           = SPACE
    *    dat_mode                  = SPACE
          confirm_overwrite         = 'X'
    *    no_auth_check             = SPACE
    *    codepage                  = SPACE
    *    ignore_cerr               = ABAP_TRUE
    *    replacement               = '#'
    *    write_bom                 = SPACE
    *    trunc_trailing_blanks_eol = 'X'
    *    wk1_n_format              = SPACE
    *    wk1_n_size                = SPACE
    *    wk1_t_format              = SPACE
    *    wk1_t_size                = SPACE
    *  IMPORTING
    *    filelength                =
          CHANGING
            data_tab                  = lt_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
            not_supported_by_gui      = 22
            error_no_gui              = 23
            OTHERS                    = 24.

    Creating a PDF file with over 99 pages through SAP seems rather unreasonable to me. What are you printing - Encyclopedia Britannica? For cripes sake... Have you thought about creating more than one spool request or using something completely different? Why do you have to do this through spool? You can get Smartform output directly into PDF, there are a lot of example out there.
    The only solution that comes to mind is rather brutal - create a copy of the function module and get rid of the popup. Although it just might time out after that...

  • Issue with PDF download

    Hi Guys,
    I am facing problem with the PDF download option. In the answers request I have to use Pivot tables to display data and since these pivot tables do not provide the option of Table Headings, I resorted to HTML to get a similar output. The issue I am facing right now is when I print it through PDF or Powerpoint, the HTML code I have written comes up instead of the result. In the case of excel or answers, I am getting the proper output. Is there some setting I am missing?? I am using the column with the HTML coding in the Columns section of the pivot table.
    Thnx!

    Hi,
    This is a known issue with HTML code embedded in your request, when you try to download the same in PDF, PowerPoint it will show the code.
    You can the following bugs regarding this in metalink.
    Bug 7187501: PDF SHOWS HTML TAGS WHILE PRINTING REPORT WITH BOLD LETTERS -HTML Tags Shown When Print or Export to PDF (Doc ID 1064060.1)
    Bug 9372634: HTML TAGS SHOWN WHEN PRINT/EXPORT TO PDF
    Bug 8899783: HTML TAGS APPEAR IN PDF REPORT
    Thanks,
    Vino

  • HT5701 Cannot download pdf files with Safari 6.0.4?

    Cannot download pdf files with Safari 6.0.4

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Problems with PDF downloads

    I was ready to blame the latest update from Apple, but perhaps not. Here are the symptoms:
    Our church publishes a newsletter in PDF format which can be downloaded from their web site every month. This month, after the latest Apple update, the downloaded document has problems. General format is OK (boxes around text, images) but all text is simply grey bars that seem shaded from one side of the page to the other.
    If I save the document and try to open it in Preview the same problem.
    HOWEVER, if I open the document in the Adobe reader the document is fine!
    I thought this might be a problem with my iMac (first of the aluminium iMacs), so I tried this on my Apple laptop (recent vintage). Both machines run 10.6.8 with the latest updates from Apple applied. I have no funny "helper" programs; i.e. the software is pretty clean and all updated.
    Same issue on the laptop.
    HOWEVER I looked for a generic pdf download on the web and downloaded a PDF instruction sheet from the Moen (plumbing) web site - no problem!
    So now my suspicion is that the PDF document has the problem. But I would have thought that PDF is PDF and if the Adobe reader can handle the document that Safari and Preview should be able to? Is there some format switch in the program used to generate the PDF document that would cause the Apple programs to fail but Adobe to succeed?
    Any thoughts welcomed! I'd like to figure out if it's me or them.
    PS - I've not yet tried this on that "other" operating system. I could do that with a trip to the library

    Thanks guys. I think I'll just rely on Acrobat as suggested. Sounds like somehting has changed on their end as the previous month's file loads fine.
    I'll check with teh secretary ans see what has happened.
    Thanks

  • I cannot get my export PDF download because I cannot respond to the verification letter. It cannot be sent with the link I pasted from your e-mail. Order

    I cannot get my export PDF download because I cannot respond to the verification letter. It cannot be sent with the link I pasted from your e-mail. Order# AD015233965

    Hi Export PDF.com,
    I just checked your account. It looks as though you gave up, and canceled. I'm so sorry that the subscription didn't work out for you.
    If there's anything we can help with, please let us know.
    Best,
    Sara

  • Firefox won't download PDF files with javascript:doDownload();

    I just installed Firefox version 9.0.1 hoping it would solve this problem, but no such luck. My bank allows me to download and print my bank statements as PDF files from their website. I checked the code and the button I click on implements a javascript:doDownload(); function. A small panel opens that allows me to enter the page range. I then click OK and nothing happens. An earlier version of Firefox (3.0) had no problem with this and I was able to download and save my bank statements to my hardrive as PDF files.

    I found that the problem was with the addon PDF Download 3.0.0.2
    I disabled it and was able to download and print my bank statements. I'm just not sure if I need to change the settings or completely un-install it.

  • PDF download option to be enabled

    Hello All,
    I am new to ISA development, and need your detailed help and advice on the requirement. Please note that I am working on ISA R3.
    The requirement is to have a pdf download option on the orderstatusdetail.jsp . From backend, I am being given a RFC with binary format output in a table to accomplish this.
    Please tell me how to proceed ahead.
    Thanks & Regards,
    Vibha

    Not sure if you are still waiting for an answer. Below details:
    1. Add a link on your jsp to call an action
    2. Implement action, bo, bo implementation, backend classes with corresponding methods and parameters
    3. In your backend class call the fm to get the xstring data, convert to byte array and pass it all the way back to your action
    4. Now with the byte array open a pdf file using mime type application/pdf
    5. reply back if you get stuck
    pradeep

Maybe you are looking for