cancel
Showing results for 
Search instead for 
Did you mean: 

Move a file from external server to SAP server for LSMW

Former Member
0 Kudos

Hi,

I need a function that moves a file from external server (I've a RFC destination) to SAP server, I'm working on 4.6C.

I think that I have 2 options:

a) Using FTP_CONECT like programs RSTFP* but I can´t do it.

b) I read there is a SAP program (RFCEXEC)that allows me to do that.

Which is the best options?

Regards, David.

Message was edited by: david santibanez

Accepted Solutions (0)

Answers (2)

Answers (2)

krzysztof_konitz4
Contributor
0 Kudos

Hi,

May be one of the FM: ARCHIVFILE_* will be useful.

Krzys

andreas_mann3
Active Contributor
0 Kudos

Hi David,

look Report RSFTP004 with SE38

and this link

regards Andreas

Former Member
0 Kudos

I try with report RSFTP004 and I can´t do it, I'm tring with transaction SM69.

Former Member
0 Kudos

You get the network directory mounted / shared on your SAP application server. Then you can use File function modules DX_FILE_COPY & EPS_FILE_DELETE.

After sharing/mounting the remote directory, it will act as if it's one of the application server directory.

Thanks,

Ram

Former Member
0 Kudos

Thanks,

I'm tring with SXDA_FILE_EXISTENCE_CHECK, becouse I must move the file and run LSMW.

When I run SXDA_FILE_EXISTENCE_CHECK with destination my RFC system the program aborts.

The RFC is a Business Conector sistem but I don't want to use it.

Former Member
0 Kudos

You can only run a function module on destination system if destination system is a SAP system and it has the mentioned function module.

So in this if your RFC destination is not a SAP system then it's absolutely absurd to call this function module on RFC destination.

Please get in touch with your Basis guy and try to follow the steps mentioned in my last post.

You should try to get the remote directory mounted on SAP application server.

Then you should be able to use this FM without the need of any RFC call.

Thanks,

Ram