1. SAP Glossary
  2. ABAP Runtime Environment
  3. character literal


What is character literal in SAP BC-ABA - ABAP Runtime Environment?


SAP Term: character literal

  • Component: BC-ABA

  • Component Name: ABAP Runtime Environment

  • Description: Also text literal. Literal that has a character-type data type and whose value is a character string.


Smart SAP Assistant

  • Key Concepts: 
    A character literal is a type of literal in SAP ABAP programming language. It is a sequence of characters enclosed in single quotation marks. It can be used to represent a single character or a string of characters. 
    
    How to use it: 
    Character literals can be used in various ABAP statements such as SELECT, WHERE, and IF. For example, the following statement will select all records from the table where the field ‘name’ contains the character literal ‘John’: SELECT * FROM table WHERE name = ‘John’. 
    
    Tips & Tricks: 
    When using character literals, it is important to remember that they are case-sensitive. For example, ‘John’ and ‘john’ are two different character literals. 
    
    Related Information: 
    Character literals are just one type of literal in SAP ABAP programming language. Other types of literals include numeric literals, date literals, and time literals.
    • Do you have any question about this SAP term?


      Upgrade now to chat with this SAP term.

Related SAP Glossary Terms

Click the links below to see the following related SAP glossary terms:
Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author