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

Explict Enhncement : Enhancement Framework

Former Member
0 Likes
1,516

Hi,

I am working with WAS 7.0 .

Is it <b>access key</b> required for the <b>Explicit Enhancement</b> to enhance standard Function Module or Prog ?

How can I assign <b>Switches</b> to Enhancement Implemention ( Enhancement-Point)

Thanks & Regards,

Sachin

Hi,

I am working with WAS 7.0 .

Is it <b>access key</b> required for the <b>Explicit Enhancement</b> to enhance standard Function Module or Prog ?

How can I assign <b>Switches</b> to Enhancement Implemention ( Enhancement-Point)

Thanks & Regards,

Sachin

12 REPLIES 12
Read only

former_member183804
Active Contributor
0 Likes
1,470

Hello Sachin,

that sounds like more advanced stuff not available with 7.00. If I am right you will hardly get answers in this forum.

Regards,

Klaus

Read only

0 Likes
1,470

Hi Klaus,

Yes, You are right I am not getting response for mine query anywhere in community .But it’s crux of the Enhancement framework.

Thanks & Regards,

Sachin S M

Read only

0 Likes
1,470

If you have access the SAP internal resources you may try the newsgroup sap.devel.langu.abap.

Regards,

Klaus

Read only

0 Likes
1,470

Hi Klaus,

I don't have access of it .Still my question is open ..

Looking forward for response .

Thanks,

Sachin S M

Read only

0 Likes
1,470

hi ,

for Explict Enhncement u dont require any access key .

with this u can add parameters to F.M interfaces .

u can make chnages to F.M ONLY at start and end of F.M

thanks,

sridhar

Read only

0 Likes
1,470

HI sridhar,

Thanks for reply.But you are talking about Implicit Enhancement that I already did .

My concern for Creating Enhancement Spot in source code that can be done by only <b>Explicit Enhancement</b> .

Regards,

Sachin S M

Read only

Former Member
0 Likes
1,470

Hi,

Is there any suggestion for this issue?

If I use access key for Explicit Enhancement in SAP object SAP won’t support it further than how it will be different from normal change from earlier methodology.

Looking forward for your responses.

Thanks & Regards,

Sachin S M

Read only

0 Likes
1,470

Hi,

whenever you implement an Enhancement Option (Point/Section) Explict/Implicit you create or use your own Enhancement Implemenation object. You never need a access key for you own objects as long as you use your own (customer) namespace.

Regards

Michael

Read only

0 Likes
1,470

Hi Michael ,

But for creating Explicit Enhancement point or Spot we need to go in change mode in program .For this access key required .

For implementation access key not required .

Regards,

Sachin S M

Read only

0 Likes
1,470

Hello Sachin S M,

yes that's true.

Try to use existing Enhancement-Points/Sections first. If you don't find a matching Point/Section, try implicit Enhancement Points (You have to display them by selecting 'Show Implicit Enhancement Options' From 'Edit -> Enhancement Operations' menu.

In some cases you may be able to use an implicit point by rewriting your code. E.g. you want to change something inside an existing loop so why don't copy the whole loop inside an enhancement at the end of the form routine? In some cases that may work, but it is definitely slower.

Asking SAP for creating a Point or a BAdI may be also an option.

If you can't find a solution you have to use modification as a last resort.

You can create an Enhancement-Point/Section in that modification and implement it or you can directly modify the coding. The creation of a Point/Section has the advantage that the modification is smaller. For modifications you need a access key as usual.

Regards

Michael

Read only

0 Likes
1,470

Hello Michael,

I am facing a similar issue currently in enhancement.

In IW31 when control key is external services and when subcontraacting checkbox is checked in operation tab, auto PR is generated with item cat 'D' but I want with item cat L.

For this, I need to make changes in the function module CO_ZF_FILL_EBAN_FROM_AFVGD. (line 520). Now the enhancement-point which are available in the code are not at the exact point. As per my understanding enhacement implementation can be done only after enhancement-point defination.

I think here I will have to create a new enhancement-point just after the standard code. But In order to create a new enhancement-point I need access key. I would like to know is it fine to create a new enhancement-point (instead of direct changing the code) to suit customer requirement? is this a good practice?

Regards,

Anup

Read only

Former Member
0 Likes
1,470

Hi Sachin,

You don't need any access key for explicit enhancement in standard sap.

When you create a implementation of the enhancement spot including say BADI, goto the method of the class, which you want to modify.

There in the method, click on <i><b>enhance</b></i> icon from the applicaiton toolbar and not the <i><b>change</b></i> one.

After that, place the cursor on the method, which you want to modify and right click. From the <i><b>context menu</b></i>, select <i><b>Implementation->Create</b></i>.

It will create a slot for you to add your code.

Hope this solves your query.

PS If the answer solves your query, plz close the thread by rewarding each reply.

Regards

Message was edited by:

Sapna Modi