We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
... dbtab $|view$|(target_syntax) $[USING CLIENT clnt$] $| $[CLIENT SPECIFIED$] ...
1. ... dbtab$|view
2. ... (target_syntax)
1. ... USING CLIENT clnt
2. ... CLIENT SPECIFIED
The entries in target determine, statically or dynamically, which database table or which view is accessed, and control client handling. Only views whose key fields are located together at the beginning of the view can be accessed.
Write access to tables or classic views with replacement
objects is still performed on the database table or the classic view and lead to a syntax warning.
... dbtab$|view
dbtab can be a database table defined in ABAP Dictionary and view can be a classic view .
Only views that refer to a single database table, and whose status in ABAP Dictionary permits changes can be specified. No external views or CDS entities can be specified.
... (target_syntax)
Instead of specifying an object statically, a parenthesized data object target_syntax can be specified that must contain the name of the database table or the 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, as in ABAP Editor. Invalid syntax raises a handleable exception from the class CX_SY_DYNAMIC_OSQL_ERROR. See SQL Injections Using Dynamic Tokens.
When specified dynamically, statements can contain the comment characters * and " as follows:
... USING CLIENT clnt
This addition modifies automatic client handling in so that the client ID from clnt is used instead of the current client ID. The ABAP runtime environment passes the ID of the client specified in clnt to the database system, and not the ID of the current client or the client specified in source.
clnt expects a data object of the type c with length 3 and containing a client ID. A literal or a host variable can be specified, prefixed by an escape character @. The addition can only be used when changing a client-specific table or a view and not together with the addition CLIENT SPECIFIED. If specified, the system field sy-mandt would be ignored and cannot be specified directly for clnt.
... CLIENT SPECIFIED
This addition deactivates automatic client handling in . It can be specified only when accessing client-specific database tables or views and cannot be combined with USING CLIENT. If the addition CLIENT SPECIFIED is used, the client ID specified in source is respected. Without the addition CLIENT SPECIFIED, the ABAP runtime environment does not pass the client ID specified in source to the database system, but passes the ID of the current client instead.
Leave us your contact details and we will call you back. Fields marked with * are mandatory.
We offer holistic SAP solutions from a single source to shape digital change and develop new business areas.
Switzerland
Schaffhausen
Germany
Mannheim, Düsseldorf, Munich
USA
Haverhill
Greece
Thessaloniki