Application Development 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: 

Replacement for FM DOCFILE_CLIENT_TO_SERVER

Former Member
0 Kudos

HI,

In ECC 6.0 version the function module DOCFILE_CLIENT_TO_SERVER is obselete. I need to replace the function module with new one. Please suggest me with respective one.

CONCATENATE 'KOST_' SY-DATUM '_' SY-UZEIT INTO W_UNIXFIL.

WS_FIL = P_WSFIL.

REPLACE 'XXX' WITH SY-SYSID(3) INTO W_PATH.

CALL FUNCTION 'DOCFILE_CLIENT_TO_SERVER'

EXPORTING

SOURCEPATH = WS_FIL

SOURCEFILE = ' '

TARGETPATH = W_PATH

TARGETFILE = W_UNIXFIL

EXCEPTIONS

ERROR = 1

OTHERS = 2.

I have to replace above function module.

Thanks in advance,

kishore

1 REPLY 1

Lakshmant1
Active Contributor
0 Kudos

Hi Kishore,

Check FM ARCHIVFILE_CLIENT_TO_SERVER

Hope this helps

Thanks

Lakshman