Inserting Statement Patterns 

You can insert statement templates into your program code using the Editor's insert statement function. After placing a statement in your code, you "fill-out" the template as your program requires. Choose Edit ® Insert statement from the Editor menu to insert a statement. The system prompts you for an object type. You can select one of the following:

Statement

Explanation

CALL FUNCTION

Inserts a function call.

MESSAGE

A MESSAGE statement for a specified message. Enter a message ID, message type and a number. The choose ENTER to continue.

SELECT * FROM

Inserts a SELECT FROM <table> statement. Enter a table name in the field provided and choose ENTER. The system queries you for the table fields.

PERFORM

A PERFORM statement for a specified form.

AUTHORITY-CHECK

An AUTHORITY-CHECK statement for a specified authorization object. Choose ENTER to continue.

WRITE

A WRITE statement for a specified structure or table.

CASE

Inserts a CASE statement for a specified status.

Internal Table

Inserts an internal table. You can copy the fields or the structure of an existing table.

CALL DIALOG

A CALL DIALOG statement for a specified dialog module.

Other pattern

Inserts a predefined or user-defined ABAP statement.