Working With the Link Server 
The link server contains the SAP system objects that users can incorporate in the office documents. You also save a list of permitted objects on the link server.
Before proceeding, you must create the central instance control for managing Office Integration. Refer to Instance for Managing Desktop Office Integration.
Initialization
Declare an instance with reference to the interface i_oi_link_server:
data: link_server type ref to i_oi_link_server.
Use the method get_link_server on the central object for Desktop Office Integration control to create an instance for the link server.
Use the method start_link_server in the instance link_server to start the link server
Document Design Phase
Use the methods add_string_item, add_table_item and add_binary_item to add items to the link server. Use the method remove_link_item to
delete items from the link server.
Caution
Before opening the document, you must declare all of the links that you will use in it to the link server.
The data in the link server is placed on the clipboard of the desktop application using the copy_link_item_to_clipboard method.
Document Runtime
If you have changed the data in your application program, and need to update it in the desktop application, use the methods add_string_item, add_table_item and add_binary_item to
update them.
Before you leave your program, use the method stop_link_server to switch off the link server and release the memory area.
Note
The links are only updated when you pass the link that you want to update using one of the methods add_string_item, add_table_item2, add_table_item, or add_binary_item.
Note
Any parameters not contained in the individual method descriptions are listed under Generic Parameters.