Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Download and upload of file to server dir (AL11)

$
0
0

Hello,

 

I have a custom program that is downloading files from application server directory (they are like templates) to user local pc. User is then modifying such files and finally upload them in another AS directory.

 

The program is currently making use of FM's C13Z_FILE_DOWNLOAD_BINARY and  C13Z_FILE_UPLOAD_BINARY.

 

There was no problem until hot packages have been implemented: now such FM's are returning an error saying:

 

Internal program error; (YDOWNLOAD SAPLC13Z 0 C13Z_RAWDATA_WRITE)

 

When in debug, it appears that the FM C13Z_RAWDATA_WRITE (called by the above mentioned FM's) is checking the calling program (sy-cprog) and if this latter is not within a list of standard programs (hardcoded), then the error is thrown.

 

My question is: Is there another way to download and upload files without such error? Could you please share the code?

 

Thanks a lot for help and suggestions!

 

Best regards,

 

JFlanders


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>