Develop > Programming > System language > Locate a RAD function

Locate a RAD function

To locate a RAD function, follow these steps:

  1. Click Tailoring > Database Manager.
  2. Type =application in the Form field.
  3. Click Search. A blank application file record is displayed.
  4. Click More or the More Actions icon and then select Expert Search. A query window is displayed.
  5. Type one of the following in the Query field:

    Desired search Syntax
    Search for a function that is not an rtecall function.
    index("<function name>", 
    str(contents(currec())))>0

    Example:

    index("jscall", str(contents(currec())))>0

    Returns all the RAD application panels that contain the function “jscall” (to call a JavaScript function).

    Search for all instances of a particular rtecall function. For this query to run properly, a backslash must precede each double quotation mark within the rtecall parentheses.
    index("rtecall(\"<function name>\"", 
    str(contents(currec())))>0 

    Example:

    index("rtecall(\"rinit\"", str(contents(currec())))>0

    Returns all the RAD application panels that contain the function “rinit” (to initialize a file).

    Use this syntax to search for all instances of all rtecall functions beginning with a particular letter (for example, the letter r). For this query to run properly, a backslash must precede the first set of double quotation marks. The closed parenthesis is not necessary in this syntax.
    index("rtecall(\"<first letter>", 
    str(contents(currec())))>0 

    Example:

    index("rtecall(\"s", str(contents(currec())))>0

    Returns all the RAD application panels that contain a function that starts with the letter “s” such as “sort”.

  6. Click Search. A record list of RAD panels matching the search criteria is displayed.
  7. Double-click on a panel to display that instance of the function.