We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
... dbtab $|view$|(target_syntax) $[client_handling$] ...
In the modifying statements INSERT, UPDATE, MODIFY, and DELETE, these elements specify statically or dynamically which DDIC database table or DDIC view is accessed. Optional additions client_handling control client handling. Only views whose key fields are located together at the beginning of the view can be accessed.
Write access to DDIC database tables or DDIC table views with
replacement objects is still performed on the DDIC database table or the DDIC view and produce a syntax warning.
dbtab can be a DDIC database table defined in the ABAP Dictionary and view can be a DDIC table view .
Static specification of a DDIC database table in different writing statements.
Instead of specifying an object statically, a parenthesized data object target_syntax can be specified that must contain the name of the DDIC database table or the DDIC view when the statement is executed. A character-like data object or a standard table with a character-like row type can be specified for the data object target_syntax. The syntax in target_syntax is not case-sensitive. Invalid syntax raises a catchable exception from the class CX_SY_DYNAMIC_OSQL_ERROR. See SQL Injections Using Dynamic Tokens.
Specification of a DDIC database table in a DELETE statement to delete all rows of the current client dynamically. A check is made to verify whether the object entered is in a particular package and any exceptions are handled.