Fm or method for converting  doc,pdf or text  files to binary format

Hello,
Are you aware of any function module or method which takes input as a file of type doc, pdf or text files and convert it to binary format? Kindly let me know.
This is what i tried and was unsuccessful.
i tried using gui_upload method and pass " asc" as file type while importing file of type .doc but it returns me string filled with strange characters.
I did try converting this string to xstring using  cl_proxy_service=>cstring2xstring but i realized my 1st step of uploading file itself was wrong.
Please let me know what can be done if you are aware of how to convert file of various types to binary.
thanks
Pooja

hi All,
thanks alot for the information and help provided by all of you.
I did figure out a way where the word document or pdf  can be pretty much loaded with gui_upload. the file type used in the method would be "BIN" the following thing has to be done. declare data type as given below and file would be the complete path along with document name which has to be uploaded
DATA: BEGIN OF res_line,
            raw(255) TYPE x,
         END   OF res_line.
  DATA: res_tab LIKE res_line OCCURS 0 WITH HEADER LINE.
data :  wf_var_stringx TYPE xstring .
  CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                =  file
        filetype                = 'BIN'
        read_by_line            = 'X'
     has_field_separator     = ' '
     header_length           = 0
     header_line           = 'X'
      IMPORTING
        filelength              = l_filelength
      TABLES
        data_tab                = res_tab
      EXCEPTIONS
       OTHERS                  = 1.
LOOP AT res_tab .
    CONCATENATE wf_var_stringx res_tab-raw INTO wf_var_stringx IN BYTE MODE.
  ENDLOOP.
this will upload the file and will file the string x with its content.
hope this helps to some of you.
Thanks
Pooja

