PDF Upload using Upload UI in WD ABAP take infinite time

Hi experts ,
I am trying to upload a PDF file in my WD ABAP Application. I have created a WD View like this .
I have created a File upload UI and an Interactive Form .
My Context structure looks like this .
CONTEXT
->  PDF_DATASOURCE
      ->  NAME
-> PDFSOURCE ( Type XSTRING )
-> FILECONENT ( Type XSTRING )
I have bound pdf_datasource and pdfsource to my interactive form and file content to file upload UI.
When I upload any file and then transfer the data from filecontent to pdfcontent on action of a button Upload PDF.
data content type xstring.
wd_context->get_attribute( exporting name = 'FILECONTENT'  importing value = content ).
wd_context->set_attribute( name = 'PDFSOURCE' value = content ).
When This Action is executed it page take infinite time to transfer the content .
Please let me if I am missing any thing to transfer the uploaded file content to PDF content and show the form in the view .
Regards
Abhay

Hi Santosh,
Are you using FILE UPLOAD UI Element or not?
Please go through this.. it might helps
Re: File Upload Using BAPI
/people/shruti.rathour/blog/2008/02/07/uploading-sap-interactive-form-on-the-abap-webdynpro-view
Re: FTP_CONNECT failed for SAPFTP from WD4A to external Server
Cheers,
Kris.
Edited by: kissnas on May 3, 2011 7:15 AM

