Essential   SAP ABAP TutorialCreating a Function Module      By Jason Thom            1                Copyrighted 2012 by...
Tutorial Overview   Creation of a function module begins at transaction SE37 or SE80   SE37 is designed to create a func...
Using Transaction code SE37   Type in tcode SE37 in the shortcut text field and press enter or the    green check mark  ...
Creating a Function Group                  4         Copyrighted 2012 by LeverX, Inc.
Creating a Function Module                  5          Copyrighted 2012 by LeverX, Inc.
ParametersParameters include import, export, changing, and tables:Import: these are pulled from the program being used and...
Screenshot of ParametersNote: Import, Export, Changing, and Table parameter screens aresimilar in view:                   ...
Source codeSample SourceCode:                8   Copyrighted 2012 by LeverX, Inc.
Contact InformationPlease contact us for more information about our services or solutions available.                      ...
Upcoming SlideShare
Loading in …5
×

LeverX SAP ABAP Tutorial Creating Function Modules

1,741 views
1,510 views

Published on

SAP Function modules are procedures that are defined in special ABAP programs only, so-called function groups, but can be called from all ABAP programs. Function groups act as containers for function modules that logically belong together. You create function groups and function modules in the ABAP Workbench using the Function Builder.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,741
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
35
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

LeverX SAP ABAP Tutorial Creating Function Modules

  1. 1. Essential SAP ABAP TutorialCreating a Function Module By Jason Thom 1 Copyrighted 2012 by LeverX, Inc.
  2. 2. Tutorial Overview Creation of a function module begins at transaction SE37 or SE80 SE37 is designed to create a function module while giving the option to create a function group SE80 is for advanced users and can create and view many other objects I will describe the use of transaction code SE37 in this presentation First, you need to create a function group using the menu bar. Then you need to create the function module for the function group using the main screen. To complete the process, the user can use the import, export, changing, or tables parameters and enter the main code under the source code tab. 2 Copyrighted 2012 by LeverX, Inc.
  3. 3. Using Transaction code SE37 Type in tcode SE37 in the shortcut text field and press enter or the green check mark Select ‘Goto’ -> Function Groups -> Create Group Enter a function group and short text, then if you need to you can change the person responsible Click save Select the package to use, or select ‘save as local object’ 3 Copyrighted 2012 by LeverX, Inc.
  4. 4. Creating a Function Group 4 Copyrighted 2012 by LeverX, Inc.
  5. 5. Creating a Function Module 5 Copyrighted 2012 by LeverX, Inc.
  6. 6. ParametersParameters include import, export, changing, and tables:Import: these are pulled from the program being used and used in thefunction module (FM)Export: These are taken from the function module and used in theprogram where the FM was calledChanging: Can be used for both importing and exporting parametersTables: Are used for internal tables that can be both importing orexporting parameters 6 Copyrighted 2012 by LeverX, Inc.
  7. 7. Screenshot of ParametersNote: Import, Export, Changing, and Table parameter screens aresimilar in view: 7 Copyrighted 2012 by LeverX, Inc.
  8. 8. Source codeSample SourceCode: 8 Copyrighted 2012 by LeverX, Inc.
  9. 9. Contact InformationPlease contact us for more information about our services or solutions available. LeverX, Inc. 800 West El Camino Real, Suite 180 Mountain View, CA 94040 USA Tel: (650) 625 – 8347 Web Site: www.LeverX.com 9 Copyrighted 2012 by LeverX, Inc.

×