2005 Apr 25 8:55 AM
We are trying to download/upload file through rfc function called by java(JCO),In the rfc function,we use WS_DOWNLOAD,but it does not work.
Any one know about this,Please help ,thanks very much.
Message was edited by: gw gw
2005 Apr 25 9:21 AM
Hi gw,
This question looks a little confusing to me.
WS_DOWNLOAD is used to download files from SAP to the presentation server (your PC). It will not work through RFC.
BUT, also if you want to access a function module via RFC is must be RFC enabled (as Anand pointed out).
AND WS_DOWNLOAD uses a PUSH approach. It pushes a file to the PC from ABAP. So even if the two points above weren't a problem it still would not be suitable for what you are doing.
Perhaps you could explain a little what you are trying to achieve.
Cheers,
Brad
2005 Apr 25 8:56 AM
Hi,
If I'm not mistaken, the Function Module that you use should be remote-enabled.
Regards,
anand Mandalika.
2005 Apr 25 9:21 AM
Hi gw,
This question looks a little confusing to me.
WS_DOWNLOAD is used to download files from SAP to the presentation server (your PC). It will not work through RFC.
BUT, also if you want to access a function module via RFC is must be RFC enabled (as Anand pointed out).
AND WS_DOWNLOAD uses a PUSH approach. It pushes a file to the PC from ABAP. So even if the two points above weren't a problem it still would not be suitable for what you are doing.
Perhaps you could explain a little what you are trying to achieve.
Cheers,
Brad
2005 Apr 25 10:45 AM
And..
As java is doing the job (uploading/downloading files from presentation server), it dosent need to call a SAP RFC function thru JCO, it has its own file handling classes.
Regards
Raja
2005 Apr 26 11:30 AM
Thanks all.
As Raja said, We will handle the file by java class diretly.
2005 Apr 26 12:02 PM
2005 Apr 26 12:05 PM
Can you please close this thread (mark it as answered).
It helps other people responding to posts.
Cheers,
Brad