Similar Messages

  • Offline Interactive PDF Forms Using EMail with WebDynpro for ABAP

    These is a tutorial on implementing Offline Interactive PDF Forms using Email to both send out and receive the form back using WebDynpro for Java.
    Is it possible to implement the same using WebDynpro for ABAP, specifically receiving the forms via email server.
    Regards,
    Mark

    Hi Mark,
    Check this out :
    https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
    Go to section :
    Send, Receive, and Process Interactive Forms via Email in SAP NetWeaver Application Server ABAP (RIG session 4A)
    and for the ABAP WebDynpro :
    SAP Interactive Forms by Adobe in Web Dynpro for ABAP (Session 3A) .
    I managed to make it work in my internal sytem.
    Goodluck.
    Cheers,
    Danny

  • How to upload using  upload button and want to process it....

    Hi,
    I need a program to upload a file [Excel file] using upload button and
    want to process the excel sheet and store the data in database.
    I know that we can upload using Html - file type.
    but I dont know how to retrieve that uploaded file to process it?
    I mean , Is there any function like requset.getParameter() to get the uploaded file?

    Go to the [Apache Commons FileUpload homepage|http://commons.apache.org/fileupload] and carefully read the 'User Guide' and 'Frequently Asked Questions' sections from top to bottom (do not only focus on the code examples, but also on the article's text!!).

  • Primavera Contract managment take much time when open large PDF files.

    Dears,
    i have a big problem!
    i made integration between the PCM and sharepoint 2010 and make migration from the file system to sharepoint.
    the sharepoint database reach 355GB
    after that unfortunately, when i try to open large pdf attachment through PCM(Primavera Contract Managmnet) it take much time then whan was opened from the file server.
    i made everthing upgrde the RAM and processor but the problem still exists.
    please help!
    Edited by: 948060 on Sep 19, 2012 1:48 AM

    we start store attachment on 2007. all of these files are migrated to sharepoint 2010 now on the staging enviroment.
    but, we faced the performance issue as mentioned above.
    the large files (begin 5MB) take a lot of time to open through the PCM

  • I bought a usb power adapter for my ipod nano so I can plug inti a power outlet. Will this take less time to charge my ipod or same amout of time if using the computer?

             I bought a USB power adapter for my ipod nano so i can take it camping and use an outlet. Will this take less time for charging or the same amount as the computer?

    Hi, Atcandela.
    I've a Macally external fire/usb enclosure that powers up and mounts directly on to my PB Aluminum 1.67 laptop but the USB portion doesn't draw power.
    Do you mean it mounts and works OK when connected via FireWire, but not when connected via USB? If so, that's unsurprising. I would be surprised to hear that it doesn't mount when you use the FireWire connnection, because most drives are able to get enough power from that port.
    Does MacAlly not offer a cable for your drive that allows it to draw power from both your USB ports? Some manufacturers of external drives or enclosures do offer such a cable, and it's well worth buying because it's much smaller and more portable than an AC adapter. Have a look at this one from Western Digital — it might fill the bill for you.

  • Upload PDF to DMS using FTP server in WD abap

    Hi Friends,
        I want to upload PDF file from presentation server to DMS. As I dont want application server in this regards , so am using FTP server instead. But the problem am facing is in WD abap the filepath is in  XSTRING format. So how to upload Xstring pdf file in FTP server and how can i pull the same data to DMS server.
        My problem is just how to upload PDF in FTP server using web dynpro abap. The FM 'BAPI_DOCUMENT_CREATE2'  will upload the same PDF file from FTP to DMS server.
    Regards,
    Santosh

    Hi Santosh,
    Are you using FILE UPLOAD UI Element or not?
    Please go through this.. it might helps
    Re: File Upload Using BAPI
    /people/shruti.rathour/blog/2008/02/07/uploading-sap-interactive-form-on-the-abap-webdynpro-view
    Re: FTP_CONNECT failed for SAPFTP from WD4A to external Server
    Cheers,
    Kris.
    Edited by: kissnas on May 3, 2011 7:15 AM

  • How to upload a pdf file using webdynpro abap

    Hi Experts,
    I need to upload pdf files using webdynpro abap.my question is where to upload this files and how to upload this files, and how to display this pdf file.
    Please Provide Requried Information.
    Waiting for Reply.
    Thanks & Regards.
    Bhushan.

    Hi,
    There is a UI element with the type 'File Upload'.
    You can use that in your view.
    For further details and coding, please refer to
    [http://www.****************/Tutorials/WebDynproABAP/Upload/Page1.htm]
    Hope this helps you.
    Regards,
    Dolly

  • Why can't I create Fillable PDF Forms using Adobe Acrobat X Pro and upload to Dreamweaver?

    I can create fillable PDF Forms using Adobe Acrobat X Pro. I can email them to someone using Adobe Reader (free) and they can fill them, save and email to me. But when I upload the form to Dreamweaver CS5, the form is not fillable. And yes, I saved it as a Reader Extended PDF-Enable Additional Features.

    I see no reason for this form to fail in Reader. Some questions for you.
    1. On the system with Adobe Reader, what is the system and the version of Adobe Reader?
    2. Are you viewing the PDF in a browser on the system with Reader, or in an Adobe Reader window?
    3. If it's a browser
    (a) what is the browser
    (b) if you download the file instead, and open directly in Reader, what happens?

  • ABAP Dump while using "Upload from clipboard"

    Hi,
    We are facing ABAP dump when using "upload from clipboard" funciton without any data on the clipboard.
    "Upload data" is working fine if some data exists on the clipboard. If in case of no data on the clipboard, it is leading to an ABAP dump.
    Appreciate if anyone could point some OSS note or any solution if you've already faced this issue.
    This is happening in our BW system with SAP_BASIS "SAPKB62018" and SAP_ABA "SAPKA62018".
    Same thing happens in our BW test systems which are upgraded to the latest support pack.
    Following is the error analysis
    Error analysis                                                                               
    A RAISE statement in the program "CL_GUI_FRONTEND_SERVICES======CP " raised the        
    exception                                                                             
    condition "CNTL_ERROR".                                                                
    Since the exception was not intercepted by a superior program                          
    in the hierarchy, processing was terminated.                                                                               
    Short description of exception condition:                                                                               
    For detailed documentation of the exception condition, use                             
    Transaction SE37 (Function Library). You can take the called                           
    function module from the display of active calls.                                      
    How to correct the error                                                                               
    You may able to find an interim solution to the problem                                
    in the SAP note system. If you have access to the note system yourself,                
    use the following search criteria:                                                                               
    "RAISE_EXCEPTION" C                                                                    
    "CL_GUI_FRONTEND_SERVICES======CP " or "CL_GUI_FRONTEND_SERVICES======CM00T "          
    "CLIPBOARD_IMPORT"

    Hi,
    When you say 'We are facing ABAP dump when using "upload from clipboard" funciton without any data on the clipboard.', are you using this in a custom program and are you running your custom program in the background?
    From the error you mentioned, to me it looks like you had a control error and controls are for foreground, online process and not suitable for background processing. Same argument holds good for most of the enjoy SAP transactions when you try to do BDC, they will give you a similar error if you hit the piece of code where controls are used.
    Controls are created on the desktop of the user and in background this is not possible.
    Please let me know if this is the reason.
    Srinivas

  • I am unable to upload a pdf file to a website, although the file does upload using IE or Chrome

    I receive an error message “Error - File type must be pdf.” when I try to upload a file that definitely is type pdf. I am authorized to upload to the site. Html files do upload correctly. Using IE8 my pdf files upload correctly, Also files can be uploaded using the Chrome browser. Problem exists no matter how pdf file is created - scanned, published from word or wordperfect, or modified in Adobe Acrobat. File size is fairly small, less than 50KB.

    There is absolutely no way to stop any file you put on the internet from being downloaded. That's how the internet works.
    Digital Rights Management can control who can OPEN a copy of a file and when. If you are a big company with 5-6 figure budget, this can be interesting.

  • How do I convert a word document into a pdf and then upload it to a web site

    How do I convert a word document into a pdf and then upload it to a web site so people can read it from my
    site with Dreamweaver 4?. How can I do this? Can anyone please help? I'm only a newbie. Thanking you in anticipation.

    First you need to install a means of printing to pdf from word.  I like cutepdf writer ( http://cutepdf.com/Products/CutePDF/writer.asp ).  Once installed you will print the doc in word and under the printer selection you choose pdf.
    Once you have the file you put it in your local site folders and upload it using Dreamweaver.  Be sure to link to it from a page so users can get to it and I would recommend giving the link a target of _black so it will open in a new window (see the properties inspector in DW).

  • Problem in uploading an excel file in wd abap

    I am trying to upload an excel file in wd abap but on uploading it shows me the data in the form of some codes but when i try to do the same thing using text file it works well.Plese refer the code .
    METHOD onactionon_upload .
      TYPES : BEGIN OF itab_str1,
       name(10) TYPE c,
       age(10) TYPE c,
       END OF itab_str1.
      DATA : t_table1 TYPE STANDARD TABLE OF itab_str1,
            i_data TYPE STANDARD TABLE OF string,
            lo_nd_sflight TYPE REF TO if_wd_context_node,
            lo_el_sflight TYPE REF TO if_wd_context_element,
            l_string TYPE string,
            fs_table TYPE itab_str1,
            l_xstring TYPE xstring,
            fields TYPE string_table,
            lv_field TYPE string.
      DATA : t_table TYPE if_main=>elements_data_tab,
            data_table TYPE if_main=>elements_data_tab.
      wd_context->get_attribute(
      EXPORTING
        name = 'DATASOURCE'
        IMPORTING
          value = l_xstring
    CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
      EXPORTING
        in_xstring          = l_xstring
    IMPORTING
       out_string          = l_string.
    SPLIT l_string AT cl_abap_char_utilities=>newline  INTO TABLE i_data.
    LOOP AT i_data INTO l_string.
    SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE fields.
    READ TABLE fields INTO lv_field index 1.
    fs_table-name = lv_field.
    READ TABLE fields INTO lv_field index 2.
    fs_table-age = lv_field.
    APPEND fs_table TO t_table1.
    ENDLOOP.
    lo_nd_sflight = wd_context->get_child_node( 'DATA_TAB').
    lo_nd_sflight->bind_table( t_table1 ).
    ENDMETHOD.

    Problem is not with the file format  nor Upload element.
    problem is with conversion function module, still now for conversion of xcel data to string format we dont have perfect function module.
    CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
    EXPORTING
    in_xstring = l_xstring
    IMPORTING
    out_string = l_string.
    That's a bug with xcel conversion  As of now I dont find any fm which converts  xcel data to string without any problem.
    Regards
    Srinvivas
    Edited by: sanasrinivas on Dec 23, 2011 7:02 AM

  • JSP that converts office extensions to pdf and then upload them

    Hi there !
    Im trying to convert office extensions ( .xls, .ppt, etc) to pdf and then upload the resulting file to a server .
    currectly im using the upload solution posted by the user anna_DRA here : http://forums.sun.com/thread.jspa?threadID=672874
    and as for the conversion im using a solution which uses OpenOffice's lib to do the conversion.I'm going to post the codes of my JSP and my HTML ( which just contains the form to get the file to be converted and uploaded).
    observation: the point which is giving me headaches is how to get the file sent by my form, convert it into a File object, use my conversion tool and then deliver it to my upload tool so it can be stored.... i cant seem to get the File object from the request object ( tried getattribute and it returns null....) .
    observation':I do know about and how to use MVC but my boss asked me to make this work with just one JSP or a JSP and a HTML.
    index.html :
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Upload test</title>
    </head>
    <body>
    <form enctype="multipart/form-data" action="/WSPdfConversion1.1/Conversion.jsp" method=POST>
    <input type="file" name = "FileUp">
    <input type="submit" value="Enviar"/>
    </form>
    </body>
    </html>Conversion.jsp :
    upload portion:
    MultipartFormDataRequest mrequest = new MultipartFormDataRequest(request);
    OpenOfficeConnection OpenOfficeConnection = new SocketOpenOfficeConnection(8100);
    String newName = "";
    Hashtable files = mrequest.getFiles();
    UploadFile file = (UploadFile) files.get("FileUp");//Give name u r given in the previous page.
    String fileName = file.getFileName();
    upBean.store(mrequest, "FileUp");conversion portion:
    OpenOfficeConnection OpenOfficeConnection = new SocketOpenOfficeConnection(8100);
    try {
        OpenOfficeConnection.connect();
    } catch (ConnectException e) {
        e.printStackTrace();
    File inputFile = new File("C:\\Users\\thiago\\Documents\\"+fileName);
    for(int i = 0; i <= fileName.length() - 4; i++){
        String s = ""+fileName.charAt(i);
        newName = newName.concat(s);
    File outputFile = new File("C:\\Users\\thiago\\Documents\\"+newName+".pdf");
    //convert the spreadsheet
    DocumentConverter ExcelToPDFConverter = new OpenOfficeDocumentConverter(OpenOfficeConnection);
    ExcelToPDFConverter.convert(inputFile, outputFile);
    OpenOfficeConnection.disconnect();Both work just ok when separated but i cant get both to work together....
    Any help is much appreciated!!!
    Thanks in advance
    Edited by: thiagocbalducci on Mar 24, 2010 12:07 PM
    Edited by: thiagocbalducci on Mar 24, 2010 12:09 PM

    Hello TSN,
    Test Screen Name wrote:
    Picking just one point: PDF -> EPS -> PDF. This could not possibly do more than one page, because EPS is absolutely by definition a single page format. Therefore you must choose a page when exporting PDF to EPS.
    Thanks for your response.
    I was thinking Microsoft... which has allowed multi-page eps files for years. But you're correct, this is normally an unsupported .eps format.
    I solved the problem over the weekend by doing the following:
    1) I removed the suspect OTF font family but despite doing so, the folder still had two 'corrupted' but unused copies of an italic font. They refused to remove so I had to boot into Win7 SAFE mode to remove.
    2) After complete removal of the OTF font family. I reinstalled the OTF font *BUT* only from a different repository (oddly, this other OTF font set is slightly larger per font).
    3) Once installed, I tested with Flare, published and uploaded to Crocodoc SUCCESSFULLY. Yeah!
    I don't have anymore time to test but the questions remain, such as, was it one or more of the following issues:
    a) Flare has a problem handling some OTF fonts or cannot error correct (the way other programs do) for marginal fonts or font errors?
    b) Was it the two corrupted fonts in the Windows/fonts folder?
    c) Was it the slightly different OTF fonts that I am no longer using?
    Take care

  • Function Module For Upload the Powerpoint Template in Webdynpro ABAP

    Hi,
      Can anyone tell me, is there any standard function module to upload the Powerpoint Template to Webdynpro ABAP.
    Regards,
    Saran

    Hello Saran,
    for uploading the powerpoint as file you could use the FileUpload ui element.
    Best regards,
    Thomas

  • TRANSMIT uploaded pdf corrupt after upload (and download)

    i have created a pdf which i uploaded to my website using TRANSMIT and when i download normally, i get the attached error.
    this is a file that I created and i think the corruption is due to an upload issue with transmit that they were kind enough to tell me at one point could be fixed by chaning a setting i cannot find ATM.
    transmit and transmit support are fantastic but does anyone know where this setting might be while i wait for them to answer? for some reason i cannot find it and it must have been reset when i did a fresh install.
    THANKS

    that safari (6.0.1) error is /HORRENDOUS/.
    this is a no file found error in mozilla and it is because i uploaded to the wrong folder
    someone should fix this because it is the second time in about 6 months that i have had the need to fix it and it is only this second time that i figured out what the problem is.
    "not supported" or "damaged" is not a helpful prompt in this case and at the very least there should be a location error or a file not found added...

Maybe you are looking for

  • How do I get money back when a purchase you made is unplayable on your device

    How do you get money back that you spent on a purchase but the item is unplayable on your device

  • Delivery Qty should not be greater then po qty

    HI SAP Guru's Delivery quantity should not greater then po qty. my problem is they are rising mulitiple devliveries for one PO Code written in MV50AFZ1 is not working because it is checking only if Delivery Qty more then PO qty, I tries to sum qty fr

  • I have no COLOR TYPE in my EARTHLINK email..but DO on INTERNET EXPLORER.

    I am a "newbie" on the computer. I use EARTHLINK as my email provider. When I use FIREFOX .... I can NOT TYPE in "COLOR" when sending email. When I use INTERNET EXPLORER .... I DO HAVE COLOR when sending email. WHY? HOW can I correct this?

  • Facebook problems

    I just install facebook on my blackberry 8530 and it gives me a message saying it can not log me in,then sends me a text message in a different language.I have everything set up in english and i can't get on facebook on my phone.Any Suggestions....

  • How do i import photos from memory card

    I just bought a digital camera and apparently my battery died before I transferred the photos and now I can't.  I'm afraid I will lose the photos if I replace the battery to charge it and need to upload the photos but have no idea where I even find w