PDF file conversion into XSTRING

Hi,
We have a requirement that we are to convert a PDF file into XSTRING.
My requirement is that i am to upload a file into DMS. So i am to pass the file as a XSTRING to a RFC.
How can we achieve that??
Thanks,
Anumit

XSTRING is binary type in java.

Similar Messages

  • When I drag pdf files into iBooks Author, the background in the pdf file changes into the colour of my book (brown/beige)?

    Hi,
    when I drag a pdf file (when working in Preview) into iBooks Author, the background colour in the pdf file changes into the background colour of the book.
    This happens not consistently, sometimes the background of the pdf file does not change (and stays white), sometimes it's like the text in the pdf file is 'lifted' of the file, and put on the page in iBooks Author (with a brown/beige background).
    All the pdf files are scanned pdf's, nothing comes out of Pages, Word, Excel,...
    Anybody?
    Thanks a lot!
    Wouter

    I have the same question (posted here: https://discussions.apple.com/message/25644741#25644741).
    I believe this is because the PDFs have transparent backgrounds. As far as I can tell, the only way to fix it is to export the PDF as another file, such as an image file. Or perhaps convert it to Word and import it that way.

  • My pdf files exported into word are illegible

    My pdf files exported into word are illegible. I have downloaded the recommended microsoft files.

    Hi Granduff,
    I'd like to assist.
    What type of docs were the originals prior to being converted to pdf?
    Looking forward to your response!
    Regards, Stacy

  • How to Covert PDF! file format into XSTRING format in SAP UI5?

    HI All,
    I Am ABAPer. I don't have any idea on front end system.
    Can any buddy guide me how to convert PDF file into XSTRING or BINARY in SAP UI5 (either it may be XML or Script )?
    My requirement is, I have to upload file in SAP-UI5. Those file should upload in back end system (MIME repository (SAP-ECC) or  DMS).
    I have created below screen for PDF! upload in SAP-UI5.
    Below code I have written in SAP gateway system.
    * Get MIME repository information
    lr_mime_rep = cl_mime_repository_api=>if_mr_api~get_api( ).
    * Upload FILE into MIME repository.
    lr_mime_rep->put(
       EXPORTING
         i_url                     = p_path
         i_content                 = lv_content
       EXCEPTIONS
         parameter_missing         = 1
         error_occured             = 2
         cancelled                 = 3
         permission_failure        = 4
         data_inconsistency        = 5
         new_loio_already_exists   = 6
         is_folder                 = 7
         OTHERS                    = 8 ).
    Back end system required file name with extension and XSTRING(Converted PDF data).
    How to convert  PDF file into XSTRING or BINARY in SAP-UI5?
    Kindly help me on this...

    Hi Karthikeyan,
    If you have PDF internal table with you, You can follow the below method to upload into Unix directory.
        DATA:file_path TYPE char100 VALUE '/usr/sap/tmp/rep_out.PDF'.
        OPEN DATASET file_path FOR OUTPUT IN BINARY MODE.
        IF sy-subrc EQ 0.
          LOOP AT it_pdf.
            TRANSFER it_pdf TO file_path.
          ENDLOOP.
        ENDIF.
        CLOSE DATASET file_path.
    Thanks
    Venkat.O

  • Conversion of PDF file data  into ABAP internal table

    Hi all,
    I am unable to convert the binary data into text format by using some function modules and classes .please find tthe function modules names and classes:
    SCMS_BINARY_TO_TEXT,SCMS_BIN_TO_TEXT, CL_ABAP_CONV_IN_CE,CL_ABAP_CONV_OBJ. But these are not working as per my requirement.
    My requirement is we need to upload PDF file (legecy file)which is saved under the PC into SAP and display the same PDF data into the adobe interactive form. For thise i have done coding by using above function modules and classes but i got the unwant on the adobe form i.e display lke "##############$$%%^^&&*((((()))%%%%%%###*^^&&***"
    Thanks,
    Ramana

    I don't understand, the pdf is put into an internal table at
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF
    the table is pdf and all info for the pdf is there already in a table?
    if you continue the source code the only thing is that the table is combined with a file name and makes it happen that you get an actual file.
    or do you want to have the pdf in a single field ?
    or do you want to store the document on a server where the location is stored in an internal table ??
    kind regards
    arthur de smidt

  • PDF file Conversion

    Hello Friends,
    In SAP, SOST Transaction, we can see the pdf document of delivery, but when send to the customers by email, the pdf file doesn't open at customer end.SOST sends this
    It gives the file conversion error.
    What we can do from developer's perspective to solve this ?
    Is this a ABAP issue?
    Regards
    Prashant

    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.

  • How is it possible, that a pdf file turns into a psd file while sending with mail

    I have send a pdf file as attachment with mail. the file shows correctly as pdf file. but when the file arrived at the addressed location it turned into a psd file. in addition it seems there is a problem sending png and ai files. once those files have arrived through mail I am getting the feedback, that the files are are not scalable, they are fuzzy or completely messed up.
    has anyone an idea, where the problem comes from?
    thanks for response
    angelika

    Hello,
    toddisalive wrote:
    Additionally, I have found an AppleWorks file that could be the script, but it is ZERO bytes in size, and Pages won't even open it, saying that it is not a valid AppleWorks file.
    if the size of this file is really ZERO bytes, either the original file contained an empty data fork and a resource fork which was stored elsewhere (*) or the file is too damaged to retrieve anything. Moreover, as AppleWorks never generates file with empty data fork, at least to my knowledge, ....
    Concerning the Movie Magic ScreenWriter files, the application seems to exist for Yosemite http://www.write-bros.com/movie-magic-screenwriter.html ( but it seems "expensive"  and I do not know if it accepts to import old files )....
    (*) maybe in .TOTO or __MACOSX/.TOTO if the filename is TOTO

  • Help With PDF FILE Conversion

    Hi,
    I’ve been using Flash Professional CS 5.5 to create a “simple presentation” for a project I want funding for, which must be presented in a PDF format. I used CS5.5 thinking that the simple presentation template and the program in general was simple enough to just convert into a PDF, but I guess there are a lot of coding issues that don’t make that easy.
    So what I’m asking for help on is how to convert my presentation (which has no animations...only graphics, texts, and a total of 8 key frames) into a PDF file.
    It appears the closest I’ve gotten to this is to add the jpeg format in the "publishing settings" window (which I can than turn into a PDF file right?), but for some reason the jpeg file is not showing up on my computer (I also cant preview SWF file because it only appears to be accessible when I am using the file during editing).
    thanks for reading!
    Daniel

    Try File -> Export -> Export movie (PNG sequence)
    This should work just fine if you don't have any actionscript in the presentation (AS is ignored).

  • ID CS3 : the 101 buttons bug - PDF file turning into a form

    Hi there,
    I'm just mentionning this issue with a clear title (I had mentioned it in another thread but with a wrong topic name, since I hadn't found out the bug).
    When working in inDesign CS3, there's a slight but annoying issue with interactive PDF buttons. As soon as your file reaches 101 buttons, the PDF document exported is considered as a form instead of a standard document (no matter if the buttons are present on the master pages, on the same pages or through the document).
    I've managed to find a workaround myself, and I found another one on these forums, but no real solution. Here they are:
    Workaround #1 (http://http://forums.adobe.com/message/2177707#2177707) :
    Instead of creating my controls in the master page (which caused the file to have more than 100 buttons), I created them (only once) in the first page they appeared in. Then, in Acrobat Pro, I just selected them and used the "duplicate" command.
    There are two benefits when using this solution:
    your PDF document won't turn into a form (which can be a real problem if you don't want to confuse the document users).
    your PDF file will be lighter. Indeed, when creating a button in inDesign (even if you create it on the master page) the exported PDF document won't contain X occurences of the same button, but X different buttons (which can incread the size of your document dramaticaly when it reaches a large amount of pages).
    Yet, if your document reaches 101 buttons on the solemn content, the bug will trigger anyway.
    Workaround #2 (http://http://forums.adobe.com/message/1322652#1322652) :
    After having exported your PDF file, lock it against editing (through the password protection system). Your document will still be considered as a form, but the annoying purple box won't pop any longer when you open the file.
    This solution is quite simpler, but it still is a workaround to the issue, not a solution.
    Well, I hope those workarounds will help someone, but if someone had a *real* solution to it, that would be great.

    Thanx! For me — prototyping — to block editing with password is enough (for now).

  • Re: uploading pdf file farmat into sap system

    Hi  Sap Guru's
    One of my client have requirement  of uploading PDF file into sap system
    client is getting scan copy in PDF format of sales order that  order , material number and qty should be uploaded into sap through
    va01
    as clent havint 200 customers and all tha customers having different styles of format in pdf
    i know that we can do by webdyopro / adobe forms  but for one customer i can do but here 200 customer are having different
    format
    can any one suggest me this requirement is fulfilled by SAP-XI, OR ANY OTHER
    Thanks & Regards
    T Bharat

    Hi,
    you can try using the method cl_gui_frontend_services=>file_open_dialog, this will open a popup allowing
    you to browse and selected the desired files from your system.
    Use this method along with the function module GUI_UPLOAD to upload all the desired files and their contents in SAP.
    Hope this was useful.
    Thanks and regards,
    Adithya.

  • Why won't pdf files embed into Mail

    I cannot embed a pdf file into the body of an email - I've done this before using Mail but cannot seem to accomplish it now. Even though I sent a photo only hours before by attaching it to an email and it embeded automatically. I'm trying to send a fundraising letter accompanied with a newsletter and brochure, all 3 in pdf format. Only the letter needs to be embedded, I guess, although it would be nice if all of them could be read without downloading the attachment, unless the recipients want to do this. Karen

    Same here. Before it worke fine but now it just displays the small attachment logo. The pdf file is 3,5 mb in size. Before even bigger ones have embeded so the cover photo of them has been shown where it is draged and dropped. Spent some valuable weekend time on this job issue so i am crying a river.
    Any ideas?

  • Re: uploading pdf file format into sap system

    Hi Sap Guru's
    One of my client have requirement of uploading PDF file into sap system
    client is getting scan copy in PDF format of sales order that order , material number and qty should be uploaded into sap through
    va01
    as client having 200 customers and all that customers having different styles of format in pdf
    i know that we can do by webdyopro / adobe forms but for one customer i can do for all  200 customer through webdyopro /
    adobe forms for having different format
    can any one suggest me this requirement is fulfilled by SAP-XI, OR ANY OTHER
    Thanks & Regards
    T Bharat

    Hi,
    You can use SAP DMS for this.
    Thanks
    Sunny

  • .pdf file changed into .tmp when trying to send pdf file as attachment

    Dears,
    A few days now, .pdf files are exported as .tmp files if we try to send them as attachment directly from the adobe reader plug-in in internet explorer 8.
    Unfortunatly Outlook interprets .tmp files as harmfull, so we are no longer able to send pdf files directly.
    (screenshot in attachment)
    Is there any chance we can configure this so, pdf files are exported as .pdf instead of .tmp
    More details:
    OS               : Win XP SP3
    browser        : ie 8
    plug in          : Adobe PDF Link Helper (not sure this is the one that provides us the pdf reader functionallity dough)

    I cannot reproduce that (Adobe Reader 11.0.3, IE8, Win XP-SP3).  In fact, I cannot even see the Attach to Email option, but the file name is correct.

  • Text created by Typewriter in a PDF file merging into the original file

    When I use typewriter tool to add text onto a PDF file, is there any way to make the text boxes NOT selectable. Basically I want to know if there's a way to merge the text boxes to the original PDF file.

    Flatten the PDF (Acrobat supports form field flattening and annotation (comment / markup) flattening.
    Discussed in the application Help.
    Be well...

  • PDF file metadata into Sharepoint List while uploading

    Hi,
    I have a .pdf file. It has values for title and comments in the file properties. Iam uploading it to a Sharepoint List/Library. In the metadata of List/Library  the values(Title and Comments) are not getting populated. But then for other type of files like .doc,.ppt etc its working fine.
    I wrote an Event Listener also while uploading the document, to set it thru code. But then in the
    event receiver properties im not able to find the values for Title. Im using like this...
    properties.AfterProperties["vti_Title"].DefaultValue
    I tried googling and finally posted..
    Any help please...

    Hi,
    Nice to see your response. Im doing the same way to update the list item field values. Its also working fine. But then the only exception case is when i upload a .pdf document.
    For these kind of documents(.pdf) the metadata field values like Title,Comments etc are empty. Even though the original file has values for title,Comments,Keywords etc..
    My case is only with the documents other than the office suite.
    If you provide me the extraction of metadata for a .pdf file in my listener, then its easy to bind to a field value.
    Thanks.

Maybe you are looking for

  • TS1574 Hi, I dont have sound on my imac. The options in sound are greyed out and there is nothing in the output list

    itunes and you tube are not working.  There is no sound. When I am in itunes and play a song, the song does not start. I checked system preferences, sound.  There is no output options and the input options are greyed out. Does anyone know how to fix

  • Delivery Not Found - Problem

    Im facing a problem in standard SAP functionality in MB03 - while Navigating to the delivery document  ( Menu path : Environment -> Delivery ) . For the material documents that are created in 2007 but posted in 2006 , system throws an error message t

  • Convert spool to PDF and send as email attachment

    When i try to convert SAP spool to PDF and send it as email attachment,  size of PDF document becomes large as compared to size of the PDF cocument i download using the same spool. I am using following FMs. CONVERT_ABAPSPOOLJOB_2_PDF to convert spool

  • What do you feel is lacking in Unified Communications today?

    Our product development team knowswhat they're seeing as lacking in UC,and are curious to learn what others think.Right now what we see as the biggest thing lacking is the strategy surrounding Unified Communications (UC). Decision makers and IT direc

  • PS elements 2 problem

    After a system crash, I had to reinstall this prog. This in fact was very difficult to do - setup started, and then almost immediately stopped. After approx 10 tries, tsetup did continue and installed. Most things now seem okay, but batch processing