SAP ABAP ONLINE TRAINING IN HYDERABAD

        Sap abap over view
ABAP remains for Advanced Business Application Programming, a 4GL (fourth era) dialect. As of now it is situated, alongside Java, as the primary dialect for SAP application server programming.

We should begin with the abnormal state design of SAP framework. The 3-level Client/Server design of an ordinary SAP framework is delineated as takes after.

3-level Client/Server Architecture

The Presentation layer comprises of any info gadget that can be utilized to control SAP framework. This could be a web program, a cell phone et cetera. All the focal handling happens in Application server. The Application server is not only one framework in itself, but rather it can be different occasions of the handling framework. The server speaks with the Database layer that is normally continued a different server, fundamentally for execution reasons and furthermore for security. Correspondence occurs between each layer of the framework, from the Presentation layer to the Database and afterward go down the chain.


ABAP programs live inside the SAP database. They execute under the control of the runtime framework that is a piece of the SAP bit. The run-time framework forms all ABAP proclamations, controlling the stream rationale and reacting to client occasions.

Along these lines, dissimilar to C++ and Java, ABAP programs are not put away in partitioned outside records. Inside the database, ABAP code exists in two structures −

Source code that can be seen and altered with the ABAP workbench apparatuses.
Created code, which is a double portrayal. In the event that you know about Java, this produced code is to some degree similar with Java byte code.

The run-time framework can be considered as a virtual machine, only like Java virtual machine. A key part of the ABAP run-time framework is the database interface that turns database autonomous proclamations (Open SQL) into the announcements comprehended by the basic database (Native SQL). SAP can work with a wide assortment of databases and the same ABAP program can keep running on those.

1.       SAP ABAP - Environment

Reports are a decent beginning stage for acclimating yourself with general ABAP standards and instruments. ABAP reports are utilized as a part of numerous regions. In this part, we will perceive that it is so natural to compose a straightforward ABAP Report.

Hi ABAP

How about we begin with the basic "Hi World" case.

Each ABAP articulation begins with an ABAP watchword and finishes with a period. Watchwords must be isolated by no less than one space. It doesn't make a difference regardless of whether you utilize one or a few lines for an ABAP proclamation.

You have to enter your code utilizing the ABAP Editor that is a piece of ABAP Tools conveyed with the SAP NetWeaver Application Server ABAP (otherwise called 'AS ABAP').

'AS ABAP' is an application server with its own particular database, ABAP run-time condition, and ABAP advancement devices, for example, ABAP Editor. The AS ABAP offers an improvement stage that is autonomous of equipment, working framework, and database.

Utilizing the ABAP Editor

Step 1 − Start the exchange SE38 to explore to the ABAP Editor (talked about in the following part). How about we begin making a report that is one of the numerous ABAP objects.

Step 2 − On the underlying screen of the supervisor, determine the name of your report in the information field PROGRAM. You may determine the name as ZHELLO1. The first Z is critical for the name. Z guarantees that your report dwells in the client namespace.

The client namespace incorporates all articles with the prefix Y or Z. It is constantly utilized when clients or accomplices make objects (like an answer) to separate these articles from objects of SAP and to avoid name clashes with objects.

Step 3 − You may sort the report name in bring down case letters, yet the supervisor will transform it to capitalized. So the names of ABAP objects are "Not" case touchy.

Step 4 − After indicating the name of the report, tap the CREATE catch. A popup window ABAP: PROGRAM ATTRIBUTES will fly up and you will give more data about your report.

Step 5 − Choose "Executable Program" as the report sort, enter the title "My First ABAP Report" and after that select SAVE to proceed. The CREATE OBJECT DIRECTORY ENTRY window will fly up next. Select the catch LOCAL OBJECT and the popup will close.

You can finish your first report by entering the WRITE explanation beneath the REPORT proclamation, so that the entire report contains only two lines as takes after −

REPORT ZHELLO1.

Compose 'Hi World'.

Beginning the Report

We can utilize the console (Ctrl + S) or the spare symbol (right hand side close to the order field) to spare the report. ABAP improvement happens in AS ABAP.

Beginning the report is as straightforward as sparing it. Tap the ACTIVATION catch (left hand side by the begin symbol) and begin the report by utilizing the symbol DIRECT PROCESSING or the F8 work key. The title "My First ABAP Report" alongside the yield "Hi World" is shown too. Here is the yield −

My First ABAP Report

Hi World

For whatever length of time that you don't enact another report or initiate a change to a current report, it is not applicable to their clients. This is vital in a focal advancement condition where you may deal with objects that different engineers use in their tasks.

Review the Existing Code

On the off chance that you take a gander at the field Program and double tap on the esteem ZHELLO1, the ABAP manager will show the code for your report. This is called Forward Navigation. Double tapping on a question's name opens that protest in the proper apparatus.

SAP ABAP - Screen Navigation

So as to comprehend SAP ABAP, you need essential information of screens like Login, ABAP Editor, Logout et cetera. This section concentrates on screen route and the standard toolbar usefulness.

Login Screen

After you sign on to SAP server, SAP login screen will provoke for User ID and Password. You have to give a legitimate client ID and Password and press Enter (the client id and secret key is given by framework head). Taking after is the login screen.

SAP Login Screen

Toolbar Icon

Taking after is the SAP screen toolbar.

SAP Screen Toolbar

Menu Bar − Menu bar is the top line of discourse window.

Standard Toolbar − Most standard capacities, for example, Top of Page, End of Page, Page Up, Page Down and Save are accessible in this toolbar.

Title Bar − Title Bar shows the name of the application/business prepare you are as of now in.

Application Toolbar − Application particular menu choices are accessible here.

Charge Field − We can begin an application without exploring through the menu exchanges and some intelligent codes are alloted to business forms. Exchange codes are entered in the order field to specifically begin the application.

ABAP Editor

You may simply begin the exchange SE38 (enter SE38 in Command Field) to explore to the ABAP Editor.

ABAP Editor

Standard Keys and Icons

Exit keys are utilized to leave the program/module or to log off. They are likewise used to backpedal to the last got to screen.

Taking after are the standard exit keys utilized as a part of SAP as appeared in the picture.

Standard Keys Icons

Taking after are the alternatives for checking, enacting and handling the reports.

Initiating and Processing Reports

Log Off

It's dependably a decent practice to Exit from your ABAP Editor or/and logoff from the SAP framework in the wake of completing your work.

ABAP Editor Logoff

SAP ABAP - Basic Syntax

Articulations

ABAP source program comprises of remarks and ABAP articulations. Each announcement in ABAP starts with a catchphrase and closures with a period, and ABAP is "Not" case touchy.

The primary non-remark line in a program starts with the word REPORT. The Report will dependably be the principal line of any executable program made. The announcement is trailed by the program name which was made beforehand. The line is then ended with a full stop.

The language structure is −

REPORT [Program_Name].

[Statements… ].

This enables the announcement to take up the same number of lines in the editorial manager as it needs. For instance, the REPORT may resemble this −

REPORT Z_Test123_01.

Articulations comprise of a charge and any factors and choices, finishing with a period. For whatever length of time that the period shows up toward the finish of the announcement, no issues will emerge. It is this period that imprints where the announcement wraps up.

How about we compose the code.

Hanging in the balance beneath the REPORT articulation, simply sort this announcement: Write 'ABAP Tutorial'.

REPORT Z_Test123_01.

Compose 'This is ABAP Tutorial'.

Four things to consider while composing proclamations −

The compose proclamation composes whatever is in quotes to the yield window.

The ABAP editorial manager changes over all content to capitalized with the exception of content strings, which are encompassed by single quotes.

Dissimilar to some more seasoned programming dialects, ABAP does not mind where an announcement starts on a line. You may exploit this and enhance the decipherability of your program by utilizing space to demonstrate squares of code.

ABAP has no confinements on the format of explanations. That is, different articulations can be put on a solitary line, or a solitary proclamation may extend over numerous lines.

Colon Notation

Back to back proclamations can be anchored together if the start of every announcement is indistinguishable. This is finished with the colon (:) administrator and commas, which are utilized to end the individual explanations, much as periods end typical articulations.

Taking after is a case of a program that could spare some key stroking −

Compose 'Hi'.

Compose 'ABAP'.

Compose 'World'.

Utilizing the colon documentation, it could be reworked along these lines −

Compose: 'Hi',

'ABAP',

'World'.


Like some other ABAP articulation, the design doesn't make a difference. This is an equall

Comments