Show TOC

Syntax documentationsearch Locate this document in the navigation structure

You use this method to activate the search function in the office document:

Syntax Syntax

  1. CALL METHOD wp->search
    EXPORTING search_string = search_string
    pos = pos
    flag = flag
    no_flush = no_flush
    IMPORTING retcode = retcode
    error = error.
End of the code.
Description of parameters

Parameter

Optional

Description

search_string

Searches for a character string

pos

global:

searches the entire text

up:

searches from the current position to the start of the document

down:

searches from the current position to the end of the document

flag

' ' :

searches for character string

word:

searched for word

exact:

case-sensitive search