cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound Proxy Error NOT_SUPPORTED_BY_GUI

Former Member
0 Kudos

Hello guys,

We have some proxies that goes from Third Party -> PI 7.1 -> CRM and we send information to CRM 7.0 by proxy.

The problem is that we have to download a file at the CRM server with errors during execution.

We have ve tried using FM GUI_DOWNLOAD and afer using method cl_gui_frontend_services=>gui_download and we obtained the same error.

What we have to do to download our .txt file?

I have seen some other blogs that first maybe we should the method file_save_dialog.

Is this correct?

Many thanks in advance.

Regards,

Xavi.

Accepted Solutions (1)

Accepted Solutions (1)

former_member181985
Active Contributor
0 Kudos

The function GUI_DOWNLOAD we cannot use at program session level, it is only for dialog users.

Former Member
0 Kudos

hello Praveen,

what FM can we use to download the file durig the proxy?

Many thanks,

Xavi.

former_member181985
Active Contributor
0 Kudos

No need of any specific FM.

It is just like I/O operation..

Snippet

OPEN DATASET lv_filename FOR APPENDING
IN LEGACY BINARY MODE.
* Transfer the Record to application server
TRANSFER lv_data TO lv_filename.

Check my wiki section @ [http://wiki.sdn.sap.com/wiki/display/XI/HowtoSendBinaryDatatoRFCfromXI%28or%29PI]

Former Member
0 Kudos

Hello Praveen,

I have an internal table with the errors.

So should I have like this?

OPEN DATASET filename FOR APPENDING

IN LEGACY BINARY MODE.

  • Transfer the Record to application server

TRANSFER it_log_error TO filename.

At filename I should have the path with the name of the file?

At it_log_error we have different lines with the different errors that we want to put at the file.

Is this correct?

Many thanks,

Xavi.

former_member181985
Active Contributor
0 Kudos

I guess your data is textual...so you have to use TEXT MODE

so use,

* open dataset-Open the file in write mode .
OPEN DATASET lv_filename FOR APPENDING
IN TEXT MODE ENCODING DEFAULT.

* Transfer the Recored to application server
TRANSFER lv_data TO lv_filename.

Answers (0)