Where the word document is stored.

Hi Friends,
     Using web dynpro they stored word document in SAP. where/how is it stored sap. and how is it retrive via SAP.
Thanks & Regards,
Vallamuthu.M

If you use ST05 to implement at trace on your userid, and then save a document through the web dynpro, you should be able to see where in the database the document is being stored.
If you drill down to the underlying source, you should be able to find the area of code performing the save.

Similar Messages

  • How do i retrieve the word document format

    I write a java program which writes a word document in to a BLOB in oracle database. and i retrieve the word document from the database and flush the output to a word document in local path. i do get the output and the word document is saved to my local path, but when i try to open the document it opens ina junk format which cannot be read.. how to preserve the format of the document??
    here is the sample code..
    I open a connection.......
    File fileIn     =     new File("C://input.doc");
    FileInputStream     finput     =     new FileInputStream(fileIn);
    BufferedReader br     =     new BufferedReader(new InputStreamReader(finput,"Cp1252"));
    String lStrDoc_name     =     "1011";
              Conn.setAutoCommit(false);
              String lStrQuery     =     "insert into TESTPDF (" +"DOC_NAME,"+"DOCUMENT,"+"DOC_URL) "+" values(?,?,?)";
              pStmt = Conn.prepareStatement(lStrQuery);
              pStmt.setString(1,lStrDoc_name);
              pStmt.setBlob(2,newblob);
              pStmt.setString(3,"C://testing.doc");
              pStmt.executeUpdate();
              pStmt.close();
              Conn.commit();
              Statement     st     =     Conn.createStatement();
              ResultSet rs= st.executeQuery("select DOCUMENT from TESTPDF where DOC_NAME = " + lStrDoc_name + " for update");
              if(rs.next())
                   oracle.sql.BLOB blob=((oracle.jdbc.driver.OracleResultSet)rs).getBLOB(1);
                   System.out.println("BLOB-------->"+blob);
                   OutputStream outbb=blob.getBinaryOutputStream();
                   for(int i = 0; i < fileIn.length(); i++) {
                        outbb.write(br.read());
                   outbb.flush();
              rs.close();
              Conn.commit();
    Later i read the blob and store my output...
    the code is as follows....
    String lStrQuery     =     null;
              String lStrDoc_Name     =     "1011";
              String lStrDoc_Url     =     null;
              Blob newBlob     =     null;
              InputStream     fInput     =     null;
              BufferedReader br     =     null;
              FileOutputStream     fOutput     =     null;
              lStrQuery     =     "Select * from TESTPDF where DOC_NAME=" +lStrDoc_Name;
              try {
                   pStmt     =     Conn.prepareStatement(lStrQuery);
              } catch (SQLException e2) {
                   // TODO Auto-generated catch block
                   e2.printStackTrace();
              try {
                   rs = pStmt.executeQuery();
                   if(rs.next())
                        lStrDoc_Name     =     rs.getString(1);
                        newBlob               =     rs.getBlob(2);
                        lStrDoc_Url          =     rs.getString(3);
                        if(newBlob != null)
                             fInput = newBlob.getBinaryStream();
              } catch (SQLException e3) {
                   // TODO Auto-generated catch block
                   e3.printStackTrace();
              String lStrOutputFileName     =     "C://"+lStrDoc_Name+"testing.doc";
              try {
                   fOutput     =     new FileOutputStream(lStrOutputFileName);
              } catch (FileNotFoundException e5) {
                   // TODO Auto-generated catch block
                   e5.printStackTrace();
                   byte b;
                   try {
                        while ((fInput.read()) > -1) {
                             b = (byte) fInput.read();
                             fOutput.write(b);
                   } catch (IOException e4) {
                        // TODO Auto-generated catch block
                        e4.printStackTrace();
    The word document is stored in my local path.. but iwas not able to read the document. it opens in some ascii format..
    Your help is appreciated..

    BufferedReader br = new BufferedReader(new InputStreamReader(finput,"Cp1252"));Preserving the format would include not mangling it by using a Reader to read it. If you want to preserve it byte for byte then only use InputStream and OutputStream.

  • Where does the word document store?

    Hi Expert,
    Using webdynpro java to upload the file, where does the file actually store?
    I refer to below tutorial but have no ideal where the file is store. Please help.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    Thank you.
    Regards,
    Henry

    Hi Henry,
      Once you reach the Action handler of the FileUpload UI Element your file has already been uploaded and is available in your context attribute. Now depending on the requirement you need to store the file.
    If you need to store the file in a shared location then you need to write the file to that location using normal java I/O.
    IWDResource resource = element.getMyResAttr();
    InputStream is = resource.read(true);
    try
    /* read bytes from stream and write it to file */
    finally
      try { is.close(); } catch (final IOException ex) {}
    If you need to store the file on the R/3 system then you need to call the function module/BAPI capable of doing so and pass the resource file to the function module. Some times you might need to convert the IWDResource file to a byte array. The code given above can be modified to do that. If there are no function modules or BAPI's capable of storing the Word Document available you will have to write one.
    Let me know if this helps.
    Regards,
    Sanyev

  • Location where the change document log is stored

    Hi all,
    In SRM bidding process, I need the initial bid price and the final bid price, quantity before negotiation and after negotiation, PR or project number for that bid invitation number. Can anyone tell me where these are stored. Actually I want to know where the changed document log is stored.
    Regards,
    Asha

    Hi Asha,
    AFAIK there is no Project Number in Bidding Engine.
    Until Quote versionning (SRM 6.0 ?), there is no other way than looking at change documents.
    All changes are stored in change tables: CDHRD and CDPOS.
    You can try to reuse FM BBP_CHANGE_DOC_GET_NEW.
    Rgds
    Christophe
    PS: please reward points for helpful answers.

  • Importing the word document in RoboHelp

    Hi,
    I am importing a word document into Robohelp 7 HTML. But after the import is completed, the entire word document is converted into a single HTML page. My requirement is that each chapter should be created into seperate HTML file based on the heading level. This will help in creating the book based on the heading level. I was able to do this task successfully with RoboHelp X5 but not with any other higher versions!!!!!

    Hi there
    The key to this is to ensure the Word document has been styled consistently with headings and other formatting. If it's one of the garden variety where folks just painted across text all willy nilly you will indeed see mixed results.
    Pay careful attention to the intermediate dialogs you see when importing the document. The second one should offer a way to split on style.
    Cheers... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • Table where the Delivery date is stored in Confirmation tab on Me23n

    Hello ABAB Gurus,
                               Can anyone give me the table name where the Delivery date is stored in Confirmation tab in Item in ME23n.
                                  If anyone is aware of it then please let me know .
    Sagar

    Hi,
    Check the table EKES and field name is EINDT..
    Thanks,
    Naren

  • Just converted a PDF document to Word, none of the graphics from the PDF file show up in the Word document?

    Just converted a PDF document to Word, none of the graphics from the PDF file show up in the Word document?
    What do I need to do to bring the graphics and exhibits from the PDF file to the Word file?

    Hi jackp52432917,
    How was that PDF file created? Please see  Will Adobe ExportPDF convert both text and form... | Adobe Community
    It could be that the PDF file you're converting was created using a third-party application, and it doesn't contain all the information necessary to ensure a clean conversion. Have you had similar troubles converting other PDF files?
    Best,
    Sara

  • I created a 5x7 postcard document in Word with text boxes and graphics.  When I converted it to PDF, some of the items were missing, even though they were in the boundaries of the page and looked fine on the Word document.  What happened, and how do I fix

    I created a 5x7 postcard document in Word with text boxes and graphics.  When I converted it to PDF, some of the items were missing, even though they were in the boundaries of the page and looked fine on the Word document.  What happened, and how do I fix it?  I'm trying to upload the PDF version to Vistaprint.  Thanks.

    Reader doesn’t create pdf files. You can use Acrobat (ask in that forum) to create pdfs. You can subscribe to the Adobe PDF Pack which has a create pdf functionality (please ask in that forum), or you can use a third party utility such as ghostscript, cutepdf, or Microsoft’s own PDF creation capability. For third party pdf creation you will need to ask in a forum dedicated to that software as fellow users of Reader are unlikely to have the knowledge to help.

  • After i export a pdf file (written in Hebrew) to a Word document, the Word document is written in a Mirror-writing, how can i fix it?

    after i export a pdf file (written in Hebrew) to a Word document, the Word document is written in a Mirror-writing, how can i fix it?

    Hi,
    thank you for your help.
    I am using an Adobe Acrobat XI Pro.
    It is not a specific file that causes trouble, it is happening with all the documents with Hebrew fonts.
    I tried the "Save as" option and the same problem happened.

  • Report for editing the word document with xml tags

    Hi all,
    My requirement is to edit the contents of the word document in the presentation server through report programming and save that document  in the presentation server.
    For eg if my word document contains many xml  tags with spaces < EDI_DS40 >, i would like to remove the spaces and i want it to be lyk <EDI_DS40>.Then say if i wanted to make some modification (addition, deletion,replacing with some text) in the text in some nth line of the document how can dis be dione.
    Is there any function module or bapi which serves this purpose.
    Can anyone pls guide me on dis.
    Thanks & Regards,
    Revathi.

    Hi,
    just to let you know I have sorted this.
    http://macintoshhowto.com/leopard/how-to-merge-pdf-files-with-preview-in-leopard .html
    Thanks.

  • How to convert a word doc to PDF while retaining original page layout of the word document

    I am trying to convert a Word document to a PDF.  When I do so, the page layout is changed, with the result that document headings that are on one page in the Word document are on other pages in the PDF.  What settings do I need to adjust to retain the original page layout after the conversion--ie. sentences/words on one page in the Word document stay on that page in the PDF.  I'm using Adobe Acrobat XI Pro and Word 2013 in Windows 8.  Thanks.

    Start with having the Adobe PDF printer set as your Default printer.
    (You do not want Word changing to match printer metric as this can goober output.)
    Open Word. Review all Options of configuration to assure there are no surprises.
    Prior to printing always perform updates of any fields (styles for auto-numbering and other such use field codes -- update all field codes before a print job).
    When Word is properly configured and the content appropriately mastered then the output PDF will be spot on.
    (Input dictates output)
    Ensure the installed Acrobat version and Office application versions are compatible.
    Ensure the installed Acrobat is compatible with the OS in use.
    Check that PDFMaker is configured as desired.
    Check that the Distiller job option used is configured as desired.
    (PDFMaker and Distiller are installed when Acrobat is installed.)
    Be well...

  • When converting tables in a MS Word 2010 or 2007 to PDF the table borders do not retain the correct thickness as identified in the word document.  Is there a solution for this issue?

    When converting tables in a MS Word 2010 or 2007 to PDF the table borders do not retain the correct thickness as identified in the word document.  Is there a solution for this issue?

    Please try with latest version of MS Word and Acrobat.
    Regards,
    Anoop

  • HT2506 hi i can't seem to copy and paste pdf files from preview to a microsoft word document. it always comes up with nonsense characters in the word document. how do i fix this? thanks in advance

    hi i can't seem to copy and paste pdf files from preview to a microsoft word document. it always comes up with nonsense characters in the word document. how do i fix this? thanks in advance

    Hi,
    The quickest way to do this (tested with OS 10.8.2, MS Word 2011) is in one line:
    tell application "Microsoft Word" to close every document whose name begins with "book"
    The reason why your script doesn't work is that you aren't specifying to Word which document you want it to close.
    So, changing one line ought to do it:
    close document incrementvalue -- instead of "close document"
    But... when you close a document, you change the document count. Document 2 becomes document 1, document 3 becomes document 2 etc. So eventually you'd get a message saying "The object you are trying to access doesn't exist".
    Because of this, if you want to do it in a repeat loop, you have to work backwards:
    tell application "Microsoft Word"
      set doc_count to count documents
      repeat with x from doc_count to 1 by -1
      if name of document x begins with "book" then close document x
      end repeat
    end tell
    Hope this helps.

  • How do I retain Microsoft Word hyperlinks (internal to the Word document) in pdf export?

    How do I retain Microsoft Word hyperlinks (internal to the Word document) in pdf export? I lose them in process. Using Word 2011 (14.4.3) and Mavericks. Have tried importing to Pages 5.2 and exporting, but that does not work either.

    If you don't get an answer here, search/ask in the forums devoted entirely to MS stuff by its maker.  These forums are for the Apple app Pages.
    http://answers.microsoft.com/en-us/mac/forum/macword

  • I can copy and paste from mozilla to word in second attempt only first attempt fails and paste a zero sized dot on the word document

    i can copy and paste from Mozilla to word in second attempt only first attempt fails and paste a zero sized dot on the word document.more ever i can not drag fevicon from address bar to my desktop.

    Maybe:<br />
    Dafizilla Table2Clipboard: https://addons.mozilla.org/firefox/addon/1852

Maybe you are looking for

  • Takes a long time to load library

    recently when I click on itunes to initiate....it takes a very long time to load library. Never used to do this. Any advice on how to correct this.

  • How do I scan and remove a virus from my iPad?

    MY  iPad  has been having many bad things go on like only one of the speakers works, videos are all messed up into thousands of miniature squares that are obviously not meant to be that way.  When I type it won't type as fast as my fingers and I type

  • Can I reuse an iCloud email address?

    Awhile back, I was setting up iCloud on my iPhone, and for whatever reason, I wasn't able to create an email address. I finally ended up making another Apple ID and creating the @icloud address I wanted. I've now been able to fix this and want to add

  • Rescuing files on a time machine sparesbundle image

    I have a Time Machine backup on a Time Capsule that is obviously corrupt -- when Time Machine runs, deletes a previous backup and then stops and ejects the time machine disk image. I ran Disk Utility on it for over 12 hours, and it definitely found p

  • Acess "set-cookie" and set later in lookup in UDF?

    Hello Experts, I' have a senario where I need to get a session ID in order to handle a series of web service request. Therefore I have written a UDF in the mapping where the first method (as login message) where I get a login key as payload and the s