Working with the Word Processor Interface
Use
You define it with reference to the interface i_oi_word_processor_document. You can use the instance wp to activate application-specific functions of a word processor.
The word processor interface allows you to address application-specific word processing functions in the office application (if it has a word processor interface) from your ABAP program.
Prerequisites
You must create the instance for document management before you can use the interface.
Process
-
Declare an instance with reference to interface i_oi_word_processor_document:
data: wp type ref to i_oi_word_processor_document.
-
Use the method get_wordprocessor_interface on the document instance for document management to create the instance for the form interface.
-
Use the application-specific functions: