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: 

Transfer file from pc to server with a background job

Former Member
0 Kudos
361

Hi,

I need to transfer an file to the server. I used the function C13Z_FILE_UPLOAD_BINARY, but it transfer the file only is executing on line, when I process in background job. It didn't transfer.

Excuse me my bad english.

thanks in advance

1 ACCEPTED SOLUTION

ssimsekler
Active Contributor
0 Kudos
228

Hi Jesus

Unfortunately, during background execution, operations interacting with the presentation layer are not held.

*--Serdar

5 REPLIES 5

ssimsekler
Active Contributor
0 Kudos
229

Hi Jesus

Unfortunately, during background execution, operations interacting with the presentation layer are not held.

*--Serdar

nablan_umar
Advisor
Advisor
0 Kudos
228

Hi Jesus,

That function is using method GUI_UPLOAD which is using presentation server. You should use TRANSFER command.

0 Kudos
228

Hi Nablan

Using "OPEN DATASET..." or "TRANSFER..." is useless I think. Because you need the file at presentation layer. So the whole process which contains some interaction with the presentation layer can not be processed. And here in Jesus' case the concern is a file at presentation.

*--Serdar

former_member382103
Discoverer
0 Kudos
228

What about DOCFILE_SERVER_TO_CLIENT

Former Member
0 Kudos
228

Hi Jesus,

This function will help u to read a file in Background.

CALL FUNCTION 'RZL_READ_FILE'. We can't use other functions. But File name, u have to provide with ur system name. That particular folder should be shared. u have to provide OS level autherisation.

Then it will work.

I used this fm previously.

Thanks.

Regards

Meis