Skip to Content
0
Former Member
Feb 24, 2009 at 06:28 AM

Set value for bookmark parameter for a word document

236 Views

Hi All,

Can you please let me know how to Set value for bookmark parameter when opening a word document.

cl_wd_link_to_url=>new_link_to_url( bind_reference = lv_col_path ) is used to dynamically bind a display table field as URL link.

And the actual link is set using

data lir_element TYPE REF TO if_wd_context_element.

lir_element->set_attribute( name = 'LINK' , 'http://x.com/x.doc' )

I would like to achieve similar to the the following code(used in BSP)

lv_string = 'test'

CONCATENATE `javascript:openForm('http://x.com/x.doc', '`

lv_string `' )`

INTO lv_link.

Thanks in advance.

Regards,

Chamu