Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User exit

Former Member
0 Likes
810

Hi All,

I have one small silly clarification can any explain me the below.

Recently i have written a user exit for sales order in mv45afzz. Then what is the use of SMOD and CMOD then how it is liked to the exit mv45afzz, then what is customer exit and user exit.

I am very much confused by all this

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
753

Hi,

User Exit and Customer exit are two different things. User exits are basically for writing routines and extensively used in SD module. There is no standard static defined call to them, there call depends on the customising. where else customer exit are implemented through SMOD /CMOD, and have static call in the standard pogram.

Hope this solves ur confusion.

BR,

Prashant Singhal.

6 REPLIES 6
Read only

Former Member
0 Likes
754

Hi,

User Exit and Customer exit are two different things. User exits are basically for writing routines and extensively used in SD module. There is no standard static defined call to them, there call depends on the customising. where else customer exit are implemented through SMOD /CMOD, and have static call in the standard pogram.

Hope this solves ur confusion.

BR,

Prashant Singhal.

Read only

Former Member
0 Likes
753

Hi ..

in SMOD you can find all the standard SAP UserExits.

but in CMOD is for Customizing the standard UserExits by assigning to a Project.

if u dont what to know what is the include ? and where we hv to write it .. all we can find through this SMOD and CMOD. (but it is functional JOB). once you find the user exit(Z-include ) you can write your code directly in that.

all the best..

Thanks,

GSANA

Read only

Former Member
0 Likes
753

Hi,

For User Exits we hav two T.code.

SMOD : this transaction code is used to find enhancement numbers for our reqirement,and under enhancement number we hav function module for function module exit,and menu exit etc....

CMOD: This t.code is used to assign ur enhancement number to projet ,in this u assign ur enhancement number to this project ,and under components u write ur code for ur require exit...

then Activate the project . then only it will show ur user exit in ur T.code....

Read only

GauthamV
Active Contributor
0 Likes
753

hi,

you doesn't require any CMOD project for it just

write your logic and activate.

Read only

Former Member
0 Likes
753

Uesr exit are exit in SD module so for that there no need of SMOD/CMOD just write your logic and activate at you can find all the routine from t-c0de VOFM .Customer exit you need SMOD/COMD if you find out any customer exit for ant standard transaction search the string CALL CUSTOMER_FUNCTION in the program and you will see customer exit...

Read only

Former Member
0 Likes
753

Hi all,

Tks for all ur valuable answers.

Regards,

DVNS