Hi,
AMEKS Infotech is one of the best SAP Training institute in chennai since 2009. Course covering All advanced concepts and Trainers coming from the MNC companies so that you can get indepth knowledge. Contact for Free Demo Class @ 9500053056 / 37
2. Eligibility to Lear n SAP ABAP
B
asic criteria:
Education : UG/ PG Degree
Skills : Programming Knowledge
W Can L
ho
earn:
Fresher
Professionals working in other Domain
SAP Consultants working in other Modules
3. About SAP ABAP
ABAP (Advanced Business Application Programming) is the
programming language used by SAP developers to build
transactions that make up the R/3 application. Its also used by
companies to customize the R/3 application i.e. providing additional
business functionality.
It is a fourth-generation programming language with some features
similar to some modern programming languages such as C, Visual
Basic and Power Builder. It allows variables to be defined,
modulation of programs via subroutines and function calls, access to
the database via open SQL and some event-oriented programming.
The New concepts are OO ABAP, Webdynpro and etc..
4. T he Major Common Uses of ABAP/4
Custom reports – a program that reads specific data from the
database and then displays the data via the computer screen or
printer. The purpose of a report is to read data from the database
and write it out.
Interface – a program that moves data into SAP – BDC
Custom Transaction – a program similar to SAP transactions to fulfill
some business function not provided by SAP – Dialog Programming
5. Sample Pr og r am in ABAP/4
One of main job of an ABAPer is create ABAP report.
Report content 4 basic component.
1. Data declaration
2. Selection screen.
3. Select Data.
4. Write Report.
I assume you already familiar with Data dictionary. For an example, we have a table
"SFLIGHT", with following fields:
1. CARRID (Airline carrier ID)
2. CONNID (Flight connection Id)
3. FLDATE (Flight date).
4.SEATSMAX (Maximum capacity).
We wan to create a report that can be filtered based on Airline carrier ID and Flight
connection Id.
Go to transaction code SE38 (SAP Menu->Tools>ABAP Workbench->Development>ABAP Editor), enter program name with prefix Z, for example ZTEST0001, then choose
"Create" button.
7. Sample Pr og r am in ABAP/4
Then, enter title for program, and choose 1 "Executable Program" for
program type. If screen input for development class appear, click "Local
Object".
Then, go to following steps.
1. Data declaration
TABLES: sflight.
DATA: BEGIN OF t_report OCCURS 3,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
seatsmax LIKE sflight-seatsmax,
END OF t_report.
8. Sample Pr og r am in ABAP/4
2. Selection screen
SELECT-OPTIONS s_carrid FOR sflight-carrid.
SELECT-OPTIONS s_connid FOR sflight-connid.
It will generate selection screen like picture below.
9. Sample Pr og r am in ABAP/4
3. Select data
SELECT * FROM sflight
WHERE carrid IN s_carrid AND
connid IN s_connid.
t_report-carrid = sflight-carrid.
t_report-connid = sflight-connid.
t_report-fldate = sflight-fldate.
t_report-seatsmax = sflight-seatsmax.
APPEND t_report.
ENDSELECT.
IF sy-subrc NE 0. "sy-subrc = return code
WRITE 'Data not found'.
ENDIF.
10. Sample Pr og r am in ABAP/4
4. Write data
LOOP AT t_report.
skip. "comment:Go to next line
WRITE t_report-carrid.
WRITE t_report-connid.
WRITE t_report-fldate.
WRITE t_report-seatsmax.
ENDLOOP.
12. Sample Pr og r am in ABAP/4
Here is the complete program:
REPORT ZTEST0001 .
*Data Declaration
tables: sflight.
DATA: BEGIN OF t_report OCCURS 3,
carrid LIKE sflight-carrid,
connid LIKE sflight-connid,
fldate LIKE sflight-fldate,
seatsmax LIKE sflight-seatsmax,
END OF t_report.
*Selection Screen
SELECT-OPTIONS s_carrid FOR sflight-carrid.
SELECT-OPTIONS s_connid FOR sflight-connid.
13. Sample Pr og r am in ABAP/4
Here is the complete program:
*Get Data
SELECT * FROM sflight
WHERE carrid IN s_carrid AND
connid IN s_connid.
t_report-carrid = sflight-carrid.
t_report-connid = sflight-connid.
t_report-fldate = sflight-fldate.
t_report-seatsmax = sflight-seatsmax.
APPEND t_report.
ENDSELECT.
IF sy-subrc NE 0.
WRITE 'Data not found'.
ENDIF.
*Write Data
LOOP AT t_report.
skip. "comment:Go to next line
WRITE t_report-carrid.
WRITE t_report-connid.
WRITE t_report-fldate.
WRITE t_report-seatsmax.
ENDLOOP.
14. Topics Cover ed in ABAP/4
ABAP Dictionary
ABAP Programming Basics
Reports
Dialog Programs
File Handling
SAP Scripts
Smart Forms
ALE and IDOC
RFC
BABI
BADI
15. W her e we can find Oppor tunity for ABAP/4
IT Companies based in all major cities in india
CMM level IT Companies around the world
Salar y r ange for ABAP/4 Developer in India
0- 2 Years Experience 2 to 3.5 lacs per annum
2- 3 Years Experience 3.5 to 4.5 lacs per annum
4- 5 Years Experience 5 to 6+ Lacs per Annum
16. W hy AMEKS Infotech ?
E
xcellent Training S
trategy
Training by Industry E
xperts
Course structure geared to m industry requirem
eet
ents
Individual care and attention
Technical sem
inars on latest updates
R Tim P
eal
e roject E
xplanation
Valid M
aterials
100% J Assurance with our P
ob
lacem Division
ent
17. Contact Us
33/26, Jawaharlal Nehru Road,
Ekkattuthangal,
Chennai – 32.
TamilNadu.
044 43563040 / 50
info@ameksinfotech.com
Visit: www.ameksinfotech.com