We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
... :dobj ...
Host variables are global or local data objects (usually variables) declared in the ABAP program that are used in operand positions of embedded Native SQL statements. Named data objects can be identified by an escape character (a colon :) placed in front of the names of the data objects. Instead of the data object itself, a field symbol to which the data object is assigned can also be specified. Dereferenced data reference variables cannot be specified. Depending on the operand position, the data objects can be variables or constants. Constant host variables are host constants.
Usually, only flat elementary fields and flat structures with elementary components can be used as host variables. If a structure is specified after the INTO clause by Native SQL, it is transformed by the Native SQL interface as if its components were specified as individual fields separated by commas.
In assignments between host variables and fields in database tables, a
mapping takes place between the
ABAP types and the database types. The ABAP types must match the database types. If they do not match,
conversions must be made in the Native SQL interface. These conversions are platform-dependent and can raise exceptions.
Like the example for literals. Here, the row to be read is specified using host variables.