Ansicht
Dokumentation

ABAPEXEC_LITERAL - EXEC LITERAL

ABAPEXEC_LITERAL - EXEC LITERAL

BAL Application Log Documentation   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

- Literals

... ${ $[+$|-$]n$[n$[n$[...$]$]$]
    $| 'c$[c$[c$[...$]$]$]' $| `$[c$[c$[c$[...$]$]$]$]` $} ...


Effect

Appropriate literals can be specified in ABAP syntax at suitable read positions in embedded Native SQL statements.

The literal operator cannot be used in static Native SQL.

Note

As it is common in ABAP, trailing blanks are truncated in text field literals.

Example

Reading of a row from the database table SPFLI using static Native SQL. The required row is specified using literals. The target range of the INTO clause is specified as a host variable. If a row was found, sy-subrc is set to 0, otherwise it is set to 4.






BAL_S_LOG - Application Log: Log header data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 1376 Date: 20240423 Time: 231832     sap01-206 ( 22 ms )