SlideShare a Scribd company logo
4
Most read
7
Most read
15
Most read
User-exit Training
INTRODUCTION

Customization and enhancement becomes needed when the customer has
 certain requirements that is not in place in SAP. Hence, SAP allows the
 customer to change the system accordingly and add functionality to the SAP
 system.


SAP created customer exits for specific programs, screens and menus within
 standard R/3 applications.
• Why do we need to use Exits?
 – You should use them because they do not affect the SAP source code but will still allow
   you to change the functionality of SAP to suit your needs. SAP has provided us with
   some standard exits that we could modify by adding our own functionality to them. The
   code and screens you create are encapsulated as separate objects. When you create
   Exits, they are encapsulated as separate objects.
 – Since they do not affect the source code and are named as per SAP naming
   conventions, the do affect future software upgrades. Hence, you do not have to save
   them and then re-enter add-ons attached to exits.
How to find a User-exit

There are several ways to find a User-exit. Below are some steps:
A.
 1. Go to the SAP standard transaction where you want to place a customized exit. Then
    from the menu bar, click System>status, then double click the program name. Then Go
    to Attributes, then get the Package or Development Class.
 2. Go to Tcode CMOD, then from the menu bar, click Utilities>SAP Enhancements.
 3. Enter the Development class you copied from Step 1, then click Execute. There you will
    find the user-exit.
B.
 1. Search for CALL CUSTOMER-FUNCTION and/or CALL CUSTOMER-EXIT in the
    program source code.
C.
 1. Go to SE37, Input EXIT_<Program Name>_* then press F4.
D.
 1. Attached is a program source code to find the user-exits involved in a transaction code.

                                                                    Microsoft Word
                                                                      Document
TYPES OF EXITS

1. Function Module Exits
2. Menu Exits
3. Screen Exits
4. Field Exit
Function Module Exits

Function Module Exits are the most common type of User Exits you will ever
 encounter in SAP. From its name, they are called via a Function Module, and the
 codes are written in an Include program. Let’s create a sample Project.
First, go to tcode CMOD, enter a Project name then click Create.
Enter a meaningful description, then click Enhancement assignments.




Enter the User-exit in the Field (assuming you’ve already found the exit) then click
 the Save button. Then click the Components button afterwards.
Double click on the Function Module Exit and it will lead you to its source code.
 You will now see the Include program. Double click it, and click Create. (If there’s
 a warning message, just hit ENTER)




Add e_kunnr = ‘2155’ to the source code then save the Include, then activate the
 Project.
Sold-to-party is automatically ‘2155’.
MENU EXITS

Using the menu exits, you can add menu items to the menus of standard R/3
   Applications.
The Menu Exit entries have function codes that begin with + (plus sign).
Example steps on how to create an Exit for an Area Menu.
•   Go to TCODE SE43.
•   Type S000 in Area Menu Field then click the Change button. Ignore all
    warnings and choose your login Language.
•   Go to SAP R/3>Office>Double click Customer Function
4. As you can see, the transaction code assigned to this customer function is
  +C01. Now, you must create the transaction code +C01 and assign a program to
  it.




5. To create Transactions, go to TCODE SE93. Put +C01 as Transaction Code,
  then assign a program. In my example, I assigned ZJAYSON as the program.
User exit training
Customer Function now added to Area Menu S000. Tcode +C01 calls program
 ZJAYSON.




For Menu Exits that involves menus of R/3 Applications in ECC6, it is now part of
 BADI Enhancements.
SCREEN EXITS

Screen Exits defines special areas called Subscreens within a screen. Using
 screen exits you can add subscreens to the screens within R/3 Applications.
To modify the exits, just follow the steps written in the Function Module Exit part of
 this presentation. We will use User-exit COOMKA01. You should be able to see
 the screen below. I named the project ZCOEXIT.




Double Click on the screen Number 999
Input a meaningful description in the Attributes tab, and choose subscreen as
  screen type, then click the Layout button. Add one Label and one Text field in
  the screen. Click Activate afterwards.




We will also need to Activate structure CI_CSKB. Double click it also, then add a
 custom field.
Save and activate the structure, then activate the Project. Run tcode KA03 and
 let’s see what happens.
