04-01-2009 7:24 AM
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
04-01-2009 8:35 AM
I am unable to find this spot in SE18, can you please let us know how to navigate to this.
04-01-2009 8:39 AM
hi
Got to SPRO, take personnel Management -> Employee Interaction Center -> Interaction Center Web-Client ->Application Functions -> Activity ->BADI: Save an activity
Bhavna
04-06-2009 1:28 PM
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
06-15-2011 10:07 AM