Similar Messages

  • Best method for dynamically populating PDF on the web?

    Hi there,
    I'm trying to find a web-based solution to populate text within an existing PDF with a person's name (using a name variable within the PDF body copy in several spots).  I know that LiveCycle Designer is the best method for creating dynamic PDF's but since I'm on a Mac, LiveCycle Designer wasn't packaged with my CS5 Suite / Acrobat 9 and I'm not eager to run windows in parallel and pay for acrobat pro a second time just to have it on windows for the LiveCycle functionality...CS5 wasn't cheap ha. 
    So I'm trying to find out if there are alternative ways to achieve this without going down that road.  I don't mind writing PHP or using some other programming language to set it up online, but I just seem to be finding many different methods coming up and cannot find the most straightforward solution.
    Any help is greatly appreciated!

    LiveCycle Designer won't do what you want. It requires server software: LiveCycle Forms will do the trick.
    You can find information on it here: http://www.adobe.com/products/livecycle/forms/

  • Runtime Error For Converting Static pdf to Dynamic Xml Form pdf

    Hi All,
    I am converting my static pdf to dynamic xml form pdf using Adoble Livecycle Designer ES 8.2 it is giving runtime error dialog.
    My static pdf size is 12MB and it contains 46 pages(mostly all pages will have images). Do we have any limitations for converting static pdf to dynamic xml form pdf ?
    Error message image file is attatched to this thread.
    Can any body please help me on this.
    Advance Thanks
    Prasad Sagala

    Hi Paul,
    With out dividing into smaller chunks, Do we have any other alternative?
    Because in my other pdf reports having more than 50 pages (in between 100-600). If i want do divide smaller chunks it will be the long process.
    Thanks
    Prasad Sagala

  • Where on the Adobe website can I find a link for a free PDF to text converter?

    Where on the Adobe website can I find a link for a free PDF to text converter?

    I am trying to find a link to a free Adobe 'PDF to text' converter that I can refer users of my website to.
    This is for users who's screen reader software is not compatible with Adobe Reader.
    Up until last week I was refering my users to the following webpage, but now that link no longer works as the tool must have been moved.  I am just trying to find the new location:
    http://www.adobe.com/products/acrobat/access_onlinetools.html
    Can anyone advise?
    Thanks

  • Distiller will suddenly close/crash the *SECOND* time I open a file for converting to PDF.

    The subject heading says it all: Distiller will suddenly close/crash the *SECOND* time I open a file for converting to PDF.
    But I think I have a clue why this is happening. Typically, I use Distiller to convert EPS or PS files into PDFs. Also, almost without fail, I embed the required fonts (exclusively Type 1) directly into the EPS/PS files (using the required PFA format) so no local fonts on my computer are needed to be looked for by Distiller to be embedded in the resulting PDF; they're already in the EPS/PS files.
    But yesterday, I attempted to convert some EPS/PS files to PDFs using Distiller in which I had NOT embedded the Type 1 fonts (in PFA format, of course) in the source EPS/PS files. The first such conversion would work (in which I select "Open" and choose an EPS/PS file for conversion), but after that initial conversion, the *SECOND* time I clicked on "Open" (open file), Distiller would immediately close/crash.
    I then searched the web for answers, and discovered some people were having trouble getting Distiller to initialize if any of their computer system fonts were read-only. So, I went back to my EPS/PS files and embedded the required Type 1 (PFA format) fonts into them, and then—magically—Distiller worked without a hitch: I could open and convert any number of them in succession, with Distiller never closing/crashing.
    So, I concluded the reason that Distiller had been crashing upon the second attempted opening of a file (again, simply by pressing the "open" button to search for a file to convert, *not* after selecting a file) must have had something to do with Distiller scanning my computer's installed fonts when there was no embedded PFA font to reference, and a read-only font on my system was causing the problem. However, I looked in the two logical places where my fonts should be located (c:\psfonts and c:\windows\fonts), but found *no* font files' attributes set to "read-only" So, I'm stumped.
    I'm using Distiller Pro 10.1.1316 (acrodist.exe) on a Win 8.1 machine. I've found similar posts, going back to 2004, about Distiller immediately crashing after opening when some fonts are read-only; I haven't yet found a post about anyone successfully using Distiller to convert one EPS or PS file to PDF, and then having the program crash when the "Open" button is pressed subsequently. Any clues, anyone?

    Never heard about the crash and that does not sound normal. Be sure to do the updates to Acrobat in case that resolves the issue. You might also check the font settings in the settings file and check to ignore the error if the font can not be embedded and Distiller should use what it considers to be the closest system font.

  • Is there any native method for converting String value to Hungarian notat..

    Hello. there.
    This might be very simple question. but I'm just curious about this.
    I am wondering if Java API offer the any native method for converting uppercased string value to lowercase which obey the Hungarian notation.
    What I'm going to do is using Reflection for excuting RFC function on SAP. I was found it is very similar to JDBC Programming.
    Please refer to blow codes.
    //mTable
    JCoTable mTable = function.getTableParameterList().getTable(rtnTblNm);
        for (int i = 0; i < mTable.getNumRows(); i++) {
         mTable.setRow(i);
         HashMap tmpData = new HashMap ();
              for (int j=0; j < mTable.getNumColumns(); j++) {
                     // I want to set key String [userNo] instead of  [USER_NO] here.
              tmpData.put(mTable.getMetaData().getName(j).toLowerCase(), mTable.getString(j));
              result.add(tmpData);
    } Basically, The idea was from ibatis framework [com.ibatis.common.beans.classInfo] dropcase();
    Any idea would be very helpful for me. Thank you.
    Edited by: hosung.seo on Aug 30, 2009 10:42 PM
    Edited by: hosung.seo on Aug 30, 2009 10:50 PM

    ejp wrote:
    Hungarian notation is a representation of logical/arithmetic expressions in postfix form. Not what you're talking about.
    So your title is very confusing to the people here who know what it means, which is probably all of them, because people read threads based on their title.From now on, I will pay more attention when I post an question.
    If the titile as " +Is there any native method for converting String value to camelcase?"+ would be easier to what i'm pointing at.
    As I mentioned in above sorce code, converting [USER_NO] to [userNo] isn't relevant Hungarian notation. yes, it was ambiguous. Agree! :)
    But some answer wasn't fit to converting case or recognizing "underscore" delimiter. I was expecting toCamelCase() such as blew. Thanks.
        public static String toCamelCase(String name) {
            String lowerName = name.toLowerCase();
            String[] pieces = lowerName.split("_");
            if (pieces.length == 1) {
                return lowerName;
            StringBuffer result = new StringBuffer(pieces[0]);
            for (int i = 1; i < pieces.length; i++) {
                result.append(Character.toUpperCase(pieces.charAt(0)));
    result.append(pieces[i].substring(1));
    return result.toString();

  • REFUND/LAWSUIT IN MISLEADING PEOPLE TO BELIEVE HOW SIMPLE TO CONVERT A PDF INTO A DOCX OR XCEL FORMAT

    REFUND/LAWSUIT IN MISLEADING PEOPLE TO BELIEVE HOW SIMPLE TO CONVERT A PDF INTO A DOCX OR XCEL FORMAT?
    I cannot convert the PDF files to Docx or excel, I WOULD LIKE  REFUND, ALL I GOT WAS A COPY OF THE NOTES THAT I SCANNED TO CONVERT THEM AND THEY CAME OUT GARBLED I SPENT OVER 3 HOURS TRYING TO GET THIS THING TO CONVERT BUT IT WAS A PURE WASTE OF MY TIME AND NOW YOU ARE GOING TO TAKE YOUR SWEET TIME GETTING ME A REFUND. YOU TOOK THE MONEY OUT BEFORE I EVEN CHECKED MY ACCOUNT, YOU ARE QUICK TO TAKE AND SLOW TO GIVE BACK, I WILL NOT RECCOMMEND YOU TO ANYONE WHEN IT COMES TO HAVING TO PAY FOR YOUR SERVICES, I WAS BETTER OFF WITH THE BASIC FREE DOWNLOAD AT LEAST THAT WORKS AND MAKES YOU BELIEVE THAT IT CAN DO WANDERS SO SOMEONE LIKE MYSELF AND MILLIONS OF OTHERS DO THE SAME THING BELIEVING IT WILL FORMAT YOUR SCAN INTO AN DOC. DOCX OR EXCELL FORMAT WHEN ALL YOU IS CHARGE AND LEAVE NOWHERE TO LOCATE YOU OR CALL IN A PLACE THAT IS OBVIOUS EVEN OBSCURE SITES HAVE A NUMBER YOU CAN CANCEL IN A LOCATION WHERE IT IS EASILY ACESSIBLE BUT YOU GUYS MAKE IT IMPOSSIBLE TO FIND YOU AND REQUEST A REFUND. YOU SHOULD BE REPORTED AND A CLASS ACTION LAWSUIT SHOULD BE FILED AGAINST YOU FOR THOSE THAT HAVE DIFFICULTY AND SPEND AN EGREGIOUS AMOUNT OF TIME TRYING TO CONVERT THEIR PROGRMAS SO THEY DONT HAVE TO REQUEST A REFUND BUT AFTER SPENINDING 2 DAYA TRYING EVERY METHOD YOU RECOMMEND, I GIVE UP!!!!.
    I AM TOTALLY DISGUSTED WITH YOU AND I HAD APPLAUDED YOU BEFORE AD NOW I KNOW WHY I CANCELLED MY LAST SUBSRIPTION QITH YOU, THE SAME REASON. IF ANY OF YOU AHVE THE SAME PROBLEM FORWARD THIS TO OTHERS AND PUT A STOP TO ADOBES FALSE AND MISLEADING ADVERTISING,!!

    djavan812, The post makes me realize that you did not have a pleasant journey with us. I am sad for this & I apologize profusely.
    Please respond to the private message that I have send you so that I can ease off some of your not so good feeling for Adobe.
    Regards
    Rajshree

  • Is there a quick method for turning a 13 page Ai file into 13 separate Ai files

    Is there a quick method for turning a 13 page Ai file into 13 separate Ai files? I need to resave or RIP them as normalized PDF files, and I need to start with single-page ai files.
    Thanks.

    As Erica says, it's in the Illustrator Options window which opens after checking Save.. Check the top of what I showed

  • Pdf arabic text file unable to convert to word formate text error is coming.

    Dear Sir,
    Pdf arabic text file unable to convert to word formate text error is coming. The arabic text once converted to word  language error is appearing.

    Hi,
    I am moving your posting at PDF Pack(CreatePDF) forum to Acrobat forum.
    Hisami

  • Saving report as PDF and text file

    Currently, I saved my report as PDF. It opens in Acrobat reader automatically when the report is executed. Is there a way for me to save it as PDF and as a text file at the same time? (without having to open the file in Acrobat reader and saving it)

    You can add your PDF and TEXT file formats to a distribution list (Instead of GENERATE REPORT TO A FILE). To do this:
    1. Go to your Object Navigator and highlight your report.
    2. Right click on your report. Select Property Palette.
    3. Select Distribution
    4. You can add of of the formats that you want to print or save to the report to.
    5. You will have to add Distribution Id (any number starting with 1) where you want the file to be saved (c:\my_reports\inventory.pdf), the type of file: PDF and how many copies you want: 2
    6. Click OK after finishing...
    To make it work ... You would highlight your report from your Object Navigator and then choose FILE-DISTRIBUTE and this will save it to all the files your specified and/or printer.
    null

  • How can i convert a window media player file into a format playable on ipod

    hey guys can you tell me how can i convert an widdow media player file into a format that can be played on my ipod, i used videora ipod converter but it can't convert the window media player file

    the program you show change wma to mp3, but the mp3 file can't be understanded by the iPod, how can i change a wma file to a format understanded by the Ipod?

  • How to create PDF from text file with specific layout?

    I wanted to create the pdf from text file in specific layout - Landscape orientation and JIS B3 Page size while at Adobe Acrobat Pro.
    In past, I could do a right click on a text file (desktop area) and select print to print out the document into .pdf BUT only if I set the Adobe PDF to Landscape and JIS B3 Page size BEFORE.  And I could only do 15 text documents at once.
    I wanted to see if I could do the create the pdf from text file with specific layout in Adobe Acrobat without having to go to Control Panel to preset the Adobe PDF to specific layout at every time.   I would have to set Adobe PDF back to normal layout after I'm done with these pdf print outs.  I do lots of pdfs in normal layout.  Sometimes I would forget to do that.
    So, How do I do that?

    No such luck.  It would output the contents in letter size even in JIS B3 Page layout at MS word. 
    Is there a script or action where I could set the orientation and page size before creating PDF on these text files?

  • Any JAVA API for converting .doc,.txt fles to PDF files

    is any special API fo this convertion?

    Check into POI for reading Word docs, and check into iText for nearly anything PDF.

  • Poor quality when "shortcut" converting DOC - PDF Windows 7

    Hi,
    The products involved arr Adobe acrobat X Standard, Word 2010 and Windows 7.
    We have a problem with converting DOC to PDF. If we use the right click shortcut on a DOC file the quality gets all messed up but if we open it in Word and then choose print with Adobe PDF printer the quality gets the expected Distiller printer option (High quality).
    //Kim

    I had seen this conflicting settings, but only now dug deeper to verify; this make no sense, from a development or usage situation.
    From the PDF Printer properties,
    The General tab has a Printing Perferences sub menu - I typically set my preference from that route.
    The Advanced tab has a Printing Defaults sub menu with a dialog identicle to the Preferences dialog, but the Default setting may be other than that used in the Printing Preferences...
    Change your setting in Advanced > Printing Defaults

  • Best Method for converting a 16x9 video to a letterboxed 4x3 DVD

    I'm not quite sure what would be the best method for this.  My client is using a 4x3 screen and SD projector at a large meeting, and they want me to just create a DVD that is letterboxed.  I have one Premiere CS5 project that's 1920x1080, and another project that's 720x480 widescreen (1.2).  I created a new sequence in both projects that is 720x480, 4x3 (0.9), and what I do is just scale the timeline down so that it's letterboxed.  Is this the best method for achieving this?  Or would you do something else?  I don't like the idea of scaling my timeline down in Premiere.

    pjbarbour wrote:
    I'm not quite sure what would be the best method for this.  My client is using a 4x3 screen and SD projector at a large meeting, and they want me to just create a DVD that is letterboxed.  I have one Premiere CS5 project that's 1920x1080, and another project that's 720x480 widescreen (1.2).  I created a new sequence in both projects that is 720x480, 4x3 (0.9), and what I do is just scale the timeline down so that it's letterboxed.  Is this the best method for achieving this?  Or would you do something else?  I don't like the idea of scaling my timeline down in Premiere.
    Hello.
    As Jim so rightly points out above, you do not need to do anything.
    Just use your normal 16:9 widescreen footage, and author as normal.
    Your player will letterbox automatically when it is connected to a 4:3 screen in setup (just make sure "Pan & Scan" is not also there)

Maybe you are looking for

  • Pages 2.0.2 doesn't open Pages documents from ipad

    Pages 2.0.2 doesn't open Pages documents from ipad 2. Document succesfully transferred as Pages document to computer, but Pages 2.0,2 wouldn;t open it. Version too old?

  • Problem login to server in Mac OS X 10.5.8

    When users login to workstations (login done via Active Directory) network home directory fails to mount. Mounting directory manually in Finder using Go --> Connect to Server fails also. This issue started when the UNIX server hosting home directorie

  • HT1766 How do i unlock my iphone it says connect to itunes

    I need help I cant unlock my Iphone

  • Need urgent  Help in SEQUENCE

    I have a table with data as sample given ID1 ID2 PKEY 111 234 1 111 456 1 111 769 1 222 234 1 333 678 2 444 456 1 444 545 1 555     856     3 555     485     3 I want to assign Sequence on the "PKEY" attribute and also I need to select ID1 and ID2 wh

  • Automatic update of cross references possible?

    I work on a very long document using InDesign CS3 and InCopy CS3 and want to include cross references to other pages and chapters between the text. For example "Text...(See also chapter 3.4.1 on page 54)." I have the problem now that if I paste chapt