Page 1 of 1

When does 'DP_SEND_STREAM_TO_URL' returns ERRORSTATE = -1?

PostPosted: Thu Nov 23, 2006 5:38 am
by sibrin
FM 'GUI_DOWNLOAD' raises exception UNKNOWN_DP_ERROR (ASCII mode).

The root of this exception is in call
Code: Select all
                   #2 = 'X-UNKNOWN'
                   #3 = 'file://C:\myfolder\myfile.txt'.

where ERRORSTATE = -1.

What may cause the error?
OS = Win XP.


PostPosted: Mon Jul 09, 2007 3:12 pm
by dem411
I am having the same problem. Doe anyone know what to do?

PostPosted: Tue Jul 10, 2007 2:05 am
by Rich
I don't know about -1 but yesterday I was getting a -3. This was caused by an under score in the file name.....

PostPosted: Tue Jul 10, 2007 8:02 am
by dem411
the interesting thing is, that everything works if you try to download a file from my laptop, but if executing from other machines the function is not working.

Re: When does 'DP_SEND_STREAM_TO_URL' returns ERRORSTATE = -1?

PostPosted: Fri Jul 04, 2008 4:58 am
by serteixeira

Did anyone solve this problem? I'm having function GUI_DOWNLOAD raising exception unknown_dp_error when I call it in a program that creates a txt file in a server. When it's on my PC no problem. In terms of permissions everithing looks ok.



Re: When does 'DP_SEND_STREAM_TO_URL' returns ERRORSTATE = -1?

PostPosted: Wed Apr 05, 2017 12:31 am
by kunalshrouty

Even I also encountered the issue with DP_SEND_STREAM_TO_URL returns ERRORSTATE = -1.
I saw a lot of reasons for this issue to occur, someone said its SAPRouter issue.
Someone said I can download on local machine but not on server. etc.
And this leads to UNKNOWN_DP_ERROR exception for GUI_DOWNLOAD FM.
In my case I found that the file extension was getting unwanted special characters and hence the issue.

We are generating the file format at runtime for eg... ABC.011, ABC.022,,,,,,, ABC.998, ABC.999.
As we cross 999 and increment the serial no, the system starts appending .00* .becoz the counter is 3 digits only.
As soon as * comes in extension the issue start to come.
Hence, I can say that the UNKNOWN_DP_ERROR could occur even if the file format in filename has some unacceptable format issue.