Ansicht
Dokumentation

ABAPEXEC_LITERAL - EXEC LITERAL

ABAPEXEC_LITERAL - EXEC LITERAL

PERFORM Short Reference   Vendor Master (General Section)  
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.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1376 Date: 20240329 Time: 151507     sap01-206 ( 24 ms )