Ansicht
Dokumentation

SAPBC415_OFFINT_D6 - Office Integration: Separate Window: Links --> Internal Table

SAPBC415_OFFINT_D6 - Office Integration: Separate Window: Links --> Internal Table

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Description

This program demonstrates Office Integration techniques using ABAP Objects interfaces.
The Office application is active in its own window.

Specific program functions:
From the R/3 transaction, you can insert a link to an internal table from the ABAP program in a document using the clipboard (user interface function "Link -> Clipboard"). A program function transfers the link to the clipboard. You can then use the relevant office application function to insert the link from the clipboard into your document. The contents of the internal table are displayed in a table control on the screen. You can use the "Fill table" function to read data from the database table SFLIGHT into the internal table. This data is also visible in the office document through the link. If you subsequently read more data into the internal table, you can make this visible in the office document by choosing the "Update link" function.

Below are the most important program statements:

Declarations:
--> Instance for the link server
DATA: linkserver TYPE REF TO i_oi_link_server.

Method calls:
-->Method GET_LINK_SERVER of instance
Creates the instance for the link server
-->Method START_LINK_SERVER of instance
Starts the link server
-->Method ADD_TABLE_ITEM of instance
Registers a data field with the link server
-->Method COPY_LINK_ITEM_TO_CLIPBOARD of instance
Creates a link to an item in the link server and its own link to the clipboard of the presentation server.
-->Method STOP_LINK_SERVER of instance
Destroys the link server object.

Function modules:
CALL FUNCTION 'DP_CREATE_URL_FROM_TABLE'
Creates a URL for the internal table(used in the link server method ADD_TABLE_ITEM).

Requirements

Output

Example






BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2036 Date: 20240531 Time: 062134     sap01-206 ( 50 ms )