Now we can see our fields in the Addnl Fields tab in KA03. To input code, we have
 to modify the PBO and PAI section of the subscreen.
FIELD EXITS

Field Exits are no longer created via CMOD in higher versions of SAP. This is
    covered in BADIs.
But the main use of Field Exits is for customers to add customized code when the
   user interacts with a certain Field in SAP, like hitting Enter upon entry of data.
   This is useful for validation purposes.
Questions?
User-exit Training
Thank you
User-exit Training

More Related Content

What's hot (20)

PPT
Internal tables
Jibu Jose
 
PDF
Abap reports
Milind Patil
 
PDF
Bapi step-by-step
mateenjambagi
 
PPTX
SAP Modularization techniques
Jugul Crasta
 
DOCX
Badis
Rajesh Kumar
 
PPT
ABAP Programming Overview
sapdocs. info
 
PDF
Ooabap notes with_programs
Kranthi Kumar
 
DOCX
OOPS ABAP.docx
JayantaPatra16
 
PDF
BADI IMPLEMENTATION.pdf
ssuser08365f
 
PPTX
Oops abap fundamental
biswajit2015
 
PDF
Introducing enhancement framework.doc
Kranthi Kumar
 
DOCX
Field symbols
skumar_sap
 
PDF
Smartforms interview questions with answers
Uttam Agrawal
 
PDF
Table maintenance generator and its modifications
scribid.download
 
PDF
Sap sapscripts tips and tricks
Kranthi Kumar
 
PPT
ABAP Message, Debugging, File Transfer and Type Group
sapdocs. info
 
PPT
Ab1011 module pool programming
Satheesh Kanna
 
PDF
Dialog programming ABAP
Jefferson Mutuva
 
PPTX
Reports
Jugul Crasta
 
PPT
Alv theory
Phani Kumar
 
Internal tables
Jibu Jose
 
Abap reports
Milind Patil
 
Bapi step-by-step
mateenjambagi
 
SAP Modularization techniques
Jugul Crasta
 
Badis
Rajesh Kumar
 
ABAP Programming Overview
sapdocs. info
 
Ooabap notes with_programs
Kranthi Kumar
 
OOPS ABAP.docx
JayantaPatra16
 
BADI IMPLEMENTATION.pdf
ssuser08365f
 
Oops abap fundamental
biswajit2015
 
Introducing enhancement framework.doc
Kranthi Kumar
 
Field symbols
skumar_sap
 
Smartforms interview questions with answers
Uttam Agrawal
 
Table maintenance generator and its modifications
scribid.download
 
Sap sapscripts tips and tricks
Kranthi Kumar
 
ABAP Message, Debugging, File Transfer and Type Group
sapdocs. info
 
Ab1011 module pool programming
Satheesh Kanna
 
Dialog programming ABAP
Jefferson Mutuva
 
Reports
Jugul Crasta
 
Alv theory
Phani Kumar
 

Viewers also liked (18)

PPT
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
Garuda Trainings
 
DOC
SAP ABAP Material
renterpserver
 
DOCX
Prashant sap abap developer
Prashant Singh
 
PPTX
SAP BADI Implementation Learning for Functional Consultant
Ankit Sharma
 
PPT
Yash technologies interview questions and answers
GarySpeed1234
 
PDF
Manikanta Sai Kumar Karri SAP ABAP and OO ABAP 3 Years.doc
manikanta sai kumar karri
 
DOC
Scenario on business transaction events
Kranthi Kumar
 
PDF
Sap fico Study material
Habeeb Rahman
 
DOC
Sap MM-configuration-step-by-step-guide
Venet Dheer
 
DOC
Create customer master
sreerama prasad
 
PPT
Sap customer account_groups_vs_sap_partner_functions (2)
knani90
 
PDF
The simplification of the vendor master record
Robert Ward
 
PDF
022006 zaidi badi
sandeep_ganganaboina
 
PPTX
Dot Net 串接 SAP
LearningTech
 
PDF
Dr John Dee - Communications With Spirits - Free Ebook
Chuck Thompson
 
DOC
Sap is retail manohar babu
Rathnam Bala
 
PPT
2 07 Partner Determination
naseem2117
 
