1. SAP Glossary
  2. ABAP Runtime Environment
  3. character-like time literal


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


SAP Term: character-like time literal

  • Component: BC-ABA

  • Component Name: ABAP Runtime Environment

  • Description: Character literal of the type character-like time field from Release 8. 0. Only typed character-like time literals are available.


Smart SAP Assistant

  • Key Concepts: 
    A character-like time literal is a type of SAP term used in the ABAP Runtime Environment (BC-ABA). It is a string of characters that represent a specific time value. The literal consists of two parts: the date and the time. The date is represented by four digits for the year, two digits for the month, and two digits for the day. The time is represented by two digits for the hour, two digits for the minutes, and two digits for the seconds. 
    
    How to use it: 
    Character-like time literals are used to represent a specific time value in ABAP programs. To use them, you must first declare a variable with the type ‘D’ (date) or ‘T’ (time). Then you can assign a character-like time literal to this variable. For example, if you want to assign the value ‘20200101120000’ to a variable called ‘my_time’, you would write ‘my_time = ‘20200101120000’. 
    
    Tips & Tricks: 
    When using character-like time literals, it is important to remember that they are always in UTC (Coordinated Universal Time). This means that if you are in a different time zone, you will need to adjust your values accordingly. Additionally, when assigning values to variables, make sure that you use single quotes around the literal. 
    
    Related Information: 
    For more information on character-like time literals and other SAP terms, please refer to the official SAP documentation. Additionally, there are many online resources available that provide tutorials and examples of how to use these terms in ABAP programs.
    • 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
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker