cancel
Showing results for 
Search instead for 
Did you mean: 

User exit

Former Member
0 Kudos

Can anyone help me with the concept of user exit flow

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

User exits are hooks in standard SAP code, which allow you to add functionality. The positioning of these exits has been defined by SAP, so often you can't find one where you need it!

If you are looking at the procedure to create an user-exit, then the following information will help you out.

Using Project management of SAP Enhancements, we can create a project to enhance transaction VA01 .

- Go to transaction CMOD

- Create a project called ZVA01

- Choose the Enhancement assign radio button and press the Change button

In the first column enter V45A0002 (It has be already created by SAP)Predefine sold-to party in sales document.

<b>Note that an enhancement can only be used in only in 1 project.</b>If the enhancement is already in use, and error message will be displayed

Press Save.

Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.

Now the function module is displayed.

FUNCTION EXIT_SAPMV45A_002.

*"----


""Lokale Schnittstelle:

*" IMPORTING

*" VALUE(I_TVAK) LIKE TVAK STRUCTURE TVAK

*" VALUE(I_TVTA) LIKE TVTA STRUCTURE TVTA

*" VALUE(I_VKGRP) LIKE VBAK-VKGRP

*" VALUE(I_VKBUR) LIKE VBAK-VKBUR

*" EXPORTING

*" VALUE(E_KUNNR) LIKE KNA1-KUNNR

*"----


INCLUDE ZXVVAU04 .

ENDFUNCTION.

Double click on include ZXVVAU04 in the function module

Insert the following code into the include: E_KUNNR = '2155'.

Activate the include program. Go back to CMOD and activate the project.

Goto transaction VA01 and create a salesorder.

Note that Sold-to-party now automatically is "2155"

Reward if this helps.

Regards

Sayee

Message was edited by:

Sayee Manojnah Kasala

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks guys

Former Member
0 Kudos

hi,

hi

USER EXITS->

1. Introduction:

User exits (Function module exits) are exits developed by SAP.

The exit is implementerd as a call to a functionmodule.

The code for the function module is writeen by the developer.

You are not writing the code directly in the function module,

but in the include that is implemented in the function module.

The naming standard of function modules for functionmodule exits is:

EXIT_<program name><3 digit suffix>

The call to a functionmodule exit is implemented as:

CALL CUSTOMER.-FUNCTION ❤️ digit suffix>

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

CUSTOMER EXITS-> t-code CMOD.

As of Release 4.6A SAP provides a new enhancement technique, the Business Add-Ins.

Among others, this enhancement technique has the advantage of

being based on a multi-level system landscape (SAP, country versions, IS solutions, partner,

customer, and so on)

instead of a two-level landscape (SAP, customer) as with the customer exits.

You can create definitions and implementations of business add-ins at any level of the system landscape.

To unify enhancements of the SAP Standard you can migrate customer exits to business add-ins.

http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm

*****************

In order to find out the user exits for any tcode,

1. get the developement class of the tcode from SE93.

2. Now goto transaction SMOD and press F4,

3. give in the Deve class in the dev class and Press ENTER

this will show u the exits for any tcode.

or execute this report

http://www.erpgenie.com/sap/abap/code/abap26.htm

which gives the list of exits for a tcode

http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm

For information on Exits, check these links

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.sapgenie.com/abap/code/abap26.htm

http://www.sap-img.com/abap/what-is-user-exits.htm

http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction

http://www.easymarketplace.de/userexit.php

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

http://www.sappoint.com/abap/userexit.pdfUser-Exit

Regards

Reshma

Former Member
0 Kudos

Hi Maheshkumar,

Check this info.

User exit - A user exit is a three character code that instructs the system to access a program during system processing.

SXX: S is for standard exits that are delivered by SAP. XX represents the 2-digit exit number.

UXX: U is for user exits that are defined by the user. XX represents the 2-digit exit number

Customer exit - The R/3 enhancement concept allows you to add your own functionality to SAP’s standard business applications without having to modify the original applications. SAP creates customer exits for specific programs, screens, and menus within standard R/3 applications. These exits do not contain any functionality. Instead, the customer exits act as hooks. You can hang your own add-on functionality onto these hooks.

User Exits : -

__________

1. User exits are routines which SAP allows you to add in additional customized programs process without affecting the standard SAP programs. SAP user exits are usually declared as a form routine :-

form userexit_xxxxx

........................

endform.

2. No need to create project in CMOD/SMOD.

3. Won't be automatically transported during version upgrade.

Also check these links.

User Exits

www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

www.sap-img.com/ab038.htm

www.planetsap.com/userexit_main_page.htm

1. Learn user exits :

http://www.sapgenie.com/links/abap.htm

2. finding user exits :

http://www.sapgenie.com/abap/code/abap26.htm

3. A short tutorial on user exits :

http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

4. Introduction to user exits with examples :

http://www.sap-img.com/abap/what-is-user-exits.htm

5. Difference between BADI and user exits :

http://www.sap-img.com/abap/ difference-between-badi-and-user-exits.htm

FOR EXAMPLE CHECK...

www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

Hope this resolves your query.

<b>Reward all the helpful answers.</b>

Regards