PDF
Pricing Routine In Vofm
gueste6b4e7
 
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
Garuda Trainings
 
SAP ABAP Material
renterpserver
 
Prashant sap abap developer
Prashant Singh
 
SAP BADI Implementation Learning for Functional Consultant
Ankit Sharma
 
Yash technologies interview questions and answers
GarySpeed1234
 
Manikanta Sai Kumar Karri SAP ABAP and OO ABAP 3 Years.doc
manikanta sai kumar karri
 
Scenario on business transaction events
Kranthi Kumar
 
Sap fico Study material
Habeeb Rahman
 
Sap MM-configuration-step-by-step-guide
Venet Dheer
 
Create customer master
sreerama prasad
 
Sap customer account_groups_vs_sap_partner_functions (2)
knani90
 
The simplification of the vendor master record
Robert Ward
 
022006 zaidi badi
sandeep_ganganaboina
 
Dot Net 串接 SAP
LearningTech
 
Dr John Dee - Communications With Spirits - Free Ebook
Chuck Thompson
 
Sap is retail manohar babu
Rathnam Bala
 
2 07 Partner Determination
naseem2117
 
Pricing Routine In Vofm
gueste6b4e7
 
Ad

Similar to User exit training (20)

PPT
User-Exits.ppt
GaneshP820675
 
PPT
User Exits
subhashkaridhal
 
PPTX
11 Enhancements & Modifications.pptx
SaiRahulReddy4
 
PDF
Sap standard Enhancement UserExits tutorials
AnkurJain276047
 
PPT
enhancements.ppt
veerendra kumar
 
PDF
Find out userexits in sap
Dau Thanh Hai
 
PDF
Userexit%29badi
romeo12345
 
PDF
How to find user exits
Mohammed Shoeb
 
PDF
Sap basis administration handbook
blackgoldboy
 
DOC
User exits
anilkv29
 
DOC
BIN-ITPD-2100.04c User Reference Manual FI Module Banking
Sheila Andaya
 
DOC
Srinivas_Ganta_IBM_INDIA1
srinivas ganta
 
PDF
Cool Functionality and Workarounds to Make Your Life Easier - JD Edwards World
NERUG
 
PDF
Sap short cuts
Rajesh Dhan
 
PPTX
Sap Tips and Tricks Training for End user
Arghadip Kar
 
PPTX
WELCOME_To_SAP_overview_Presentation.pptx
siva777686
 
PPTX
WELCOME_To_SAP_overview_Presentation.pptx
siva777686
 
PPT
Accounts Receivable_2011-5-13 17-5-16117.PPT
AliAbdallah85
 
PDF
Sap step-by-step-navigation-guide-for-beginners
Hossam Abdo
 
PDF
Sap transaction-codes-list
Raj p
 
User-Exits.ppt
GaneshP820675
 
User Exits
subhashkaridhal
 
11 Enhancements & Modifications.pptx
SaiRahulReddy4
 
Sap standard Enhancement UserExits tutorials
AnkurJain276047
 
enhancements.ppt
veerendra kumar
 
Find out userexits in sap
Dau Thanh Hai
 
Userexit%29badi
romeo12345
 
How to find user exits
Mohammed Shoeb
 
Sap basis administration handbook
blackgoldboy
 
User exits
anilkv29
 
BIN-ITPD-2100.04c User Reference Manual FI Module Banking
Sheila Andaya
 
Srinivas_Ganta_IBM_INDIA1
srinivas ganta
 
Cool Functionality and Workarounds to Make Your Life Easier - JD Edwards World
NERUG
 
Sap short cuts
Rajesh Dhan
 
Sap Tips and Tricks Training for End user
Arghadip Kar
 
WELCOME_To_SAP_overview_Presentation.pptx
siva777686
 
WELCOME_To_SAP_overview_Presentation.pptx
siva777686
 
Accounts Receivable_2011-5-13 17-5-16117.PPT
AliAbdallah85
 
Sap step-by-step-navigation-guide-for-beginners
Hossam Abdo
 
Sap transaction-codes-list
Raj p
 
Ad

