Title: How To Create Functional Module in SAP ABAP - SAP ABAP Training | Aspire Techsoft
1How to create function module in SAP ABAP ?
ABAP Training
www.aspireit.net
2To create function group, enter tcode SE80.
www.aspireit.net
3Select option function group and give function
group name. Then click on Display.
www.aspireit.net
4Click on YES to create function group.
www.aspireit.net
5Give short description to function group and
click on SAVE.
www.aspireit.net
6 Save it in your own package.
www.aspireit.net
7- Function group created successfully
www.aspireit.net
8To create function module, enter tcode SE37.
www.aspireit.net
9Give function module name and click on Create.
www.aspireit.net
10Give name of the function group that we have
created earlier and short description of that
function module. Then click on save.
www.aspireit.net
11Function module have various parameters such as
import, export, changing, tables, exception and
source code.
- Import - Input variables are declared here.
- Export - Output variables are declared here.
- Changing - Dynamically changing variables are
declared here. - Tables - If we want to take variables from
tables that table names are given here. - Exception - If we want to give any exception in
program, then it is provided here. - Source code - Program is written in this
section.
www.aspireit.net
12Firstly we will provide import values.
www.aspireit.net
13Then we have to provide output variables.
www.aspireit.net
14 Then changing, tables and exceptions are not
mandatory to provide. But here we are going to
provide one exception.
www.aspireit.net
15In source code we will write the program for
addition and multiplication of the two
variable A and B.
www.aspireit.net
16- Save using Ctrl S, compile using Ctrl F2 and
activate using Ctrl F3. -
- Execute using F8.
www.aspireit.net
17It will first ask to enter values. Enter the
values and click on execute.
www.aspireit.net
18The output will be,
www.aspireit.net
19Thank You
- Learn SAP ABAP and get your dream job in SAP
industry - Visit www.aspireit.net or call us on 7058198728
/ 8856033664 - Online / Classroom Training
- Placement Assistance
- Interview Job alerts
- Mock Test and Interviews
- Resume Preparation
- Experienced Industrial Trainers
www.aspireit.net