Date formatting for Display in ABAP Program

Function module FORMAT_DATE_4_OUTPUT comes in handy in case we need simple formatting on date. Formatting which involves change in position day, month and year, changing the separator we can achieve with this...

ABAP Program to add Colors in ALV Grid

Normally, there are requirements to display set of rows differently based to certain conditions in ALV. To distinguish them easily, in a one go, we can add colors to the rows(based...

Displaying Icons in ALV Grid using ABAP

The following code adds an icon (exclamation) to the ALV grid/list. It also includes the code for adding hot-spot to ALV column. Program Code REPORT ZICON_IN_ALV. ************************************************************************ * Include Programs ************************************************************************ *INCLUDE . ************************************************************************ * Database Tables ************************************************************************ TABLES: kna1....
Tcode Smartforms

Formatting SAPScript / SMARTFORMS in SAP

There are few formatting options available in SAP for text formatting in SAPScript as well as Smartforms. Following are the few useful formatting options: Offset N left-most characters of the symbol value will not...

Difference between “‘” and “`” in ABAP

A basic difference: still I find that most of the programmer hardly uses string literal. String literal is generally a forgotten case. A character sequence within single quote characters (') is a char literal,...