
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.
You must create the instance for document management before you can use the interface.
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 document to create the instance for the form interface.
Use the application-specific functions:
Remember that you should include error handling after each method call.