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: 

Enhancement spot implementation - HREIC_ACTIVITY_BEFORE_SAVE

Former Member
0 Kudos

Hi

I need to implement this enhancement spot - 'HREIC_ACTIVITY_BEFORE_SAVE' and change the method 'CHECK_ATTRIBUTES' in it.

Whenever I click to implement it asks for the enhancement name which I give, but then it asks for a Class, I am giving some related classes to EIC, but all say that the interface is not a part of this class, I also gave a Z class, but whenever I go to change the method, it asks for an access key.

I have not worked on enhancement spots yet...can anyone help.

Thanks

Bhavna

4 REPLIES 4

Former Member
0 Kudos

I am unable to find this spot in SE18, can you please let us know how to navigate to this.

0 Kudos

hi

Got to SPRO, take personnel Management -> Employee Interaction Center -> Interaction Center Web-Client ->Application Functions -> Activity ->BADI: Save an activity

Bhavna

Former Member
0 Kudos

Hi Bhavna,

What you need to do is specify the name of the "z" class for the enhancement spot to create. It will create the class, implementing the interface. You can specify for it to be saved in your "package" so that it can stay with all of your other objects.

But, if you want it to use an existing class, then you need to be sure your existing class implements the interfaces "IF_BADI_INTERFACE" and "IF_HREIC_ACTIVITY_BEFORE_SAVE".

When you say "it asks for an access key", is it asking for a developer key or for an object access key? If a developer key, that means you need to be set up still to develop in ABAP (a requirement for implementing your own BAdI). if an object access key, you are trying to edit an SAP delivered object which is not what you want to do. On the ECC 6.0 system I'm currently working with, there does not appear to be an SAP delivered implementation for this BAdI, just one I created earlier on in our EIC project.

Let me know if anything here helps. I can also send you some screen shots of how mine is configured.

Sincerely,

Glenn

Covington Creative, LLC

Former Member
0 Kudos

not required any more