How to declare variable/structure/table/field symbol/objects in ABAP without defining them separately.
Usecase 1: In a ‘select query’
Usual way of defining table with its declaration before usage:
With inline declaration:
Usecase 2: Table ‘work area’
Usual way:
With inline declaration:
Use case 3: Field Symbol declaration
Usual way:
With Inline declaration:
Usecase 4: Declaration of reference variables
Usual way:
Using Inline declaration: