on 10-21-2008 8:19 AM
Hi all,
In case I upload a file to SAP system, could you tell me where the SAP collects this file on?
Does it depend on a type of file, or function, or anything?
Thanks in advance,
Peerasit
PS. I'm trying to upload a file to Student File thru WebDynpro, on the other hand, if you have any idea please feel free to give me the advise. : )
You have a large set of answers that have been provided - many with different locations. I think the key here is that when you use the fileUpload UI element, WD doesn't automatically store the file anywhere. It only places the contents of the file into the memory (as an XSTRING attribute in the context). It is then the responsibility of the application developer to decide where to actually store the document long term. If the application doesn't do anything with the uploaded data, it will discarded with garbage collection in the application state is released.
If this is a custom application you are writting you have many options - several of which have been discussed here - as to where to store the document. You could write it into the application server filesystem using the DATASET commands. You could store it directly into a RAWSTRING field in a database table using normal SQL statements. These are the low level options. You can then take advantage of different application level functionalities to store the file - DMS, SAP Office, Content/Cache Server, GOS, etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I want to store File Uploaded through Web Dynpro Java Application into DMS Server, Can you please help me for the same, as soon as possible. When the file is uploaded there are two properties that are generally mapped,
1. Resource
2. Data Source.
Can you please guide me from both the end i.e Java as well as ABAP end, or else is there any API available for Java to directly interact with DMS.
First, you should not post new questions to existing threads. Your question is only loosely related the original thread.
Second, your question is for Web Dynpro Java. This is the Web Dynpro ABAP forum. For questions related to Web Dynpro Java, you should post those into the separate Web Dynpro Java forum.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So in case I upload file thru UI element on WDA, how I fetch that file from other program.
As my opinion, a file will be uploaded and placed into a directory and if i want to use that file, then i have to refer the file as an address. is it wrong?
Regards,
Peerasit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
If you want to retrueve from server or some where else then use Filedownload UI element to retrieve the file information.
http://help.sap.com/saphelp_nw04s/helpdata/en/09/a5884121a41c09e10000000a155106/frameset.htm
Hi,
All the document or attachment that are uploaded or comes to SAP office is stored in a table called as SOFFCONT1 through the KPro (Knowledge Provider). We can create a Content category and content repository to store in different custom table but SOFFCONT1 table is the SAP standard table. Some of the usefull table which will help you in finding your attachment in SOFFCONT1 table are SOC3, SOOD, SOFFPHIO, SOFFLOIO.
Before SAP 4.6B version all the sap office documents was stored in SOC3 table and later SAP concept of storing these document into external storage system or content server if it is connected came into place. If it is not connected then all the documents will be stored in the SOFFCONT1 table through KPro.
-Thanks,
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peerasit,
You can store the file where ever you want. In the webdynpro Java You can use output streams.
Make a folder on the server and it is must that folder should be in the shared mode having all the permissions.
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
I dont know if i understood you correctly , yes these files are stored in SAP system . there is something called as GOS .. Generic object services ( mainly for archiving) and also DMS.. document management system which are the two mane SAP technologies to manage the files on SAP server . You can use API's to upload and download.
Regards
Anuj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can store this in SAP directory transaction AL11.
regards,
Subhasis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peerasit,
You can use the FileUpload UI Element of WD ABAP.
It will let u browse through the system ( on which the application is executed).
After Upload the data is in the context of the component.
You can use the FileDownload UI element or any other way to store it anywhere you want.
I hope it helps.
Regards,
Sumit Oberoi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.