Ansicht
Dokumentation

ABAPIUMD_TARGET - IUMD TARGET

ABAPIUMD_TARGET - IUMD TARGET

Fill RESBD Structure from EBP Component Structure   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

INSERT, UPDATE, MODIFY, DELETE, target

... dbtab $|view$|(target_syntax)  $[client_handling$] ...

Alternatives:

1. ... dbtab$|view

2. ... (target_syntax)

Effect

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.

Note

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.

Alternative 1

... dbtab$|view


Effect

dbtab can be a DDIC database table defined in the ABAP Dictionary and view can be a DDIC table view.

Only DDIC table views that refer to a single DDIC database table, and whose status in the ABAP Dictionary allows changes, can be specified. No DDIC external views or CDS entities can be specified.

Note



Example

Static specification of a DDIC database table in different writing statements.

Alternative 2

... (target_syntax)


Effect

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.

Note

When specified dynamically, statements can contain the comment characters * and " as follows:

  • In a dynamic token specified as a character-like data object, all content is ignored from the first comment character ".
  • In a dynamic token specified as an internal table, all rows are ignored that start with the comment character *. In the row, all content is ignored from the first comment character ".

Example

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.






CPI1466 during Backup   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 4492 Date: 20240420 Time: 064249     sap01-206 ( 68 ms )