Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPEXEC_LITERAL - EXEC LITERAL

ABAPEXEC_LITERAL - EXEC LITERAL

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
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.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.

Length: 1376 Date: 20230208 Time: 171646     sap01-206 ( 30 ms )