Skip to Content
Author's profile photo Former Member

SAP ABAP/4 :: Beginners Guide

ABAP stands for Advanced Business Application Programming.

It is a programming language developed by SAP.

  • ABAP is not case sensitive.
  • WRITE is the keyword to print on screen

Example:-

WRITE ‘Hello ABAP!’.

Chained statements.

If consecutive statements have identical part at the beginning, then you can chain these statements into a single statement.

First write the identical part once and then place a colon (:). Then write the remaining parts of the individual statements separated by commas.

Example – Normal Statements:-

WRITE ‘Hello’.

WRITE ‘ABAP’.

The Above statement can be written in Chained Statement as,

WRITE: ‘Hello’, ‘ABAP’.

If you want to print the texts in new line, then you can place(/).

WRITE: ‘Hello’,/, ‘ABAP’.

The above statement will print ‘Hello’ in one line and ‘ABAP’ in another line.


Comments.If you want to make the entire line as comment, then enter asterisk (*) at the beginning of the line. You can also use (Ctrl + < ) to add and (Ctrl + >) to remove a comment.

Example:-


* This is a ABAP Comment line

If you want to make a part of the line as comment, then enter double quote (“) before the comment.

Example:-

WRITE ‘This is a Comment’.   “Start of comment

Some of the useful transaction codes for ABAP developers.

Sl. No T Code Description
1 SE11 ABAP Data Dictionary
2 SE16 Data Browser
3 SE37 Function Builder
4 SE38 ABAP Editor
5 SA38 Execute ABAP Program Directly
6 SE41 Menu Painter
7 SE51 Screen Painter
8 SE71 SAP Script Layout
9 SE80 ABAP Workbench
10 SE91 Message Maintenance
11 SE93 Maintain Transaction

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.