Hi all,
i´m developing a cockpit using Desktop Office Integration. A Excel Template file is loaded to the cockpit, changed and should after this saved to the application server. I´m using following method:
Url has following value: "SAPR3://H:RKDATENABLAGE_INTERNHOCHRECHNUNGINPLACEZHV_REP_HB_63_SRM_GM_TEST_CM.xls"
CALL METHOD akt_document->save_document_to_url
EXPORTING
url = url
no_flush = ''
IMPORTING
error = error
retcode = retcode
CHANGING
document_size = document_size.
CALL METHOD c_oi_errors=>show_message
EXPORTING
type = 'I'.
I do not get any error after the save_document_to_url. So it seems ok. But the file isn´t physical in the file system and I´m not able to open the file with following method:
CALL METHOD akt_document->open_document
EXPORTING "document_title = u_zhv_t_rep-bez_text
document_url = l_url
open_inplace = 'X'
open_readonly = l_readonly
* onsave_macro = onsave_macro
* startup_macro = startup_macro
protect_document = l_schutz
* user_info = user_info
* no_flush = no_flush
IMPORTING "error = error
retcode = retcode.
Any idea about my problem. Is there a other solution to save DOI Excel Files. I´m also happy, if someone could give me links to tutorials concerning this topic, etc.
thx in advance,
Christian