on 08-24-2010 12:47 PM
Hi,
I am trying to upload PDF file from presentation server to application server using WD ABAP , For this i am GUI_UPLOAD and ARCHIVFILE_CLIENT_TO_SERVER function modules but function modules are showing errors when uploading file
but same function modules are working fine in normal programming method.
I am getting below errors:
when i used GUI_UPLOAD : Exception condition "NOT_SUPPORTED_BY_GUI" raised.
when i used ARCHIVFILE_CLIENT_TO_SERVER :
RFC server sapftp cannot be started - 1: Program no longer started via RFC. No return possi
Please give the code to upload file to application server
You won't be able to use any SAPGUI based function modules from Web Dynpro becuase there is no connection to the SAPGUI.
Why not just use the Web Dynpro FileUpload UI element. Then once the content is in memory on the application server, you can write it to the file system fo the Application Server using the OPEN DATASET TRANSFER TO DATASET and CLOSE DATASET commands.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahki,
if you search the forum you will find responses to the gui upload issue - the main point is that you are not able to use logic which depends on the GUI framework within Web Dynpro, instead you have to use WD components like the FileUpload UI element.
It is part of the forum rules to search for answers before posting, please do have a quick search - even searching for "[NOT_SUPPORTED_BY_GUI|http://www.sdn.sap.com/irj/scn/advancedsearch?query=not_supported_by_gui#sdn_content_category_value_forums]" should direct you to multiple other posts where others have had the same issue.
Good luck in finding these posts, I hope you solve your issue soon and next time please search before posting.
Thanks,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.