Application Development 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: 

Procedure to create an Enhancement for Exit

Former Member
0 Kudos

Hi,

Someone kindly answer, procedure for creation of enhancement for exit..I am new to enhancement. In the CMOD tcode, after creating a project..it is asking for enhancement assignment...in which we have to give from f4 selected values..i wonder to create a new enhancement..then the following message comes out...

Diagnosis

You entered an enhancement that does not exist or that has already been migrated.

Procedure                                                               

Choose the F4 key after postioning your cursor on the appropriate field to display a list of pre-existing enhancements. If you enter the name of an enhancement that does not yet exist, you must create it first.

Kindly mention the procedure for creation...Thanks in advance...Rewards If helpful

Moderator message - Offering points is against the forum's Rules of Engagement. Please read the RoE before posting.

Message was edited by: Suhas Saha

7 REPLIES 7

former_member213275
Contributor
0 Kudos

<link farm removed>

Message was edited by: Suhas Saha

raymond_giuseppi
Active Contributor
0 Kudos

You don't have to create an enhancement (transaction SMOD) but use (transaction CMOD) an enhancement created by SAP. Are you confusing Enhancement (Customer Exits) and Enhancement (New Enhancement Framework) - Also check BC425 and use scn search tool or google on changing the standard SAP.

Regards,

Raymond

0 Kudos

Thanks for the information  ..but still my main question remains unanswered.. Is it possible to create a custom enhancement in sap or we can just able to use the already present enhancement in sap for various purposes..

0 Kudos

Hi Ratnakar,

Is it possible to create a custom enhancement in sap or we can just able to use the already present enhancement in sap for various purposes ?

We can't create our own enhancement in SMOD/CMOD(i.e SAP Standard program) but we can create Enhancement Spot/Point/Section & BADI in Z programs not in SAP standard program.

As you told we should you the already enhancement in sap for various purposes(i.e Customer Exits, BADI, User Exits).

Hope this will helpful for you

Regards,

Prasanna

0 Kudos

Hi Ratnakar,

     As per you concern, You can create your own Enhancement by using BADI, where you can create as per you requirement.The thing is BADI is developed based on Objected oriented language where you u can create ore use the predefined instances to incorporate your logic in that, for that you need to have a basic knowledge of java porgramming,

     please go through the below links.These will help you in understanding the creation of custom enhancement in ABAP.

SDN links.

https://www.sdn.sap.com/irj/sdn/nw-development?rid=/webcontent/uuid/2342e1f3-0b01-0010-a186-fdd40488...

help.sap links

http://help.sap.com/saphelp_nw04s/helpdata/en/91/f1e540f8648431e10000000a1550b0/frameset.htm

Wiki

https://wiki.sdn.sap.com/wiki/display/ABAP/ThenewEnhancementFrameworkandthenewkernel-basedBAdI

Thanks & Regard,

Sumanth.pelluru.

0 Kudos

You could add an enhancement, but will require either to use enhancement framework or sscr key to add the exits/subscreen/menus in the standard report, then create your enhancement with SMOD and attach component. So not much interest in a standard report, and in a customer one better use BAdI concept.

Regards,

Raymond

vijay_hariharan
Contributor
0 Kudos

Hi Ratnakar,

Is it possible to create a custom enhancement in sap or we can just able to use the already present enhancement in sap for various purposes..

Yes it is possible to create custom enhancements in SAP. But you would not see them in CMOD. Below are some threads that would lend clarity to how Custom Enhacements can be created. As far as poosible it is recommended to use SAP provided enhancements since in case of Custom enhancements there would be no support during system upgrade(custom enhancements might be overwritten)

http://scn.sap.com/thread/3283926

http://scn.sap.com/thread/1053535

Hope this helps.

Regards,

Vijay