2006 Feb 10 10:12 PM
A parameter for the FM RSOD_DOC_MAST_CHANGE is I_URL.
I'm hoping that it saves the document to that URL location but I can't prove it because when I try to pass a URL to that parameter, I get an error when I run the program.
Can someone tell me what I_URL used for and <b><u>how</u></b> to use it?
A parameter for the FM RSOD_DOC_MAST_CHANGE is I_URL.
I'm hoping that it saves the document to that URL location but I can't prove it because when I try to pass a URL to that parameter, I get an error when I run the program.
Can someone tell me what I_URL used for and <b><u>how</u></b> to use it?
2006 Feb 10 10:26 PM
First of all , in 47 c I couldnt able to find this Fm , as far as URL is concern if you are using in front end then i cant tell you , but if you are using in your company you have to check firewall ... you have to get another IP from which you can bypass firewall..
As I wrote a program in which I use "DP_GET_STREAM_FROM_URL" , it actually reads stock from some client website and bring into text file . Then upload in some Finance view ,, So I had requested separate IP address ,, to by pass firewall.
Thanks
2006 Feb 13 4:46 PM
This is how I use the function.
data: doc_url type SAEURI.
doc_url = 'http://server:9999/SAP/BW/DOC/MAST/FLDMAST/0000002298.HTM'.
CALL FUNCTION 'RSOD_DOC_MAST_CHANGE'
EXPORTING
i_chanm = l_s_chavl-chanm
i_chavl = l_s_chavl-chavl
I_DOC_TYPE = doc_type
i_description = descr
i_name = name
I_LANGU = SY-LANGU
i_overwrite_mode = if_rsod_const=>mode_replace_phio
i_with_content = 'X'
i_s_content_info = l_s_content_info
I_WITH_URL = 'X'
I_URL = doc_url
I_COPY_URL_CONTENT = 'X'
IMPORTING
E_NAME =
e_s_return = l_t_return
TABLES
i_t_file_content_ascii = itab.
i_t_file_content_binary =.
But I get an error...
l_t_return-type is E
l_t_return-number is 159
Can someone figure out what I'm doing wrong?
Message was edited by: Fong
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |