ABAP CLASS 1 AND 2
ABAP CLASS 1 AND 2
SAP was invented by 5 Ex IBM employees from Germany in 1972. It was released into the market in 1990’s with
successful version of 4.5EE.(enterprise edition). Most successful version – ECC 6.0(enterprise corporate version). This
was before HANA was released.
Versions in SAP: in 1990’s 4.5EE, 4.6EE, 4.7EE…. 2005 – ECC6.0, EHP1, EHP2.
SAP R/3 : R/3 stands for real-time 3 tier architecture. That means SAP is tied with 3 servers - Presentation
server(GUI), Application Server(RAM/CPU), Database server(Hard disk).
SAP is an ERP package. ERP stands for Enterprise Resource Planning Software. It means utilizing the resources like
money, manpower, materials, etc in a more organized way for an enterprise.
SAP is integrated of multiple modules including administration, functional, technical departments. There are 60-70
modules in SAP. For Administration – BASIS, Security modules. For Functional – SD or O2C, MM or P2P, FICO, PP, PM
etc. For Technical – ABAP including of core ABAP, HR ABAP etc, CA(Cross Application), OOPS ABAP, Webdynpro,
Workflow, OData, UI5/FIORI, HANA.
SAP supports any type of OS. SAP has multiple international languages like English, French, German, Italian etc.
SAP is case insensitive except for values written in single quotes like ‘Pawan’. Rest all are case insensitive.
SAP has demo version and Product version. We will be using Demo version in the training person.
Demo version. 800 – Dev, Quality, Production all in the same client environment.
Product version - Development, Production, Quality could be in different environments(different Ips for different
clients) setup by BASIS.
In demo version we will have to ON the server ourselves by logging into SAP Management console.
In product version – SAP server will be maintained by BASIS team at the client location. We will get virtual access to
it through VPN(IP) – (username, password, OTP) or through Remote Desktop(URL).
SAP is a predefined application with 90% SAP provided applications and 10% customization which is usually done by
ABAPers.
Any object starts with the letters A-X or reserved for STD SAP.
If any customized object has to be created it has to start with the letters Y or Z. But we will always use Z in realtime
for creating custom objects based on the project guidelines(Naming Conventions).
We acquired SUDI (Select, Update, Delete, Insert) operations from SQL and datatypes concept from C.
ABAP works based on 2 ‘T’s. Both the source and destination in ABAP are Tables. Transaction code to go to desired
location in SAP.
SAP Easy Access: is the home screen once you login into SAP.
Every SAP screen has 4 sections/bars.
We use /o+TCode(don’t use + or space after o) to open a new session without closing current session.
We use /n+TCode(don’t use + or space after n) to open a new session to replace current session.
On home screen (SAP Easy Access) no need to use /n, /o commands to go to any library. Just enter the T-Code.
HELPs in SAP:
There are 2 types of HELPS available in SAP.
1) F1 – Provides application or technical help of an object. Place the cursor on the respective object and click
on F1 key, a popup will open up providing the required information. After that click on wrench & hammer
icon for technical information
2) F4 – It provides possible values(dropdown) of an object. Place the cursor on the respective object and click
on F4 key, a popup will open up with the possible values in the dropdown. Enter the first character like for
eg: M and then *….M* and click F4 and then enter. Other eg: Z*TEST*
In SAP, Double Click on any object in the data field to know more information(data definition) about that.
Messages in SAP
In SAP, there are 5 types of messages.
1) Abandon (A) – It stops the entire process without giving any information or alert. We never use this
message.
2) Error (E) – It is to stop the further processing until you clear the error. It is in RED colour.
3) Information (I) – It gives the message in the pop up in BLUE colour. It continues the process either you click
on enter or close it.
4) Success (S) – It provides the success message in GREEN colour at the bottom. Process will be continued
without any action.
5) Warning (W) – Gives a warning message in YELLOW colour. You must click on enter to proceed further.
Packages in SAP
There are 2 types of packages in SAP:
1) Local Object ($TMP) – it is used to analyse or experiment purpose to know whether or not if a use case is
working or not. These objects cannot be transported to Quality or Production systems and will remain
only in the Development system.
2) Transportable Package – We save the objects in a transportable package if you want to move the object to
Quality and Production systems. In other words, in real-time every project requirement object should be
created in Transportable package.
*** In SAP for every object we create, we must follow below 3 steps:
1) Save (Ctrls S) – to save the content up to that point so that you can revisit. Save icon same as in word.
2) Check (Ctrl F2) - (2 small boxes icon) – It validates errors or warnings (Compilation)
3) Activate (Ctrl F3) - (Candle icon) – To make the object live. If you don’t activate any object it will be dead
even if you had saved it and checked it.
All the RICEF components are dependent on DB visible to us in the form of a Table(rows x columns). In ABAP
terminology Columns are called as Fields and Rows are called as Records.
All the above elements are grouped under a single roof called Data Dictionary. To access data dictionary we
execute Transaction code SE11.
Execute SE11 -> Select Domain button -> Provide Domain name (eg: ZEMPID) -> Click on Create -> Give a Short
Description for the technical name you gave(mandatory) for every object in SAP.
Next provide Data Type(Use F4 help here) -> Provide Number of Characters(as per requirement) -> Save (save it is
a Local Object during this training period) -> Check -> Activate.
Execute SE11 -> Select Data Type button -> Provide Data Element name (eg: ZEMPID) -> Click on Create -> Give a
Short Description for the technical name you gave(mandatory) for every object in SAP.
Next provide Domain Name(created in previous step – ZEMPID) under Data Type tab – Enter – Click on Field Label
tab - Provide descriptions referring as below:
Length Description
Short 10 Emp ID
Medium 15 Employee ID
Long 20 Employee ID
Heading 20 Employee ID
-> Save (save it is a Local Object during this training period) -> Check -> Activate.
Execute SE11 -> Select Database Table button -> Provide Table Name (eg: ZEmployee) -> Click on Create -> Provide
Short Description -> Provide Delivery Class as A(always fixed) -> Select Display/Maintenance Allowed under
Delivery and Maintenance Tab -> Click on Fields Tab:
Enter 1st field as mandt, select checkboxes for Key and Initials, again enter mandt in the 1 st field under Data
element and then hit enter. The data type and element fields get reflected. It is mandatory – Sir will explain why it
is mandatory later.
Click on Save.
Click on Technical Settings button in Application Tool Bar. -> Provide Data Class as APPL0(fixed). -> Provide Size
Category as 0(fixed). -> Click on Save -> hit on Back once -> Check and Activate.