on 04-16-2013 10:06 PM
Hi Gurus,
My req: On Submit Web Dynpro form a record will be created in the Ztable. The Form should have the ability to upload a file. When the Web Dynpro goes to Approver he/she should be able to View the file that uploaded. I created a FM and used SO_DOCUMENTS_MANAGER. When I execute a FM it opens the pop up to import the file from PC. But when I execute the Web Dynpro it is not opening. Is there any other way I can achieve? Need your help.
Thanks in advance.
Ganga
Hi,
Is that FM you created based on SAP GUI?? If yes, it will not work in webdynpro.
Here is a tutorial to upload and dwnload file in webdynpro:
http://wiki.sdn.sap.com/wiki/display/WDABAP/Upload+and+Download+files+in+Webdynpro+ABAP
-Manish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use fileupload UI element in webdynpro to upload the file.
then call FM BAPI_DOCUMENT_CREATE2 to save the file into SAP DMS.
while opening it in webdynpro again Get the details of the file using FM BAPI_DOCUMENT_GETDETAIL2 and try to display it.
hope XSTRING will be available with second FM Call and can be able to display it in browser.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.