User exit training

  • 2. INTRODUCTION Customization and enhancement becomes needed when the customer has certain requirements that is not in place in SAP. Hence, SAP allows the customer to change the system accordingly and add functionality to the SAP system. SAP created customer exits for specific programs, screens and menus within standard R/3 applications.
  • 3. • Why do we need to use Exits? – You should use them because they do not affect the SAP source code but will still allow you to change the functionality of SAP to suit your needs. SAP has provided us with some standard exits that we could modify by adding our own functionality to them. The code and screens you create are encapsulated as separate objects. When you create Exits, they are encapsulated as separate objects. – Since they do not affect the source code and are named as per SAP naming conventions, the do affect future software upgrades. Hence, you do not have to save them and then re-enter add-ons attached to exits.
  • 4. How to find a User-exit There are several ways to find a User-exit. Below are some steps: A. 1. Go to the SAP standard transaction where you want to place a customized exit. Then from the menu bar, click System>status, then double click the program name. Then Go to Attributes, then get the Package or Development Class. 2. Go to Tcode CMOD, then from the menu bar, click Utilities>SAP Enhancements. 3. Enter the Development class you copied from Step 1, then click Execute. There you will find the user-exit. B. 1. Search for CALL CUSTOMER-FUNCTION and/or CALL CUSTOMER-EXIT in the program source code. C. 1. Go to SE37, Input EXIT_<Program Name>_* then press F4. D. 1. Attached is a program source code to find the user-exits involved in a transaction code. Microsoft Word Document
  • 5. TYPES OF EXITS 1. Function Module Exits 2. Menu Exits 3. Screen Exits 4. Field Exit
  • 6. Function Module Exits Function Module Exits are the most common type of User Exits you will ever encounter in SAP. From its name, they are called via a Function Module, and the codes are written in an Include program. Let’s create a sample Project. First, go to tcode CMOD, enter a Project name then click Create.
  • 7. Enter a meaningful description, then click Enhancement assignments. Enter the User-exit in the Field (assuming you’ve already found the exit) then click the Save button. Then click the Components button afterwards.
  • 8. Double click on the Function Module Exit and it will lead you to its source code. You will now see the Include program. Double click it, and click Create. (If there’s a warning message, just hit ENTER) Add e_kunnr = ‘2155’ to the source code then save the Include, then activate the Project.
  • 10. MENU EXITS Using the menu exits, you can add menu items to the menus of standard R/3 Applications. The Menu Exit entries have function codes that begin with + (plus sign). Example steps on how to create an Exit for an Area Menu. • Go to TCODE SE43. • Type S000 in Area Menu Field then click the Change button. Ignore all warnings and choose your login Language. • Go to SAP R/3>Office>Double click Customer Function
  • 11. 4. As you can see, the transaction code assigned to this customer function is +C01. Now, you must create the transaction code +C01 and assign a program to it. 5. To create Transactions, go to TCODE SE93. Put +C01 as Transaction Code, then assign a program. In my example, I assigned ZJAYSON as the program.
  • 13. Customer Function now added to Area Menu S000. Tcode +C01 calls program ZJAYSON. For Menu Exits that involves menus of R/3 Applications in ECC6, it is now part of BADI Enhancements.
  • 14. SCREEN EXITS Screen Exits defines special areas called Subscreens within a screen. Using screen exits you can add subscreens to the screens within R/3 Applications. To modify the exits, just follow the steps written in the Function Module Exit part of this presentation. We will use User-exit COOMKA01. You should be able to see the screen below. I named the project ZCOEXIT. Double Click on the screen Number 999
  • 15. Input a meaningful description in the Attributes tab, and choose subscreen as screen type, then click the Layout button. Add one Label and one Text field in the screen. Click Activate afterwards. We will also need to Activate structure CI_CSKB. Double click it also, then add a custom field.
  • 16. Save and activate the structure, then activate the Project. Run tcode KA03 and let’s see what happens.
  • 17. Now we can see our fields in the Addnl Fields tab in KA03. To input code, we have to modify the PBO and PAI section of the subscreen.
  • 18. FIELD EXITS Field Exits are no longer created via CMOD in higher versions of SAP. This is covered in BADIs. But the main use of Field Exits is for customers to add customized code when the user interacts with a certain Field in SAP, like hitting Enter upon entry of data. This is useful for validation purposes.