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

Similar Messages

  • Where does the converted document get saved to?

    After the PDF doc is converted to word and I hit save, where does the saved/converted document end up?

    Wherever your browser is configured to save files to by default or the location you select.
    I would suggest searching for the file name (without extension) through Windows Search or Spotlight.
    If you're having difficulty saving the files at all, I'd suggest trying the troubleshooting steps outlined here: http://forums.adobe.com/docs/DOC-1831
    Let us know how it goes!
    -David

  • Using Pages in iPad, I save to iTunes and synch w/ iMac.  Where does the Pages document go-I cannot find it?, Using Pages in iPad, I save to iTunes and synch w/ iMac.  Where does the Pages document go-I cannot find it?

    Using Pages on my iPad, I save to iTunes to share it with my iMac.  After download I cannot find the documents in my iMac.  Not in Pages, not in iTunes, so where do they go?

    Until Apple updates the desktop versions of the iWork apps you have to use iCloud.com in a web browser or iTunes to sync files. You could also try e-mail or DropBox.

  • Where does the application installer store data?

    Recently I tried to install the sims 3 from the disk, but the disk was scratched and I had to force quit the installer whilst instlling. After attempting to fix the scratches I realised that as I did multiple installs and force quitting, it has taken up hard drive space that I can't seem to find, and now I don't have enough space to install. Is there a temporary location they are moved to? Or is it a hidden file? Thanks, I appreciate help

    Yup they were in the installation location but just hidden files. Fixed the problem.

  • Where does the ejb store the state

    hi all,
    where does the statefull session store the state in
    between multiple methods invocations of the client.
    In which format it will store

    Where and in what format stateful session state is stored is an implementation detail of the container.
    In many cases passivation will not take place at all, so the session bean state is simply stored in
    memory between invocations. If passivation does take place, the container is allowed to store the
    passivated state anywhere it likes. Many implementations provide configuration that determines where
    the state is stored. In SUN's implementations, the deployer can choose between a file system store,
    a high availability database, or in-memory replication.
    The important thing is that the application code does not have to concern itself with most of these
    details. All you need to do as a developer is ensure that the bean class state conforms to the
    contracts for Serializability. The exact rules are covered in Section 4.2.1 of the EJB 3.0 spec.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • When I transfer photos from my camera to my computer, where does the computer store them?

    When I transfer photos from my camera to my computer, where does the computer store them?

    Assuming you're using iPhoto 09 or later.
    By default the photos are stored in the iPhoto Library in your Pictures Folder.
    The iPhoto Library is a Package File. This is simply a folder that looks like a file in the Finder. This is a simple protection from users inadvertently corrupting their library by browsing through it with other software or making changes in it themselves.
    Want to look inside?  Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Standard Warning: Don't change anything in the iPhoto Library Folder via the Finder or any other application. iPhoto depends on the structure as well as the contents of this folder. Moving things, renaming things,, deleting them or otherwise making changes will prevent iPhoto from working and could even cause you to damage or lose your photos.
    As an FYI: There are many, many ways to access your files in iPhoto:   You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Command-Click for selecting multiple pics.
    (Note the above illustration is not a Finder Window. It's the dialogue you get when you go File -> Open)
    You can access the Library from the New Message Window in Mail:
    There's a similar option in Outlook and many, many other apps.  If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    If you want to access the files with iPhoto not running:
    For users of 10.6 and later:  You can download a free Services component from MacOSXAutomation  which will give you access to the iPhoto Library from your Services Menu.
    Using the Services Preference Pane you can even create a keyboard shortcut for it.
    For Users of 10.4 and 10.5 Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    Show File:  a. On iPhoto 09 and earlier:  Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.    3.b.
    b: On iPhoto 11 and later: Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder window will pop open with the file already selected.

  • In Trex where does the documents reside ?

    We have Enterprise portal and use TREX for collaboration rooms and document indexing. EP is a java only Netweaver stack on AIX and TREX is on a window box. What I wanted to know is where do the actual documents, which TREX indexes reside?
    Does Trex retain a copy of the indexed document? For a particular index where is the mapping of the actual document? Where can I look at all this data?
    Pls advise.
    thank you
    regards
    Laxmi

    Hello Kai,
    documents original location is transparent on KM, whether it is on a external repository or not doesn't matter,
    for KM and TREX it is part of repository manager (configured at System Administration > System Configuration >
    Knowledge Management > Content Managenement > Repository Managers).
    Once a repository manager is activeted, there are several services running on top of it, eg.: subscription, rating,
    etc. and other global services which affects every repository. Crawler service and Index Management are the
    global services which will do indexing work
    In fact TREX doesn't look for documents, the crawler is the component that retrieves the documents and
    deliver for TREX. Have in mind that the crawler is part of KM, not TREX. It is active for every repository,
    you can check on the monitor at System Administration > Monitoring
    for more information: http://help.sap.com/saphelp_nw70/helpdata/en/fb/38ef207d0a47ee9dc08deeed855392/frameset.htm
    once documents are retrieved by the crawler and is at TREX hands, it will index normally, it uses
    a file system based architecture, if you browse through TREX server you can find the indexes you have
    created as folders and documents information inside. Be careful when checking at file system level, data
    there is designed for TREX work only, it doesn't serve as backup and can't be considered for any
    other functioning.
    kind regards,
    Rafael

  • Where are the actual documents stored in solution manager (KW)?

    Hello,
    I have a question regarding Solution Manager and storing documentation.
    When we in our process structure in a project uploads a word document
    (as documentation), where are the file then physically stored?
    I have checked the table SA01PHIO (a KW table), here I see a new entry every time I
    upload a new word document (or other type of documentation). But this
    table does not grow accordingly to the size of the word documents I
    upload, so the physical document must be stored somewhere else in the
    database.
    The description of field 'PHIO_ID' in table SA01PHIO is "Physical document", but since the field is of type char (size 32), then it can only be a link to the actual file?
    We need to know where the documents are stored, so that we can plan our
    storage strategy and database space management accordingly.
    Anyone knows where the files are stored in the database?
    Thanks in advance.
    Regards

    Samuli,
    Thank you for your help.
    After further searches, I have found exactly what I was looking for.
    Samuli, as you said, documents are stored in table SACONT01, but I did not understand how they were stored, as all the data you have in this table is something like:
    FF06010102028000343130320000000074040000121F9D02A37D7259692086C2F0D7761017222...
    So the information can be benefit to other people searching, I will share it here.
    The string of alpha-numeric characters you see above is a "part" of the document.
    Document data is cut into clusters, and stored in table SACONT01 (in field CLUSTD, coupled with CLUSTR).
    In order to retrieve all the clusters for a given document, you need to get its logical ID (LOIO - LOgical Information on Object):
    - Select the document (SOLAR01/02 for projects, SOLMAN_DIRECTORY for solutions)
    - Enter DOC_INFO in the transaction code field
    - Copy the Object ID
    In table SA01PHIO, retrieve the physical id(s) from the logical id (PHIO - PHysical Information on Object).
    Search SACONT01 with the physical id(s).
    Just as an example:
    - 340 entries for a Word document (about 50 pages)
    - 57000 entries for a video (200 MB)
    Hope it will help.
    Regards,
    Rémi.

  • 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.

  • 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

  • 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'm trying to use Dictation.  Where does the text go, and how can I retrieve it?  Thank you.

    I'm trying to use Dictation.  Where does the text go, and how can I retrieve it?  Thank you.

    You dictate after you open a blank page in any text editor. The text goes on the page.
    You can use Text Edit for example (in your applications folder).
    With the blank page open, go to the Edit menu and select Start Dictation. When you are finished, you save the file as you would any other document. You can retrieve it, edit it or anything else you want, because it is a file like any other you create with that text editor.

  • Where does iPhone configuration utility store data?

    Where does iPhone configuration utility store profiles and other data on the system? I know you can export the individual profiles to back them up, but I would like to just backup the entire iPhone Configuration Utility storage location.

    Thanks for the reply. It helped me get more information on where to find it on the Mac. Here's the location for the Mac if anyone else needs the information:
    Your home folder > Library > MobileDevice
    There are folders in the "MobileDevice" folder that contain data for iPhone Configuration Utility (configuration profiles, device information, etc.)

  • Where does the ipad back up stored

    where does the ipad back up stored

    iTunes places the backup files in these locations:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    Note: To quickly access the Application Data folder, click Start > Run. Type %appdata% and click OK.
    Windows Vista Windows 7: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    Note: To quickly access the AppData folder, click Start, type %appdata% in the search bar, and press the Return key.
    Windows 8: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    Note: To quickly access the AppData folder, move the cursor to the upper-right corner, click the magnifying class, type %appdata%, and press the Return key.

  • Where does the EPA will be stored....?

    Hi
    Where does the Transported is going to store? I mean in which location/dir it is going to store?
    Its urgent, suggest me
    Thanks

    Hi Ganesh,
    You can also configure the ExportRootDirectory as described <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/61/1834414b75de2be10000000a1550b0/content.htm">here</a>.
    By default the export will be saved on the portal server under ...\usr\sap\<System ID>\SYS\global\pcd\Export
    but you get also a link to download the file on your client.
    Hope it helps,
    Robert
    PS: If your question has been answered you can make use of the blue star Thanks!

Maybe you are looking for

  • Purpose of having central adapter engine

    What is the purpose of having Centeral Adapter Engine when any WAS 6.40 has an adapter engine that can communicate de-centrally with the IS? Regards chandrakanth.K

  • 11.5.10.2 12.1.1 and 10g 11g database upgrade at same time

    I have just started an 11.5.10.2 > 12.1.1 upgrade and have created a project in MWIZ 2.15 for it. I would also like to upgrade the 10.2.0.2 database to 11.1.0.7 as part of the same upgrade and create an MWIZ project for that. I have a couple of quest

  • Why this "!" char appears in my string?

    Hi, i've noticed a quite strange beahviour in my application. there's a form composing an email to send. in this form there's an hidden item called BODY and its source attribute is: You can access the document from the following link: <table bgcolor=

  • Difference between airport

    hi i am currently using a belking modem wireless router paid $$ for it but doest work properly replaced it twice and still not the best.  so i was looking on the apple store and seen the airport express base station & the airport extremem base statio

  • Just my luck

    you know the grid lines in the list view that go across the screen and down also. they help segregate the song names and info from each other. i recently lost it and have no idea how to fix or repair this. all i have now is plain text on a white back