Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Upload a file to SAP from JAVA

Former Member
0 Likes
592

Hello,

Im looking for a way to upload transport files to the transport folders of a SAP system.

My frontend is written in Java and so I can use JCo to connect to SAP. In the SAP System I can create my own function modules.

It is not possible for me to connect directly to the host where the SAP System is running. I can only connect with an RFC-Connection to SAP. So I must guided the files through SAP while using some function moduls.

Has anyone an idea how to implement this. My main problem is the interface of the function module. Can I use a table with a long string field to transport the binary date from Java to SAP ? Within the SAP I can use open dataset... to write the files to the file system.

But how must I implement the interface between SAP and Java ???

Thank

2 REPLIES 2
Read only

Former Member
0 Likes
401

Hi,

Pls chk these links...

/thread/17020 [original link is broken]

/thread/211145 [original link is broken]

http://help.sap.com/saphelp_nw04s/helpdata/en/0d/13df3fa510031ee10000000a155106/frameset.htm

regards

Gokul

Read only

0 Likes
401

hi,

i think better to User the TRFC function module or BAPIs to upload the data from SAP to Java.

Thanks,

SushmaNelson