SAP INSERT - Obsolete ABAP Statements

Get Example source ABAP code based on a different SAP table
  



INSERT dbtab - Short Form

Short Reference
• INSERT dbtab - short form ABAP Statement

ABAP Syntax(Obsolete)INSERT { dbtab | *dbtab } ... .

What does it do? This statement is a short form of the following Open SQL statement for accessing an individual database tabledbtab:

INSERT dbtab FROM { dbtab | *dbtab } ... .

The explicit specification of a work area is missing in the short form. A table work area dbtab or *dbtab is used implicitly as the work area. The table work area must be declared using TABLES. If the name *dbtab is used instead of the name of the database table dbtab, dbtab is accessed, but the additional table work area is used.



Latest notes:The short form is not allowed in classes. Instead, use an
explicit work area.

Return to menu