on 03-01-2010 5:04 PM
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.
The function GUI_DOWNLOAD we cannot use at program session level, it is only for dialog users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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]
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.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.