Thursday 12 August 2021

A Pocket guide for Hello World in SAP ABAP

In this blog, I will discuss What is SAP, and How to write Hello World in SAP ABAP.

SAP stands for Systems Applications and Products. SAP, by definition, is in addition to the name of the ERP (Enterprise Resource Planning) software and the name of the company. The SAP software package was established in the year 1972 in Walldorf, Germany by five IBM German employees; Wellenreuther, Hopp, Plattner, Tschira, and Hector.

The solution of SAP is a combination of various kinds of modules or applications. Every module contains a vital role to play in the basic process of the business.

Other Competitive products of SAP Software within the market are Oracle, Microsoft Dynamics, etc.

SAP ABAP Exam Prep, SAP ABAP Tutorial and Material, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Study Materials, SAP ABAP Guides, SAP ABAP Learning

What is SAP ABAP?


SAP has created a high-level programming language called Advanced Business Application Programming (ABAP). This programming language is used for customizing workflows in business industries. It also helps SAP customers to enhance their SAP-based applications. The language came into existence in 1983 as a procedural language.

HOW TO GET STARTED?


To do a code in SAP ABAP we need to install SAP Logon. After installing SAP Logon we need to add SAP Application Server to our system. After adding server Login with your username and password.

Now that you have logged into SAP SERVER it is time to create your first ABAP Program.

Step 1: Execute the Transaction Code SE38, into the Command field and press enter.

SAP ABAP Exam Prep, SAP ABAP Tutorial and Material, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Study Materials, SAP ABAP Guides, SAP ABAP Learning

Step 2: Write a program name starting with ‘Z’ or ‘Y’. Eg: ZDMOMAYANK Create it. It will ask a Short Description and Attribute Type is Executable Program as shown in below image and Save it in Local object.

SAP ABAP Exam Prep, SAP ABAP Tutorial and Material, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Study Materials, SAP ABAP Guides, SAP ABAP Learning

SAP ABAP Exam Prep, SAP ABAP Tutorial and Material, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Study Materials, SAP ABAP Guides, SAP ABAP Learning

Step 3: A window will open that is your ABAP Editor.

Step 4: Copy Paste the Code

WRITE ‘HELLO WORLD’.

How it works:

◉ The Report the keyword indicates that this program is a report or an executable program.
◉ To output a text to the screen, you use the WRITE statement with a specified string.
◉ In ABAP, every statement ends with a full-stop (.).

SAP ABAP Exam Prep, SAP ABAP Tutorial and Material, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Study Materials, SAP ABAP Guides, SAP ABAP Learning

Step 5: Save the code and Activate the program (CTRL+F3).

Step 6: Direct Processing (F8){Execuation}.

A window will pop up with the desired output of the program.

SAP ABAP Exam Prep, SAP ABAP Tutorial and Material, SAP ABAP Preparation, SAP ABAP Career, SAP ABAP Study Materials, SAP ABAP Guides, SAP ABAP Learning

Source: sap.com

No comments:

Post a Comment