Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Function RSOD_DOC_MAST_CHANGE

Former Member
0 Kudos

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?

2 REPLIES 2

former_member181966
Active Contributor
0 Kudos

First of all , in 47 c I couldn’t 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

Former Member
0 Kudos

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