‎2006 Nov 08 6:16 AM
hi
in smod i created a included program in the user exit "EXIT_SAPLCOZF_001" under the enhancement "COZF0001".
Now for this include prg to be executed what i have to do?
whether i have to create a project in CMOD?
If so how does the transaction<u> (,while executing, )</u>recoginizes my project(my include prg).
please help me in this.
‎2006 Nov 08 6:23 AM
Hi Kiran
1. Create project via CMOD.
2. Assign enhancement: COZF0001
3. Go to Components.
4. Select component "EXIT_SAPLCOZF_001" and use menupath: Project -> Activate.
Above steps makes entries in few tables which identifies that code that the exit is active and then processes accordingly.
Kind Regards
Eswar
‎2006 Nov 08 6:30 AM
hi eswar,
if i create a project(at present i dont know the name to assign and the package to use)
so if i store under some temporary name and temporary package whether it will execute or not.
or without creating the project simply activating
in smod itself what will happend whether the include will execute and what happens at transportation time.
‎2006 Nov 08 6:25 AM
hi
good
go through these links, which ll give you brief idea about the CMOD and SMOD
http://help.sap.com/saphelp_bw21c/helpdata/en/f1/0a56f5e09411d2acb90000e829fbfe/content.htm
thanks
mrutyun^
‎2006 Nov 08 6:25 AM
Hi Kiran,
To make your Exit work you need to create a project in CMOD. Actually you should have implemented the program or your in this way but still its no ta problem.
Once done with the code activate the exit (Function or screen whatever).
The transaction when gets executed calls he User Exit using the statement 'CALL CUSTOM-FUNCTION '001''.
Then your exit gets triggered and works.
To check whether your exit works just put a soft breakpoint(to avoid going to debug mode for all users) i.e., BREAK<your User ID>. Then if you have chosen the correct exit and if it is active then it will stop or go to debug mode and you can check your code.
Hope this should have helped you.
Thanks,
Prashanth
‎2006 Nov 08 6:30 AM
Hi Kiran,
When you create a project u add the enhancement which you created and with the enhancement components When you activate the exit ur exit is ready for execution .When you set a break point in ur exit ,it starts working and here it identify ur project based on ur exit
Please reward if useful
‎2006 Nov 08 7:17 AM
hi
if i create a project(at present i dont know the name to assign and the package to use)
so if i store under some temporary name and temporary package whether it will execute or not.
or without creating the project simply activating
in smod itself what will happen whether the include will execute and what happens at transportation time.
====================
how to reward points? in this site.
thx
‎2006 Nov 08 7:58 AM
HI Kiran
For the time being, you can create a project as a local object, assign the enhcement and activate the same. Later when you need to move to Quality and Production servers you can change the package via CMOD -> Menupath: Goto->Object Directory Entry.
Seems the point system is down now, maybe you can try later to close the thread if your queries are answered by awarding points.
Kind Regards
Eswar
‎2006 Nov 08 8:06 AM
Hi kiran,
1. so if i store under some temporary name and temporary package whether it will execute or not
YES, it will execute, the package name or temporary package does not matter.
(But, we have to ACTIVATE the project)
2.
or without creating the project simply activating
in smod itself
In SMOD we cannot activate anything.
First we have to GROUP some enhancement
under some Project name (thru CMOD)
and we have ACTIVATE in CMOD (not smod)
3. what happens at transportation time.
The project gets transported,
along with the include.
regards,
amit m.