on 05-15-2007 10:56 PM
Hey Guys,
I am using a BAPI called BAPI_DOCUMENT_CHECKOUTVIEW2 to checkout documents from the SAP server to a remote Unix(HP-UX) server. A C++ program in the target unix server calls this BAPI which internally calls HTTP_GET_FILE to do this transfer. This BAPI works fine if the SAP is on a UNIX environment, but doesnt work when I use the same BAPI which is on a different SAP instance on Windows environment. Any input on transfering a file from a windows to a unix environment will be very helpful.
Thanks,
Rohit
Please specify "doesn´t work". Do you get any error messages? Do you have saphttp.exe on that windows box?
--
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply. I will exaggerate a little bit. 'Doesn't work' means the BAPI does not copy the file from the SAP server(Windows) to the UNIX server. 'IT works' means the BAPI copies the file from SAP Server (UNIX) to Unix Server. we do have the executable on all the servers at the required locations.
Hi vinod,
I have tried using regular FTP tools and it works fine. I can add that code to the BAPI and make a custom BAPI and solve the issue, but first, i dont want to create a custom BAPI and second, if the BAPI does it from unix to unix it should definately do it from windows to unix also. I am just missing something in between.
Rohit
if you use binary FTP it won´t be a matter. If you use "your own" method, it can be tricky.
For endianess see here:
http://en.wikipedia.org/wiki/Endianness
That is also the reason why you e. g. can´t copy database files created on HP-UX to a Windows box but you can copy them to Solaris/SPARC or AIX.
--
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.